Skip to main contentSkip to solution

__________ is an ordered linear data structure, following FIFO strategy.

Solution

✅ Correct Option: 3

A queue is an ordered linear data structure that follows FIFO (First In, First Out). Elements are added at the rear (enqueue) and removed from the front (dequeue), so the element inserted first is the first one removed.


Option 2: A stack is also linear and ordered, but it follows LIFO (Last In, First Out), not FIFO.

Memory trick: a queue is like a line at a ticket counter, where the first person in line is served first.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question