CMC Campus Placement Paper (Aptitude)

There are six steps that lead from the first to the second floor. No two people can be on the same step

Mr. A is two steps below Mr. C

Mr. B is a step next to Mr. D

Only one step is vacant ( No one standing on that step )

Denote the first step by step 1 and second step by step 2 etc.

1. If Mr. A is on the first step, Which of the following is true?

(a) Mr. B is on the second step

(b) Mr. C is on the fourth step.

(c) A person Mr. E, could be on the third step

(d) Mr. D is on higher step than Mr. C.

Ans: (d)

2. If Mr. E was on the third step & Mr. B was on a higher step than Mr. E which step must be vacant

(a) step 1

(b) step 2

(c) step 4

(d) step 5

(e) step 6

Ans: (a)

3. If Mr. B was on step 1, which step could A be on?

(a) 2&e only

(b) 3&5 only

(c) 3&4 only

(d) 4&5 only

(e) 2&4 only

Ans: (c)

4. If there were two steps between the step that A was standing and the step that B was standing on, and A was on a higher step than D , A must be on step

(a) 2

(b) 3

(c) 4

(d) 5

(e) 6

Ans: (c)

5. Which of the following is false

i. B&D can be both on odd-numbered steps in one configuration

ii. In a particular configuration A and C must either both an odd numbered steps or both an even-numbered steps

iii. A person E can be on a step next to the vacant step.

(a) i only

(b) ii only

(c) iii only

(d) both i and iii

Ans: (c)

Directions for questions 6-9: The questions are based on the information given below

Six swimmers A, B, C, D, E, F compete in a race. The outcome is as follows.

i. B does not win.

ii. Only two swimmers separate E & D

iii. A is behind D & E

iv. B is ahead of E , with one swimmer intervening

v. F is a head of D

6. Who stood fifth in the race ?

(a) A

(b) B

(c) C

(d) D

(e) E

Ans: (e)

7. How many swimmers separate A and F ?

(a) 1

(b) 2

(c) 3

(d) 4

(e) cannot be determined

Ans: (d)

8. The swimmer between C & E is

(a) none

(b) F

(c) D

(d) B

(e) A

Ans: (a)

9. If the end of the race, swimmer D is disqualified by the Judges then swimmer B finishes in which place

(a) 1

(b) 2

(c) 3

(d) 4

(e) 5

Ans: (b)

Directions for questions 10-14: The questions are based on the information given below

Five houses lettered A,B,C,D, & E are built in a row next to each other. The houses are lined up in the order A,B,C,D, & E. Each of the five houses has a colored chimney. The roof and chimney of each housemust be painted as follows.

i. The roof must be painted either green,red ,or yellow.

ii. The chimney must be painted either white, black, or red.

iii. No house may have the same color chimney as the color of roof.

iv. No house may use any of the same colors that the every next house uses.

v. House E has a green roof.

vi. House B has a red roof and a black chimney

10. Which of the following is true ?

(a) At least two houses have black chimney.

(b) At least two houses have red roofs.

(c) At least two houses have white chimneys

(d) At least two houses have green roofs

(e) At least two houses have yellow roofs

Ans: (c)

11. Which must be false ?

(a) House A has a yellow roof

(b) House A & C have different color chimney

(c) House D has a black chimney

(d) House E has a white chimney

(e) House B&D have the same color roof.

Ans: (b)

12. If house C has a yellow roof. Which must be true.

(a) House E has a white chimney

(b) House E has a black chimney

(c) House E has a red chimney

(d) House D has a red chimney

(e) House C has a black chimney

Ans: (a)

13. Which possible combinations of roof & chimney can house

I. A red roof 7 a black chimney

II. A yellow roof & a red chimney

III. A yellow roof & a black chimney

(a) I only

(b) II only

(c) III only

(d) I & II only

(e) I&II&III

Ans: (e)

14. What is the maximum total number of green roofs for houses

(a) 1

(b) 2

(c) 3

(d) 4

(e) 5

Note: The questions from 15-27 are multiple choice in the paper

15. There are 5 red shoes, 4 green shoes. If one draw randomly a shoe what is the probability of getting a red shoe

Ans 5c1/ 9c1

16. What is the selling price of a car? If the cost of the car is Rs.60 and a profit of 10% over selling price is earned

Ans: Rs 66/-

17. 1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen.

Ans: Cannot be determined.

18. The price of a product is reduced by 30% . By what percentage should it be increased to make it 100%

Ans: 42.857%

19. There is a square of side 6cm . A circle is inscribed inside the square. Find the ratio of the area of circle to square.

Ans. 11/14

20. There are two candles of equal lengths and of different thickness. The thicker one lasts of six hours. The thinner 2 hours less than the thicker one. Ramesh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. How long ago did Ramesh light the two candles .

