Let the present ages of Arun and Deepak be 4x years and 3x years respectively. Then, 4x + 6 = 26 4x = 20 x = 5. Deepak's age = 3x = 15 years.
Q. No. :
2
Question :
Train X starts from A towards B which is 180 Kms apart. At same time, train Y start from B towards A. Train X travels at speed of 70 kmph and Y travels at 50 kmph. While X does not stop anywhere on the way, the train Y stops at station C in between at 60km from B for 15 minutes. At what distance from A they would meet
Let the meet at a distance x km from A.
So x/70 = (180-x)/50 + 1/4
or, 100x/70 = 360-2x+25
or, 10x = 2520 - 14x + 175
or, 24x = 2695
or, x = 2695/24 = 112.3km
Q. No. :
3
Question :
All the pages of a book starting from page 1 are summed. One of the pages has been added twice, and the total thus obtained is 1000. Which is the page that has been added twice ?
We know that sum of first n natural number is= n(n+1)/2 As one number is added twice , let this number be x then n(n+1)/2 +x=1000 n(n+1)/2 <1000 WE have to calculate n such that n is maximum and n(n+1)/2<1000n2+ n-2000<0 we will get n=44For n=44Sum= 44*45/2=990Repeated number=1000-990=10
Q. No. :
4
Question :
A towel, when bleached, was found to have lost 20% of its length and 10% of its breadth. The percentage of decrease in area is:
Let original length = x and original breadth = y. Decrease in area = xy - (80*90xy) /(100*100)
= xy - 18xy/25 = 7 xy/25
Decrease % = 7 xy/25 * 1 * 100 % = 28%
Q. No. :
5
Question :
Father's age is five times his son's age.
Four years back father was 9 times older than his son. Find their present ages
A :
30yrs, 6yrs
B :
25yrs, 5yrs
C :
40yrs, 8yrs
D :
none of these
Answer: C
Q. No. :
6
Question :
The for loop
for(i=0;i<10;++i)
printf("%d",i&1);
prints
A :
0101010101
B :
0111111111
C :
0000000000
D :
1111111111
Answer: A
Q. No. :
7
Question :
A possible output of the following program fragment