## Nvidia placement papers 2012

Nvidia Placement Paper January 2012:

1. In a row of children facing North, Bharat is eleventh from the right end and is third to the right of Samir who is fifteenth from the left end. Total how many children are there in the row ?

(A) 29

(B) 28

(C) 30

(D) 27

Ans : (B)

2. Which number is missing ?

45389, ?, 453, 34

(A) 34780

(B) 8354

(C) 4892

(D) 3478

Ans : (B)

3. If in the word CALIBRE, the previous letter in the English alphabet replaces each consonant and each vowel is replaced by the next letter and then the order of letters is reversed, which letter will be third from the right end ?

(A) A

(B) C

(C) B

(D) K

Ans : (D)

4. How many such digits are there in the number 57683421, each of which is as far away from the beginning of the number, as they will be when arranged in descending order within the number ?

(A) One

(B) Two

(C) Three

(D) More than three

Ans : (D)

5. Find the next term of the series: 3, 6, 9, 18, 27, 54, ……

(a) 81 (b) 69 (c) 63 (d) 57

Ans:- A

6. What is the output of the program
void main()
{
int j[10]={9,7,5,3,1,2,4,6,9};
int i=1;
clrscr();
for(;i<9;i++)
printf("%d ",--j[i++]);
getch();
}
// A. 6,2,1,5
// B. 6,2,1,5,7
// c. Error Message
// D. core dump
Ans: A. 6,2,1,5

7. What is the output of the program
void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
// A. 4,-3,2
// B. 5,-3,2
// c. 4,-2,2
// D. 5,-2,2
Ans: D