Question Detail

COS 102 test topic Objective Question

Question

Which fundamental data structure operates strictly under the First-In, First-Out (FIFO) paradigm?
Options
A Stack
B Queue
Correct Answer
C Binary Tree
D Heap
Correct Answer

Option B is the correct answer.

Detailed Explanation

A queue processes elements in arrival order, ensuring the first element enqueued is the first element dequeued.

Hint

No hint available

Question Info