> +-*q` wbjbjqPqP ."::wf
$h
B
-R 6
0f
w (
0"
f
ddHi FriendsSample Test PaperAptitude1. A sequence is given : 1 2 5 10 13 26 29 48. You should find out error & write correct.ans: Error is 48, there you should write 58.2. 2,3 6,7 14,15 29,46. Error is 46. In every pair you add 1 to get second number. Ans:29+1=303. A girl is 13'th highest, 13th lowest. How many members.Ans:254. Rearrange MERGANYAns:GERMANY (country)5.Rearrange BBIRATAns:RABBIT 6. (passage) There are 6 persons k,l,m,n,o,p to give seminar cond: 3 persons should give before lunch and 3 after lunchl should immediately precede the seminar of m there should be no gap between l and m.ans: 1. L position is 22. m pos is 53. k pos is 47. (passage)A is daughter of Y, Z is father of Y. Q is son of Z,1.if T is son of Y, thenans: T and A brother/sister2. if m is brother of T, thenans :Z is grandfather of M and M & A are brother/sister3. if Q is son of Z themans: Q & Y are brothersQ. if speed of ongoing train is 24 and while return is 48avg = ----ans:328. 0.23 + 0.02323 + 0.002323.... == ???9. 0.4 + 0.44 + 0.444 ..... = ???10. 1,2,2,4,8,?ans:3211. 55*55*55+45*45*45/55*55-55*45+45*45ans:10012. 461 + 462 + 463 + 464. this sum is divisible by which of the following ? ans:17C Language 1. #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",i);}Ans:5.2. 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:abcd563. Linked Lists are preffered than arrays to get advantage whilea)Insertion b)Deletion c)Accessing Element d)None4. ~(~0<<8)? Ans:Last 8 digits are 1's rest are 0's.5. int a,b=3,c=2;a=b++*c;c=++b*a;Some thing like this.print a,b,c? C++ Language 1. Virtual Functions in C++(Refer to 13'th chapter first two examples of LAFORE Book)2. Which of the following is not true regarding FRIEND functionAns:If y is friend of x and z is friend of y then z can access private of x.3. Given some program on "&" operator overloading.4. 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?5. One question on reference variable in C++.Ans:&a.Technical 1. Number of nodes in Binary tree with height 3Ans:7(Refer to Formula 2n-1)2. TCP/IP is used in?Ans:LAN/WAN3. Host IP Address is? Ans:32 bits OR 4 bytes.
Paper: Cadence Placement Paper (Aptitude & Technical)1. Inorder and preorder trees (expressions) are given and postorder tree (expression) is to be found out.2. int v,u;while(v != 0){t = v % u;v = u;u = t;}find the time complexity of the above program.3. x is passed by reference, y passed by value.x = 3, y = 2;foo(x, y)var integer x, y;{x = x + 2;y = y + 3;}main(){x = 5;y = 5;foo(x, y);print (x, y);}output of the above pseudo code.4. 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.5. how many flip flops you require for modulo 19 counter.6. ring counter's initial state is 01000. after how many clock cylces will it return to the initial state.7. some boolesn expression of the form x'y'z' + yz + .. ( something like this) find the simplified expression8. given 6 bit mantissa in 2s complement form and 4 bit exponent is in excess-4 form in a floating point representation, find the numberans -(something) * ( 2 to the power 3)9. A signed no is stored in 10-bit register, what is the max and min possible value of the number.10. A room is 30 X 12 X 12. a spider is on the middle of the smaller wall, 1 feet from the top, and a fly is ont he middle of the opposite wall 1 feet from the bottom. what is the min distance required for the spider to crawl to the fly.11. A man while going down in a escalator (which is moving down) takes 50 steps to reach down and while going up takes 125 steps. If he goes 5 times faster upwards than downwards. What will be the total no of steps if the escalator weren't moving.12. 2/3 of corckery(plates) are broken, 1/2 have someother thing(handle) broken , 1/4 are both broken and handle broken. Ultimately only 2 pieces of crockery were without any defect. How many crockery were there in total.13. _____________________________________________________|___ ___|___ ___|___ || | | | | | || |__ | |___ | |___ ||_______| | |_______| |__not_ |_______| | | | | | | |____________________|_____________|____and_|___boxes are negative edge triggered flip flops and 'not' and 'and' are gates. What is this figure.ans- modulo-514. It is difficult to draw a figure but another question was in which some NAND and OR gates were given.ans - Z = true.
whehh$ww,1h/ =!"#$%@@@NormalCJ_HaJmH sH tH DA@DDefault Paragraph FontRi@RTable Normal4
l4a(k@(No Listw
" y000 yI0I0www1lG2tImmyttyB*urn:schemas-microsoft-com:office:smarttagscountry-region9*urn:schemas-microsoft-com:office:smarttagsplace /itnq9< *-/2@HTU[acdjkaiw}:BIQTXM T
0
3
4
7
Tgjy:A
#:KORlt tv(3@HKO~",WYdiz} P T u x
uzy333333333333333333333333333333333333r vy vyY$Re@vvZZvvw@UnknownGz Times New Roman5Symbol3&z Arial"1h$
$
# #!4nnHP? $2UserXPUserXPOh+'0T
(4<DLUserXPNormalUserXP3Microsoft Office Word@@(sQ@R՜.+,0hp
Prive# nTitle
!#$%&'(),Root Entry F-R.1TableWordDocument."SummaryInformation(DocumentSummaryInformation8"CompObjq
FMicrosoft Office Word Document
MSWordDocWord.Document.89q