Skip to main contentSkip to solution

__________ is a linear list of elements in which insertion and deletion always take place from different ends.

Solution

✅ Correct Option: 3

A queue is a linear list that follows FIFO (First In, First Out). Insertion (enqueue) happens at the rear and deletion (dequeue) happens at the front, so the two operations always use different ends.


Option 1: a deque (double-ended queue) allows insertion and deletion at both ends, so they are not restricted to different ends.

Option 2: a stack uses only one end (the top) for both push and pop (LIFO).

Option 4: "enqueue" is the name of the insertion operation in a queue, not a data structure.

Keyboard Shortcuts

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