You are on page 1of 6

Cadennce Sample Question Paper Aptitude A sequence is given.

You should find out error & write correct 1 2 5 10 13 26 29 48. ans: Error is 48,there you should write 58. 2,3 6,7 14,15 29,46. Error is 46. In every pair you add 1 to get second number. Ans:29+1=30 A girl is 13'th highest,13th lowest. How many member. Ans:25 Rearrange MERGANY Ans:GERMANY (country) Rearrange BBIRAT Ans:RABBIT (passage) There are 6 persons ,l,m,n,o,p to give seminar cond: 3 persons sh ould give before lunch and 3 after lunch l should immediately precede the seminar of m there should be no gap between l and m ..... ans: 1. L position is 2 2 m pos is 5 3. pos is 4 (passage) A is daughter of Y, Z is father of Y. Q is son of Z, 1.if T is son of Y, then ans: T and A brother/sister 2. if m is brother of T, then ans :Z is grandfather of M and M & A are brother/sister 3. if Q is son of Z them ans: Q & Y are brothers Q. if speed of ongoing train is 24 and while return is 48 avg = ---ans:32 0.23 + 0.02323 + 0.002323.... == ??? 0.4 + 0.44 + 0.444 ..... = ??? 1,2,2,4,8,? ans:32 55*55*55+45*45*45/55*55-55*45+45*45 ans:100 4^^61 + 4^^62 + 4^^63 + 4^^64 . this sum is divisible by which of the follo wing ?

ans:17 C Language #define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}

Ans:5. main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

Ans:abcd56 Lin ed Lists are preffered than arrays to get advantage while a)Insertion b)Deletion c)Accessing Element d)None ~(~0<<8)? Ans:Last 8 digits are 1's rest are 0's. int a,b=3,c=2; a=b++*c;c=++b*a;Some thing li e this. print a,b,c? C++ Language Virtual Functions in C++(Refer to 13'th chapter first two examples of LAFORE Boo ) Which of the following is not true regarding FRIEND function Ans:If y is friend of x and z is friend of y then z can access private of x. Given some program on "&" operator overloading. class X{ public:X(){ cout<<"This is Base";} }; class Y:public X { public:Y(){cout<<"This is Derived";}}; what is printed when an object of Y is created? One question on reference variable in C++. Ans:&a. Technical

Number of nodes in Binary tree with height 3 Ans:7(Refer to Formula 2^^n-1) TCP/IP is used in? Ans:LAN/WAN Host IP Address is? Ans:32 bits OR 4 bytes. Technical Inorder and preorder trees (expressions) are given and postorder tree (expr ession) is to be found out. given a grammar, in which some productions of if then else etc were given. you had to choose one option that can be derived out of the grammar. how many flip flops you require for modulo 33 counter. ans : 6 f/f 7 bit ring counter's initial state is 0100010. after how many cloc cylces w ill it return to the initial state. ans : 6 cycles some boolesn expression of the form x'y'z' + yz +.. ( something li e this) find the simplified expression ans:z(x+y) given 6 bit mantissa in 2s complement form and 4 bit exponent is in excess-4 form in a floating point representation, find the number ans -(something) * ( 2 to the power 3) A signed no is stored in 10-bit register, what is the max and min possible value of the number. ans : 2^10 - 1.....max -2^10 ......min

13.int y int x y=5+ x=5+ + + 6*3 6*3 ; ; printf("%d", x); printf("%d",y); what would be the o/p of the code. ans : x=23;y=23; a queue four elements a,b,c,d are there ,a=head d=tail. now following operat ions are performed 1.deletion 2, insertion of w and then x 3. again deletion 4. insertion of y what is the format of the queue

configuration of four nand gates forming a XOR gate, but replace the last na nd gate with a NOR gate.find the output expression. simplify xy(bar)z+xy(bar)+xyz

operator overloading in c++ is ans.provide operators with user defined functions. in a machine a flating point number is represented in 2's complement mantis sa 6 MSB exponent 4 LSB(excess 4 form) then 01101_0111(10 bits) ans .656 * 2exp(-3) Aptitude A room is 30 X 12 X 12. a spider is ont the middle of the samller wall, 1 fe et from the top, and a fly is ont he middle of the opposite wall 1 feet from the bottom. what is the min distance reqd for the spider to crawl to the fly. A man while going dowm in a escalator(which is moving down) ta es 50 steps t o reach down and while going up ta es 250 steps. If he goes 5 times faster upwar ds than downwards. What will be the total no of steps if the escalator werent mo ving. ans 150 steps 2/3 of corc ery(plates) are bro en, 1/2 have someother thing(handle) bro en , 1/4 are both bro en and handle bro en. Ultimately only 2 pieces of corc ery w ere without any defect. How many croc ery were there in total. ans 24 There were 105 handsha es . how many persons were there in party. There were 6 boys and 6 girls . how many ways they can be arranged in a pair . 15*/+120+*9/8 convert into postfix and calculate ans. 98 meanings of word infallability(antonym) -> mista ingly conjurations (synonym ): incantation ring _ _ _ ater fill in the dash with three letter to form a meaning ful word ans. mas willing _ _ _ _ sports. (four letter word) 23. there was a question in which few incomplete letters were given and we have to complete with three letters so that they all form a meaningful word. wh_ _ _ r_ _ _ ans. ich complete the series 12 8 14 7 16 _ ans 6

11.[ : E THEN CIRCLE INSIDE A CIRCLE IS: ----ANS CIRCLE WITH A DASH AS A RADIUS. 27.A GEOMETRICL QUESTION WITH TRIANGLE IN A QUADRANT(can not draw the figure) ans 10(probably) 12. question regarding tyre and its properties. ans: tyre is rubber and flexible. sri e odd man out a. object b. time c. room d. person e. reason a man facing east rotates 100(degree) cloc wise then 145(degree) anticloc wi se.what is new direction of man.' ans: north east complete the series M N J Q G --ANS : H HOW MANY ZEROS IN BINARY EQUIVALENT OF 15*10^9+4*2^5+3 ANS:5 (chec for expression , but ans. is correct ) WHAT IS THE CONDITION OF B&C FOR OUTPUT TO BE ---ANS:B=0, C=1. there is a 4:1 mux. obtain fn (B' OR (A' XOR C)) when control inputs are A(L SB) & B(MSB), what should be the inputs (I0, I1, I2, I3). ANS: 1 1 C' C excess 3 code of nos. 0 to 9 is given by nos ABCD 0 1100 1 . ... 9 ... fIND The minimised function? 21 base A-K,ie A=10, B=11, .. K=20 What is the Octal equivalent of KA? ans. 656 odd man out a) rhoes b) hepes c) owc d) guinepen ans d) jumbled letters for penguin odd man out a) richa b) bleat c) pratec

d) ans) jumbled for carpet one simple question wherein a rectangle is inscribed in a circle and one of the diagonal is to be found...which is the radius of the circle...hence the ans is 10. there is a tree ing team which ta es a halt after 10 hours and the leadershi p changes after 5 hours. leadership changes in alphabetical order... amala is le ading now with mary ,malti, ---and sita...who will lead after two rests. ans. sita.

You might also like