[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Placement Questions & Answers :: Wipro

91. void main()
{
int a[]={1,3,5,7};
printf("%d",&a[3]-&a[1]);
}

Answer: 2

Explanation:

&a[i] = &a + i;

Hence, &a[3] - &a[1] = (&a + 3) - (&a + 1) = 2

Workspace

Tags:

Wipro 

92. What data structures you should use for dictionary searching and it should be capable of doing spell check also ?

Answer: Hashing

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

93. The sum of the digits of a two digit number is 8. If the digits are reversed the number is decreased by 54. Find the number.

Answer: 71

Explanation:

x+y = 8 -----(1)
(10y+x) - (10x+y) = 54 => 9y-9x = 54
y-x = 6 -------(2)
By solving eq. (1) and (2)
y = 7 and x = 1

Workspace

Tags:

Wipro 

94. The average age of 30 students is 9 years .If the age of their teacher is included ,it becomes 10 years . The age of the teacher (in years ) is :

Answer: 40

Explanation:

Given 30 students avg. age = 9 years.
So total age of 30 students = 9*30 = 270 years.
Teacher's age included.
So, avg. of 30 students + one teacher = 10 years.
=> Total age of 30 students + one teacher = 10 * 31 = 310 years.
Therefore age of teacher = (310-270) = 40 years.

Workspace

Tags:

Wipro 

95. In a certain school, 20% of the students are below 8 years of age. The number of students above 8 years of age is (2/3) of the no. of students of 8 years age which is 96. what is the total number of students in the school?

Answer: 200

Explanation:

Lets assume total student = x
0.2x+(2/3)*96+96=x
x=200

Workspace

Tags:

Wipro 

96. The average age of 24 boys and the teacher is 15 years. When the teacher's age is excluded, the average decreases by 1. What is the age of the teacher ?

Answer: 39 years

Explanation:

Given one teacher + 24 students avg. age = 15 years.
So total age of one teacher + 24 students = 15*25 = 375 years.
Teacher's excluded
So, 24 students avg. age = 14 years.
=> Total age of 24 students = 24 * 14 = 336 years.
Therefore age of teacher = (375-336) = 39 years.

Workspace

Tags:

Wipro 

97. Sixteen men can complete a work in twelve days. Twenty four children can complete the same work in 18 days. 12 men and 8 children started working and after eight days three more children joined them. How many days will they now take to complete the remaining work?

Answer: 4 days

Explanation:

Lets assume Men as "M" and children as "C" .
So as per the Question
16M*12 = 24C*18
=> M/C=9/4
Total work= 16*9*12
Lets assume days required to complete remaining work = x days.
(12*9+8*4)*8+(12*9+11*4)*x=16*9*12
x=608//152 = 4 days.

Workspace

Tags:

Wipro 

98. The average of the first five prime numbers greater than 20 is:

Answer: 32.2

Explanation:

Here is no explanation for this answer

Workspace

Tags:

Wipro 

99. Two-third of one-seventh of a number is 87.5% of 240. Whar is the number?

Answer: 2205

Explanation:

Lets assume no. = x
2/3 * 1/7 * x = 87.5*240/100
By solving
x= 2205

Workspace

Tags:

Wipro 

100. A vessel is full of a mixture of spirit and water in which there is found to be 17% of spirit by measure. Ten litres are drawn off and the vessel is filled up with water. The proportion of spirit is now found to be 15 1/9%. How much does the vessel hold?

Answer: 90 litres

Explanation:

In 10L of water drawn amount of spirit present is = (17/100)*10 =1.7 L .
Lets assume x is the capacity of the vessel
from 17% amount of spirit comes down to 15 1/9% .
The difference between this percentage is (17% - 15 1/9%) = 17/9 % x
17/9 % x =1.7 litres .
=> x = 90 L

Workspace

Tags:

Wipro