Chapter 5
Chapter 5
18.
19.
20.
21.
22. Describe circular queue. Give its advantage.
23. What is priority queue ? Describe working of priority queue with suitable example
24. Write a code delete an element in queue.
25. Write a code delete an element in queue.
26. Sketch representation of queue as an array.
27. Describe priority queue with its advantages.
28. Compare circular queue and double-ended queue. (Min. 4 points)
29. Write a program for insert and delete operation perform on queue. State any two application
of queue.
30. Define following terms : 1) Priority Queue 2) Dequeues 3) Queue as an Abstract Data Type 4)
Empty Queue.
31. Write a ‘C’ program to insert an element in a queue.
32. Define circular queue. Also describe advantage of circular queue over linear queue.
33. Describe working of dequeue with suitable example
34. Explain ‘Queue Full’ and ‘Queue Empty’ condition with suitable example.
35. Write any four applications of Queue.
36. Define queue. Write an algorithm to delete an element from a queue.
37. Enlist queue operations condition.
38. Draw and explain construction of circular queue.
39. Draw the diagram of circular queue with front and rear pointers.
40. Explain Queue overflow and underflow conditions with examples.
41. Define queue. State any two applications where queue is used.
42. Explain the concept of circular Queue along with its need.
43. Implement a ‘C’ program to insert element into the queue and delete the element from the
queue.
44. List any 4 applications of queue.
45. Describe queue full and queue empty operation conditions on linear queue with suitable
diagrams.