logo

Question detail

A queue has a capacity of four items and currently contains four items. What should a full-queue test return?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Queues

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?.

  1. A.True
  2. B.False
  3. C.The position of the front item
  4. D.The position of the rear item

Model answer

What a good answer should say

  • True

Explanation

Why this works

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.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.