Ans: 3 hours.

21. If M/N = 6/5,then 3M+2N = ?

22. If p/q = 5/4 , then 2p+q= ?

23. If PQRST is a parallelogram what it the ratio of triangle PQS & parallelogram PQRST .

Ans: 1:2

24. The cost of an item is Rs 12.60. If the profit is 10% over selling price what is the selling price ?

Ans: Rs 13.86/-

25. There are 6 red shoes & 4 green shoes . If two of red shoes are drawn what is the probability of getting red shoes

Ans: 6c2/10c2

26. To 15 lts of water containing 20% alcohol, we add 5 lts of pure water. What is % alcohol.

Ans : 15%

27. A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that worker ?

Ans : 57.50

28. If the value of x lies between 0 & 1 which of the following is the largest?

(a) x

(b) x2

(c) -x

(d) 1/x

Ans : (d)

CMC Placement Paper (Technical Section)

CMC Technical Questions

1. what is NFS?

Ans: Networking File System.

2. what is BIOS?

Ans: Basic Input Output System.

3. What is RPC?

Ans: Remote procedure Call.

4. Find shortest Path (graph has given).

Ans:. 45

5. What is the output ?

main()

{

int i=5;

if(i>5);

{

i=100;

printf(" %d ",i);

}

}

Ans:. 100

6. On huffman code one question has been given.

7. No. of comparisions ina merge sort?

Ans:. (2n+1)

8. Sorting of N elements how many comparisons are required?

a.n-1.

9. One question on selection sort (to find third pass of give list)

10. What is a daemon process?

11. What is the use of fork system call?

Ans. To create child processes.

12. In CPU scheduling , Non preemptive or pre emptive which one is best?

Ans. Both have negative as well as positive.

13. DBMS queries (two questions )

14. If two entities have m, n elements. what is the result of cross product?

Ans.mn

15. For every table, IS foreign key mandatory ?

Ans. NO

17. One question on system maintenance.

18. He has given base address of an array . find the address of given element.

19. One question on calling main in main.

20. main()

{

int x=32;

x=x>>6;

printf("%d",x);

}

Ans. 0

21. main()

{

int x=5;

x=x----1;

printf("%d",x);

}

Ans.error.

22. main()

{

int x=0xff;

if(x<<4>>12)

printf(" ...... ");

else

printf(" .... ");

}

23. Find number of bytes of a given structure.

24. On a static variable 5 question have been given.

CMC Placement Paper

1. Unix OS is a

a) multi-taks

c)multiple processe

d)a&c

2 The TV Satilite Transmission is a

a) Half-Duplex b) Full Duplex c) one-way duplex d)non of the above

3 Which among is the OOPL

a) c

b) java

c) Cobol

d) PAscal

4 what will be the output of

main()

{

int a=5,c;

int ptr;

ptr=&a;

c=*ptr * a;

printf("%d,%d",c,a);

}

a) 5,5

b)25,25

c) 25,5

d) Error

5 What can a Friend Keywoard do?

a) Free the memory

d) never allowed to acccess any constructor

6. Abstract Class can be

a) Accessed as Constructors

b) used for hiding information of class

c) class is Abstract class

d) none of the above

7. The present LAn-card Supports

a)32kbphs

b) 64kbphs

c)128kbphs

d) 256kbphs

8. What is CDMA Technology ?

a) Electronic calculator

b) Cellular phones

c) Rocket

d) Car

9. What is GC in JAVA?

a) De-allocates the memory

b) De-allocates the objects & its reference

c) Finalising of Memory

d) non-of the above

10 which among is thread class?

a) sleep()

b) IsAliva()

c) IsLive()

d) none of the above

11) main()

{

int x=10,y=5,p,q;

p=x>9;

q=x>3&&y!=3;

printf("p=%d q=%d",p,q);

}ans:1,1.

12. main()

{

int x=11,y=6,z;

z=x==5 || !=4;

printf("z=%d",z);

}ans:1

13) main()

{

int c=0,d=5,e=10,a;

a=c>1?d>1||e>1?100:200:300;

printf("a=%d",a);

}ans:300

14) main()

{

int i=-5,j=-2;

junk(i,&j);

printf("i=%d,j=%d",i,j);

}

junk(i,j)

int i,*j

{

i=i*i;

*j=*j**j;

}

ans:-5,4;

15. #define NO

#define YES

main()

{

int i=5,j;

if(i>5)

j=YES;

else

j=NO;

printf("%d",j);

}

ans:Error message

16. main()

{

int a=0xff;

if(a<<4>>12)

printf("leftist)

else

printf("rightist")

}

ans:rightist

17. main()

{

int i=+1;

while(~i)

printf("vicious circles")

}

ans:continuous loop.