Wipro Technical Interview Questions

Wipro Technical Interview Questions and Answers for Freshers (2022)

Find Wipro Technical Interview Questions asked to freshers in the Wipro interview, on this page.

Page Highlights:-

  • Wipro Recruitment Pattern
  • Wipro Technical Interview Questions
wipro technical interview questions pdf

Wipro Recruitment Process

Wipro conducts two rounds in its recruitment process:-

  • Online Assessment
    • Aptitude Test
    • Coding Test
  • Interview
    • Technical Interview
    • HR Interview

You can find more about Wipro hiring patterns on this page:- Wipro Recruitment Process

Wipro Technical Interview Questions

Question 1:- What is the use of an IP address?

Answer:-

The use of IP addresses is to manage the connection between devices that are exchanging data over the internet.

Question 2:- What is the difference between primary key constraint and unique key constraint?

Answer:-

You can have multiple unique constraints in a table but only one primary constraint. Unique constraints allow for one null value but primary constraint does not allow any null value.

Question 3:- What Is the difference between Interface and Abstract Class?

Answer:-

InterfaceAbstract Class
Only abstract methods.Both abstract and non-abstract methods.
Cannot provide an implementation of abstract classes.Can provide implementation of interfaces.
Interface class can only have public members.Abstract class an have private and protected members.

Question 4:- What is a program counter?

Answer:-

A program counter is a register that contains the addresses of the instructions being executed. Every time an instruction is executed the program counter increases by one. When the system is restarted or reset the value returns to zero.

Question 5:- What is a Null object?

Answer:-

An object which has no referenced value is known as a Null object.

Question 6:- What is garbage collection in JAVA?

Answer:-

Garbage collection is an automatic process where the objects no longer in use are deleted from the heap memory.

Question 7:- What are literals in C++?

Answer:-

Literals are a data type in C++ used to indicate fixed values. Different types of literal:-

  • Integers
  • Floating Point literals
  • Characters
  • Escape Sequence
  • String Literals

Question 8:- What is merge sort? What is its time complexity?

Answer:-

Merge sort is a sorting algorithm. It follows the divide and conquer approach where the array is divided into equal halves and then combined in a sorted manner. The unsorted list is divided into N sub-lists, each having one element.

Time Complexity:- Θ(n Log n)

Read More:- Merge Sort in C Programming

Question 9:- Difference between calloc and malloc.

Answer:-

calloc()malloc()
Assigns multiple blocks of memory to a single variable.Creates a single block of memory of a specific size.
It takes only one argument.It takes two arguments.
It is slower and has a low time efficiency.It is faster and has a high time efficiency.

Question 10:- What is the difference between RAM and ROM?

Answer:-

RAMROM
It stands for Random Access Memory.It stands for Read Only Memory.
Data in RAM can be altered.Data in ROM cannot be altered.
It is high speed memoryIt is comparatively slow.
Higher capacity.Lower capacity.
The data of RAM gets erased when the system is turned off.Data on ROM is permanent.

Question 11:- How will you sort the elements of an array in ascending or descending order?

Question 12:- Write a program to check whether a number is a palindrome or not.

Question 13:- How to remove duplicate rows in SQL?

Answer:-

SELECT [Name],
[Age],
[Gender],
COUNT(*) AS CNT
FROM [mydata].[dbo].[Employees]
GROUP BY [Name],
[Age],
[Gender]
HAVING COUNT(*) > 1;

Question 14:- What is stored procedure? What are its advantages?

Answer:-

A stored procedure in SQL stores a query such that it can be reused simply by calling it.

Advantages:-

  • It is easy to maintain as multiple queries can be stored into one stored procedure.
  • The stored procedure is reusable.

Question 15:- What is a binary search tree?

Answer:-

A binary search tree is a data structure tree that fulfills three conditions:-

  • Left subtree contains all the nodes containing the values less than the root nodes.
  • Right subtree contains all the nodes containing the values more than the root nodes.
  • Each of the subtrees must be a binary tree itself.

Read More:- Binary Search Tree

Question 16:- Differentiate between arrays and linked lists.

Answer:-

ArraysLinked Lists
Same type of data is grouped together.Collection of data objects known as nodes where node has two parts:- data and address.
Elements in an array are independent of each other.Elements in a linked list are dependent on each other
.
It stores elements in a contiguous memory location.It stores elements randomly.

Question 7:- How is a pointer declared?

Answer:-

data_type *var_name;
*var_name=<&any_var>;
Example:-
int k=5;
int *a;//declaring pointer
a=&k;//initialising pointer

Question 18:- Write a program to swap two numbers without using a third variable.

Question 19:- Write a program to reverse an array.

Question 20:- Write a program to find the circular rotation of an array by K-positions.