# Placement Papers: Abode Paper 1997

Doorsteptutor material for CTET/Paper-2 is prepared by world's top subject experts: get questions, notes, tests, video lectures and more- for all subjects of CTET/Paper-2.

- Wap to reverse a linked list and sort the same.
- Given two integers A & B. Determine how many bits required to convert A to B. Write a function int BitSwapReqd (int A, int B)
- Write an algorithm to insert a node into sorted linked list. After inserting, the list must be sorted.
- Without using/, % and ⚹ operators. Write a function to divide a number by 3. Itoa () function is available.
- Wap to swap two integer pointers.
- Write a funcn int round (float x) to round off a floating point number to int.
- write an ALP to find sum of First n natural numbers using the following Instructions LDA number; load Accumulator with number DCR R; decrement Register R INR R; increment Register R MOV x, y; move the contents of register y into register x JZ label; jump to label if A = 0 DJNZ label; Decrement & Jump if A <> 0 you can use B & C registers in addition to A register
- prove that a tree is BST. What is height of a tree?
- Given A, B & C Boolean polynomials. Prove That (A + BC) = (A + B) (A + C)