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.
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.
Related questions:
2026: 11 May Shift 2
2026: 29 May Shift 1
2025: 13 May Shift 2
2026: 21 May Shift 1