Deletion operation in a queue is called ___________ and Insertion operation in a queue is called _______________.
Deletion operation in a queue is called ___________ and Insertion operation in a queue is called _______________.
Solution
✅ Correct Option: 3
A queue follows FIFO (First In, First Out). Deletion removes the element at the front and is called dequeue. Insertion adds an element at the rear and is called enqueue.
Option 1: the two terms are swapped. Enqueue inserts and dequeue deletes.
Options 2 and 4: front and rear are the two ends (pointers) of the queue, not operations.
Memory trick: enqueue means "enter" the queue, dequeue means "depart" from the queue.
Related questions:
2026: 29 May Shift 2