You are on page 1of 3

MSC PLACEMENTS 2k12

(Standard Format)

Date: 20-11-2014

1. A train can travel 50% faster than a car. Both start from point A at the same time and
reach point B 75 kms away from A at the same time. On the way, however, the train lost
about 12.5 minutes while stopping at the stations. The speed of the car is:

A.

100 kmph

B.

110 kmph

C.

120 kmph

D.

130 kmph

2. Excluding stoppages, the speed of a bus is 54 kmph and including stoppages, it is 45 kmph. For
how many minutes does the bus stop per hour?
A.

B.

10

C.

12

D.

20

3. An observer 1.6 m tall is 203 away from a tower. The angle of elevation from his eye to the top
of the tower is 30. The heights of the tower is:
A.

21.6 m

B.

23.2 m

C.

24.72 m

D.

None of these

4. What least number must be added to 1056, so that the sum is completely divisible by 23 ?
A.

B.

C.

18

D.

21

E.

None of these

5.(9354218956161 x 625) = ?
A.

5846486847600625

B.

5846386847600625

C.

5846586847600625

D.

5846386857600625

6. Seats for Mathematics, Physics and Biology in a school are in the ratio 5 : 7 : 8. There is a
proposal to increase these seats by 40%, 50% and 75% respectively. What will be the ratio of
increased seats?
A.

2:3:4

B.

6:7:8

C.

6:8:9

D.

None of these

7. In a bag, there are coins of 25 p, 10 p and 5 p in the ratio of 1 : 2 : 3. If there is Rs. 30 in all,
how many 5 p coins are there?
A.

50

B.

100

C.

150

D.

200

8. At what time between 7 and 8 o'clock will the hands of a clock be in the same straight line but,
not together?
A.

5 min. past 7

C.

3
11

min. past 7

B.

D.

2
11
5
11

min. past 7

min. past 7

9.Two students appeared at an examination. One of them secured 9 marks more than the other
and his marks was 56% of the sum of their marks. The marks obtained by them are:
A.

39, 30

B.

41, 32

C.

42, 33

D.

43, 34

10. consider this array


int a[5] = {1, 2, 3, 4, 5};
is there any difference in using a+1 and &a+1?
If so where does these two statements points to in the array?
11. write the output of the program
main() {
struct emp

char name[20];
int id;
float salary;};
struct emp e = {"alex"};
printf("%s\n%d\n%f", e.name, e.id, e.salary);}
12.predict the output of this program
int main() {
float a, b, c;
a = 1.345f; b = 1.123f;
c = a + b;
if (c == 2.468)
printf("They are equal.\n");
else

printf("They are not equal!\n);}


13. predict the output of the following program:
#define SQR(x) (x * x)
int main()

int a, b=3;
a = SQR(b + 2);
printf("%d", a);}
14. How many times the printf be executed?
#define LOOP while(1);
int main()

LOOP
printf("Hello world!");}
15. Find the length of the array int a[] = {1,2,3,4,5,6,7,8};
Can u find the length of int *a = {1,2,3,4,5,6,7,8} ? If not give reasons.

16. Given a string, find the best way to remove spaces from it.
input ==> a a b c d

output ==> aabcde all spaces are removed..


best way to do?
17. given two unsorted integer arrays determine if one array is a permutation of the other.
Give an algo with runtime O(n)
18. Given an array containing only 0s and 1s, find the largest subarray which contain equal no of
0s and 1s.

19. Given a node print all the ancestors of the node.


H
20. How will u print minimum and maximum sum of paths in a BST and in a Binary Tree.

You might also like