logo

AQA A-Level Computer Science practice

Which item is normally removed first from a priority queue?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Queues

Exam-style question

Try this first

Which item is normally removed first from a priority queue?.

  1. A.The item added most recently
  2. B.The item at the physical front regardless of priority
  3. C.The item with the highest priority
  4. D.The item with the lowest priority

Answer and explanation

Concise answer

The item with the highest priority

Why this is correct

A priority queue removes items according to their priority rather than simply according to their arrival order.

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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions