Skip to main contentSkip to solution

The QUEUE data structure satisfies which of the following conditions?

(A) First In First Out (FIFO) principle.

(B) It is an ordered linear list of elements.

(C) It is an unordered linear list of elements.

(D) Insertion is done at front end and deletion is done at rear end.

Solution

✅ Correct Option: 1

A queue removes elements in the same order in which they were added, so it follows the First In First Out (FIFO) principle, which makes (A) true. Its elements are kept in a definite sequence, as an ordered linear list, so (B) is also true.


(C): a queue is not unordered, since the order of arrival decides the order of removal.

(D): this is reversed. Insertion (enqueue) is at the rear end and deletion (dequeue) is at the front end.

Keyboard Shortcuts

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