Chapter Wise List of Questions
Chapter Wise List of Questions
Chapter 1
Chapter 2
1. Define stack, explain representation of stack using array and linked list.
2. Convert the following infix expression into its equivalent postfix form show contents
of stack in table format. Represent operator in stack and expression at each step.
A*(B+C^D) – E ^ F* (G/H)
3. Write an algorithm to implement following operations on Queue
(1) Insert (2) Delete (3) isFull (4) IsEmpty
4. Write an algorithm to implement circular queue.
5. Write an algorithm to implement queue using linked list.
6. Explain need of circular queue.
7. Evaluate the following prefix expression – + AB – * C + DE where A = 16, B = 4,
C = 3, D = 6, E = 7 Show contents of stack at each step in tabular form.
8. Discuss use of priority queue.
9. Write short Note on :- Application of stack, Priority queue
10. Convert infix to postfix form. Represent operator in stock and expression at each step.
11. A* (B – C D) + E F * (G/H).
12. Show the stack contents for each step during conversion of given a) Posfix expression
into infix : ABCD ^ –* EF ^ GH/*+
13. Write a program to implement priority queue using link list
Chapter 3
(7) Generate DFS, BFS starting from node E, adjacency matrix adjacency list for
following graph. Also write algorithm for DFS and BFS.
(8) Generate DFS, BFS starting from node E, adjacency matrix adjacency list for
following graph. Also write algorithm for DFS and BFS.
(10)
2.Insert (algorithm)
2.Insert (algorithm)
Q5.
Q6.
Q7.