Skip to main contentSkip to solution

_____________ 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.

Keyboard Shortcuts

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