Quinnox Placement Paper |   15966

Quinnox Placement Paper

                                 Quinnox - Model Placement Paper

1. 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

2.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;
}


3. a z d y h x m ?

ans(w)

4. the fathers age one year back is 4 times the age of son,after 6 years the fathers age exceeds by 9 of the twice of the son,fathers age??

ans(33)

5. 1 3 7 15 ?

ans(31)

6. 3 4 8 15 31 ??

ans(56)

7. Suresh is taller than Prabhu but shorter than Ram, Prabhu is as tall as Neeraj but taller than Nilesh. Which of the following statements is definitely true for Neeraj?

(a) Neeraj is shorter than Nilesh
(b) Neeraj is the tallest
(c) Neeraj is the shortest
(d) Neeraj is taller than Nilesh
(e) None of these

Ans: ( d ) Neeraj is taller than Nilesh

8.How many such pairs of letters are there in the word STAINLESS each of which has as many letters between them in the word as they have in the English alphabet, in the same sequence?

(a) Two
(b) Three
(c) Four
(d) Five
(e) None of these

Ans: ( e ) None of these

9. If water is called food, food is called drink, drink is called blue, blue is called red, red is called white and white is called brown, then what is the colour of ?blood? ?

(a) Blue
(b) Red
(c) Brown
(d) White
(e) Drink

Ans: ( d ) White

10. A man bought some fruits at the rate of 16 for Rs. 24 and sold them at the rate of 8 for Rs. 18. What is the profit per cent?

(a) 50%
(b) 60%
(c) 40%
(d) 25%
(e) None of these

Ans: ( a ) 50%

feedback