UNIT-III-Question Bank
UNIT-III-Question Bank
in recursion. PO2
2. Write a C++ code for stack as an ADT. 4 3 PSO1 PO1, 2
PO2,
PO3
3. Explain any three applications of stack with 4 3 PSO1 PO1, 2
Type (ADT).
5. Write a pseudo C++ code for the 4 3 PSO1 PO1, 2
i. Priority Queue
ii. Double Ended Queue
9. Write a C++ code for implementation of stack 6 3 PSO1 PO1, 2
Type (ADT).
1. AB * C – D +
2. ABC + * D –
i. 2 3 * 2 1 - / 5 3 * + PO2
ii. + * 2 / 3 – 2 1 * 5 3
25. Write sudo code for converting a given infix 9 3 PSO1, PO1, 3
expression to postfix expression and apply PSO2 PO2
the algorithm to convert (a+b)*c to postfix.
26. Contrast between the characteristics of stack 4 3 PSO1 PO1 3
and queue data structures.
27. Convert the following infix expressions to 9 3 PSO1 PO1, 3
postfix expressions and the content of the PO2
stack for each operation:
i) P * ( X/Y * Z – Q / (A+B))
ii) A + B $ (M-N) / D
($ for power operation)
28. Explain with example the significance of 6 3 PSO1 PO1, 3
priority queue over simple queue. PO2
Blooms
level no Blooms Taxonomy
terms
2
1
Note:
1. Example demonstrates the method for filling the data.
2. Blooms Taxonomy is provided for Ready Reference.