Ncr placement paper 1
http://e-sparc.com/articles/756/1/Ncr-placement-paper-1/Page1.html
By Moderator .
Published on 04/10/2006
Ncr placement paper 1
Paper was simple but only time is the factor.Be as fast as possible. Forgot few Questions. If any one can complete it plz do it. It has got 2 sections. Section I -Quant- 30Q-30min-30marks Section II-Tech (more c++),c-30Q-30min-30marks Section I: (Questions not in order) All are multile chaoice Questins 1)"DONT COUNT EGGS BEFORE THEY ARE HATCHED" means 2)(0.975*0.975*0.975-1)*(0.975*0.975+0.975-1) 3)The traffic lights at three different road crossings change after every 48sec,72sec,108sec respectively.If they change simultaneously at 8:20:00 hours, then they will change again simultaneously at a)8:47:00 b)8:27:00 c)8:27:12 d)8:37:00 4)Sum of reciprocals given(value dont rem),Differnce of the reciprocals given,asked to find the no a)3,1/4 b)2/3,8/9 c) d) 5)Two no 1361,1468(dont rem) when divided by certain no leaves remainder 7,11 resp .Find the divisor. 6)Given 15 lt of mixture contains milk:water in the ratio 3:1.How much more water has to be added to get a mixture containing milk and water in the ratio 2:1? 7)the age of the father is 18 years older to his son.After 5 years fathers age becomes thrice of his son,What is fathers present age. 8)If the poopulation in '99 is given(dont rem value) & poplation in 2003 given.What is the percentage increase in population. 9)if the avg of 11 no is given __,sum of first six is given__,sum of last six is given__.then find the sixth number. 10)If one of the sides of a triangle is increased by 10%,other side is increased by 15%.what is the percentage increase in area. 11)A two digit no such that it is thrice the sum of the digits.Find the no? 12)x*24=256.find x. 13)2002-(w-1000)-1000=2002 find w. 14)Time and work simple problem 15)Bankers discount-1 16)Compoud interest-1 17-21)Data interpretation. Given a garph for two students A,B, x-axis:name of the subject y-axis:marks obtained by them. Total marks in each Maths,Phy,chemistry is 200,total marks in each Hindi,geo,Eng is 150 Asked 5 Q 17)What is the percentage of marks B achieved in Hindi to the percentage of marks B achieved in Physics. 18)What is average marks of B in all subjects. 19)What is the diff in percentage of marks ontained by A to that of marks obtained by B in all th subjects. 20)In how many subjects B has got more than 70%. 21)dont rem 22)If the cost of certain no of pens is 450.If more pens could be brought at same rate but if the cost of each pen is reduced by Rs15.What were the total no of pens he bought. 23)The hand shake problem Shakuntala Devi. 24)A man travels 8 kms to his south.He then takes left and travels another 4 kms.he then takes left and travels another 11kms.How far is he from starting point. 25) Octal equivalent of (BAD)16. Cant rem more. Tecnical Section II All are multiple choice Q 31)Are both free() and delete() used for deaollocation of memory. 32)pubic class Myclass { Myclass a,b; Myclass x=new Myclass() } No of times the constructor is called. 33)It is better to implement tree using a)stack b)array c)LL d)structures 34)Given def of 1)overloading 2)overriding Asked whether. a)1 is only correct b)2 is only correct. c)both 1 & 2 are correct d)None of them is correct.
Ncr placement paper 1
35)void main() { extern int i; i=20; printf("%d",i); } a)20 b)0 c)compiler error d)linker error 36)float me=0.7; double you=0.7; if(me==you) printf("I luv u"); else printf("I hate u"); 37)Can constructors have return types a)Cant have b)Compiler can internally return values from constructors c)Can jave 38)If pstr is a pointer.Tell which is better. 1)if((length(pstr)>=65) && (pstr!=NULL)) 2)if((pstr!=NULL)&&(length(pstr)>=65)) a)Makes no diff b)Only 1 is correct c)Only 2 is correct d)Both are wrong 39)void main() { static int var=5; printf("%d",var--); if(var) main(); } 40)void main() { int const *p=5; printf("%d",++(*P); } 41)Mr Bean asked to design a student class(in C) to store rollno,name,marks.If the task was given to you ,U would implement using a)Multridimensional array b)structurs c)LL d)stack 42)main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } } 43)main() { int i=1; switch(i) { default:printf("Default"); break; case 1: printf("one"); case 2: printf("Two"); case 3: printf("Three"); } } a)one b)default c)one two three d)one default 44)Containship is similar to a)Generalization b)inheritance c)Delegation d)Genercity 45)Ternary Operator is 1)?: 2)>= 3)! 4)*