_____________ is used to insert a new element to the queue at the __________ end.
_____________ is used to insert a new element to the queue at the __________ end.
Solution
✅ Correct Option: 4
ENQUEUE inserts a new element into a queue, and it does so at the rear end. A queue follows FIFO (First In, First Out), so new items join at the rear and leave from the front.
Options 1 and 3: DEQUEUE removes an element (from the front), it does not insert.
Option 2: insertion never happens at the front in a simple queue; that would break FIFO order.
Related questions:
2026: 31 May Shift 1
2025: 22 May Shift 1
2025: 15 May Shift 2
2026: 21 May Shift 1
2026: 24 May Shift 1