Exam-style question
Try this first
What is a key advantage of a circular queue over a simple linear queue when positions at the beginning have become free?.
- A.It automatically changes into a priority queue
- B.It can reuse free positions by continuing from the beginning
- C.It removes all items at the same time
- D.It never becomes full
Model answer
What a good answer should say
- It can reuse free positions by continuing from the beginning
Explanation
Why this works
In a circular queue, the rear can wrap around to the beginning of the storage area and use positions freed by removals, provided the queue is not full.
Common mistake
No common mistake is linked to this question yet.
