ADP Placement Paper January 2012:

Eighty Five children went to amusement park where they could ride on merry ‚Äďgo-round roller coaster and Ferris wheel .It was known that 20 of them have took all three rides and 55 of them have taken at least two of the three rides. Each ride cost Rs.1 and the total receipt of the amusement park was Rs.145.

1) How many children did not try any of the rides. ?

A) 5 B) 10 C) 15 D) 20

Ans. 15.

2) How many children took exactly one ride?

A) 5 B) 10 C) 15 D) 20

Ans. 15

3) Four cities are connected by a road network as shown in the figure. In how many ways can you start from any city and come back to it without travelling on the same road more than once ?

A) 8
B) 12
C) 16
D) 20

Ans 12.

Directions for question nos 4-5:-

A, B, and C are three numbers, Let
@(A, B)= Average of A and B
*(A, B)=Product of A and B
/(A, B)=A divided by B

4) If A=2 and B=4 the value of @( / (*(A,B),B),A) would be
A) 2
B) 4
C) 6
D) 16

Ans. 2

5) Sum of A and B is given by

A) *(@(A, B), 2)
B) /(@(A,B),2)
C) @(*(A,B),2)
D) @(/(A,B),2

Ans. A.

6) Snehís age is 1/6th of her fatherís age. Snehís fatherís age will be twice of Vimalís age after 10 years. If Vimalís eighth birthday was celebrated two years before, what is Snehís present age?

a) 24 years b) 30 years c) 6 2/3 years d) None of these

7) Three years ago the average of A and B was 18 Years. With C joining them now, the average becomes 22 years. How old is C now?

a) 24 years b) 27 years c) 28 years d) 30 years

8) A train traveling at 42 kms/ hr passes a cyclist going in the same direction in 9 secs. If the cyclist had been going in the opposite direction, the train would have passed him in 5 secs. Find the length of the train.

a) 75 meters b) 60 meters c) 90 meters d) 80 meters

9) What is the output of the program

void main()
char s[]="oracle is the best";
char t[40];
char *ss,*tt;
// A. oracle is the best
// B. Core dump
// c. Error Message
// D. Goes into infinite loop
Ans: B. core dump (Garbage value)

10. What is the output of the program

void main()
int j[10]={9,7,5,3,1,2,4,6,9};
int i=1;
printf("%d ",--j[i++]);
// A. 6,2,1,5
// B. 6,2,1,5,7
// c. Error Message
// D. core dump

Ans: A. 6,2,1,5