> .0-q` c!bjbjqPqP .(::c@@@@L!dddddddd$h?BdddddddpppdddpdpppdX <&R@:p0!p8"pp0ddpdddddZddd!ddddDDHi FriendsTechnical1. Inorder and preorder trees (expressions) are given and postorder tree (expression) is to be found out.2. 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.3. how many flip flops you require for modulo 33 counter. ans : 6 f/f4. 7 bit ring counter's initial state is 0100010. after how many clock cylces will it return to the initial state. ans : 6 cycles5. some boolean expression of the form x'y'z' + yz +.. (something like this) find the simplified expression ans:z(x+y)6. 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)7. 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 - min8. 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; 9. a queue four elements a,b,c,d are there, a=head d=tail. now following operations are performed 1. deletion 2. insertion of w and then x 3. again deletion 4. insertion of y what is the format of the queue10. configuration of four NAND gates forming a XOR gate, but replace the last NAND gate with a NOR gate. find the output expression.11. simplify xy(bar)z+xy(bar)+xyz12. operator overloading in C++ is ans. provide operators with user defined functions. 13. in a machine a flating point number is represented in 2's complement mantissa 6 MSB exponent 4 LSB (excess 4 form) then 01101_0111(10 bits) ans .656 * 2exp(-3) Aptitude1. A room is 30 X 12 X 12. a spider is ont the middle of the samller 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 reqd for the spider to crawl to the fly.2. A man while going dowm in a escalator (which is moving down) takes 50 steps to reach down and while going up takes 250 steps. If he goes 5 times faster upwards than downwards. What will be the total no of steps if the escalator werent moving. ans 150 steps 3. 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 corckery were without any defect. How many crockery were there in total. ans 244. There were 105 handshakes. how many persons were there in party.5. There were 6 boys and 6 girls. how many ways they can be arranged in a pair.6. 15*/+120+*9/8 convert into postfix and calculate ans. 987. meanings of word infallability(antonym) -> mistakingly conjurations (synonym): incantation8. ring _ _ _ ater fill in the dash with three letter to form a meaning ful word ans. mas9. willing _ _ _ _ sports. (four letter word)10. 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. ich11. complete the series 12 8 14 7 16 _ ans 612. [ : 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.13. srike odd man out a. object b. time c. room d. person e. reason14. a man facing east rotates 100(degree) clockwise then 145(degree) anticlockwise. what is new direction of man.' ans: north east15. complete the series M N J Q G --- ANS : H16. How many zeros in binary equivalent of 15*10^9+4*2^5+3 ANS:5 (check for expression, but ans. is correct )17. What is the condition of B & C for output to be ---- ANS:B=0, C=1.18. there is a 4:1 mux. obtain fn (B' OR (A' XOR C)) when control inputs are A(LSB) & B(MSB), what should be the inputs (I0, I1, I2, I3). ANS: 1 1 C' C19. excess 3 code of nos. 0 to 9 is given by nos ABCD 0 1100 1 . ... 9 ... fIND The minimised function?20. 21 base A-K,ie A=10, B=11, .. K=20 What is the Octal equivalent of KA? ans. 65621. odd man out a) rhoes b) hepes c) owc d) guinepen ans d) jumbled letters for penguin 22. odd man out a) richa b) bleat c) pratec d) ans) jumbled for carpet23. 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.. ans is 10.24. there is a trekking team which takes a halt after 10 hours and the leadership changes after 5 hours. leadership changes in alphabetical order...kamala is leading now with mary, malti, ---and sita...who will lead after two rests. ans. sita.
Paper: Cadence Placement Paper (Technical-C & Unix)C & UNIX 1. What does chmod 654 stand for.2. Which of following is used for back-up files?(a) compress (b) Tar (c) make (d) all the above Ans : b3. what does find command do ? Ans : search a file4. what does " calloc" do?Ans : A memory allocation and initializing to zero.5. what does exit() do?Ans : come out of executing programme.6. what is the value of 'i'?i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")Ans : 17. i=2printf("%old %old %old %old ",i, i++,i--,i++);8. Using pointer, changing A to B and B to A is Swapping the function using two address and one temporary variable. a,b are address, t is temporary variable. How function look like?Ans : swap(int *, int *, int )9. In 'o' how are the arguments passed?ans : by value.10. Find the prototype of sine function.Ans : extern double sin(double)11. Scope of a global variable which is declared as static?ans : File12. ASCII problemi=..ans : 613. what is the o/pprintf(" Hello o is the world ");Ans : Hello is the world.14. Clarifying the concept addresses used over array ; ie changing the address of a base element produces what error?15. child process -- forkchild shell -- sh16. Answer are lex 7 yacc & man read these things in UNIX17. What is int *p(char (*s)[])Ans : p is a function which is returning a pointer to integer which takes arguments as pointer to array of characters
c!hhhuc!c!,1h/ =!"#$%@@@NormalCJ_HaJmH sH tH DA@DDefault Paragraph FontRi@RTable Normal4
l4a(k@(No Listc(e00eI0c!c!c!!QZUX[`ad#SVip36IPy| 7 @
9=x{df
$
i
l
JKFKTYbenv|Z^`enrruDeUZ"+joSX#S`'(x
X
[
.2dx
y
5668V\$1
FN~be3333333333333333333333333333333333333333333333333333333333333333333ebebeuYR@bbPbbc@UnknownGz Times New Roman5Symbol3&z Arial"1h$
$
..!4WWHP?u2UserXPUserXPOh+'0T
(4<DLUserXPNormalUserXP3Microsoft Office Word@@(sQ@R՜.+,0hp
Prive.WTitle
!"#$&'()*+,/Root Entry F &R11TableWordDocument.(SummaryInformation(DocumentSummaryInformation8%CompObjq
FMicrosoft Office Word Document
MSWordDocWord.Document.89q