Skip to main contentSkip to solution

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.

Keyboard Shortcuts

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