Exam-style question
Try this first
A queue has a capacity of four items and currently contains four items. What should a full-queue test return?.
- A.True
- B.False
- C.The position of the front item
- D.The position of the rear item
Answer and explanation
Concise answer
True
Why this is correct
A queue is full when it contains the maximum number of items it can hold. An add operation should not be performed until space is available.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
