December 2011 Nvidia Placement Paper: 1. A number consists of 20 plus 20% of its value. The number is: (a) 20 (b) 22 (c) 25 (d) 30 47. 20% of 5 + 5% of 20 = (a) 5 (b) 2 (c) 6 (d) 21 Ans:- C 2. The angle between the minute hand and the hour hand of a clock, when the time is 8.30 (a) 800 (b) 600 (c) 1050 (d) 750 Ans:- D 3. Rs. 1581 is divided among A, B and C in the ratio 10 : 15 : 6. What is the share of B? (a) 306 (b) 765 (c) 700 (d) 510 Ans:- B 4. The sum of four consecutive counting numbers is 154. Find the smallest number: (a) 36 (b) 37 (c) 38 (d) 31 Ans:- B 5.void main() { int i,j,k; for(i=0;i<3;i++) k=sum(i,i); printf("\n%d",k); getch(); } sum(s,t) { static int m; m+=s+t; return m; } Ans: 6 6. What is the output of the program void main() { int i,j,k,n=5; clrscr(); for(i=5;i>0;i--) { j=1<i; k=n&j; k==0?printf("0"):printf("1"); } getch(); } // A. 00011 // B. 11110 // c. 11001 // D. 11100 Ans: B. 11110
No comments:
Post a Comment