Skip to main contentSkip to solution

Which of the following cases are TRUE?

(A) A queue is a linear data structure.

(B) A queue follows the LIFO rule.

(C) The enqueue operation may result in an overflow condition.

(D) In a queue, deletion is done at the front end.

Solution

✅ Correct Option: 2

A queue is a linear data structure, so (A) is true. Enqueue inserts at the rear, and if the queue is full (fixed-size array implementation) this causes an overflow, so (C) is true. Dequeue removes the element at the front end, so (D) is true.


(B) is the trap: a queue follows FIFO (First In First Out). LIFO is the rule for a stack.

Keyboard Shortcuts

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