In this article you will know about Wipro interview questions with answers and tips to crack Wipro – Guidelines – Wipro Technical & HR Interview

 

Coding Test:

1. What are command line arguments?

It is possible to pass some values from the command line to your C programs when they are executed. These values are called command line arguments.

The command line arguments are handled using main() function arguments where argc refers to the number of arguments passed, and argv[] is a pointer array which points to each argument passed to the program.

2. How to use command line arguments in programs?

Syntax: int main(int argc, char **argv[]) { /* … */ }

argc (ARGument Count) is int and stores number of command-line arguments passed by the user including the name of the program. So if we pass a value to a program, value of argc would be 2 (one for argument and one for program name)

The value of argc should be non-negative.

argv(ARGument Vector) is an array of character pointers listing all the arguments.

If argc is greater than zero,the array elements from argv[0] to argv[argc-1] will contain pointers to strings.

Argv[0] is the name of the program , After that till argv[argc-1] every element is command -line arguments.

For better understanding run this code on your linux machine.

// Name of program mainreturn.cpp

#include <iostream>

using namespace std;

int main(int argc, char** argv)

{

cout << “You have entered ” << argc

<< ” arguments:” << “\n”;

for (int i = 0; i < argc; ++i)

cout << argv[i] << “\n”;

return 0;

}

 

3. What are the programming languages allowed for Wipro coding test?

Programming language such as c, c++ and java are allowed in Wipro coding test

4. What is Functional programming?

Functional programming is a type of competitive programming test where you have to write only the function to perform the operation. Here the algorithm & time complexity are the two major factors to be considered. Hence need not write the whole program( i.e main function) only the function to perform the required operation is expected.

Technical Interview:

1.Memory management in C

The C programming language manages memory statically, automatically, or dynamically.

Static-duration variables are allocated in main memory, usually along with the executable code of the program, and persist for the lifetime of the program

Automatic-duration variables are allocated on the stack and come and go as functions are called and return

2.How can we delete Duplicate row in table?

SQL> delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name);

3. When do you use SQL Profiler?

SQL Profiler utility allows us to basically track connections to the SQL Server and also determine activities such as which SQL Scripts are running, failed jobs etc.

4. What is Program counter?

Program counter holds the address of either the first byte of the next instruction to be fetched for execution or the address of the next byte of a multi byte instruction, which has not been completely fetched. In both the cases it gets incremented automatically one by one as the instruction bytes get fetched. Also Program register keeps the address of the next instruction.

5. Can you give an example of Stored Procedure?

CREATE procedure – is a stored procedure, which is a saved collection of Transact-SQL statements that can take and return user-supplied parameters.

6. Benefits of Stored Procedures?

Reduced client/server traffic

Efficient reuse of code and programming abstraction

Enhanced security controls

7. Is XML case-sensitive?

XML is case sensitive when uppercase and lowercase characters are treated differently.

Element type names, Attribute names, Attribute values, All general and parameter entity names, and data content (text), are case-sensitive.

8. What is a Null object?

It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object.

9. What is the property of class?

A property is a member that provides access to an attribute of an object or a class. Examples of properties include the length of a string, the size of a font, the caption of a window, the name of a customer, and so on.

10. Does a class inherit the constructors of its super class?

A class does not inherit constructors from any of its super classes.

11.If a class is declared without any access modifiers, where may the class be accessed?

A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package

12.What do you mean by Stack unwinding?

It is a process during exception handling when the destructor is called for all local objects between the place where the exception was thrown and where it is caught.

13.Define precondition and post-condition to a member function.

Precondition: A condition that should return true when a member function is invoked. In order to use a function correctly a precondition should return true. If a precondition fails to hold, an operation will not take responsibility to perform any action of sensibility. For example, the interface invariants of stack class respond nothing about pushing even though the stack is already full. In this scenario, sinful () is a precondition for push operation.

Post-Condition: A condition that should return true before returning from an invoked function. In order to use a function correctly a post condition should return true. Taking a stack as an example, is empty () must necessarily be true after pushing the element into the stack when an element is pushed. The function is empty () is a post condition.

14. Swap two numbers without third variable ?

#include <stdio.h>

int main()

{

int x = 10, y = 5;

// Code to swap ‘x’ and ‘y’

x = x + y;  // x now becomes 15

y = x – y;  // y becomes 10

x = x – y;  // x becomes 5

printf(“After Swapping: x = %d, y = %d”, x, y);

return 0;

15. What is bigdata and hadoop?

Big data means really a big data, it is a collection of large datasets that cannot be processed using traditional computing techniques. Big data is not merely a data, rather it has become a complete subject, which involves various tools, technqiues and frameworks.

Hadoop is an open source framework from Apache and is used to store process and analyze data which are very huge in volume. Hadoop is written in Java and is not OLAP (online analytical processing). It is used for batch/offline processing.It is being used by Facebook, Yahoo, Google, Twitter, LinkedIn and many more. Moreover it can be scaled up just by adding nodes in the cluster.

 

Personal Interview:

1. Tell me about yourself

Describe yourself professionally, not personally

Consider your answer a one-minute commercial about you

State your skills and experience and how they relate to the position

2. How did you learn about our company?

By researching the organization’s web site, you will be able to articulate knowledge of the company

3. Describe a problem you solved in the classroom or at work and what you learned from this experience.

Behavioural questions are asked because your past experience can predict future behaviour

Always state the outcomes of your experiences – what did you learn?

4. Why should I consider you a strong applicant for this position?

Articulate how your skills relate to the position

5. Describe your weakness?

  • Recognize a deficient skill, not a character flaw
  • Choose something that will not affect your ability to do the job
  • Changing a weakness to a positive makes you stand out in a crowd

6. Why Wipro?

  • Goto company website and study their recent projects related to your background.
  • Contact your seniors and ask what is so special about the company.
  • Check how the company helps you achieve your career goals and how you can help the company grow
  • Don’t praise the company

7.Why should I hire you?

I carefully cross checked my skills verses the requirements of the posting for which I’m being interviewed by you.  I have full confidence that I will be a good fit if considered because I will be in a position to start working with the project teams quickly and do my best to deliver quality work once I’m given the job.

Before the Interview:

1. Visit the company’s website

  • Be able to articulate what you learned including your understanding of the mission and philosophy
  • Know what the organization offers including services and product lines
  • Employers expect you to know what the organization is and what it does and how that fits into your employment plans

2. Perfect Your Resume

  • Employers will only consider resumes and cover letters that are flawless in format, grammar, and spelling
  • Resumes should also be tailored to the specific job for which you have applied and should emphasize relevant work experience and academic qualifications

3. Professional dress requirements

  • Conservative dark suit (Men and women, tie for men)
  • Polished closed-toe dress shoes
  • Conservative hair style
  • Minimal make-up
  • No visible body piercing, tattoos

 

 

These are all the Guidelines – Wipro technical & Hr interview.

 

ALL THE BEST!