logo

Question detail

Which abstract data type follows the first-in, first-out principle?

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

At a glance

MCQ

Type

practice

Style

Topic

Data structures and abstract data types

Exam-style question

Try this first

Which abstract data type follows the first-in, first-out principle?.

  1. A.Queue
  2. B.Stack
  3. C.Tree
  4. D.Hash table

Model answer

What a good answer should say

  • A queue

Explanation

Why this works

Items are added at one end of a queue and removed from the other, so the first item added is the first item removed.

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.