Skip to main contentSkip to solution

Which of the following is an application of queue?

Solution

✅ Correct Option: 1

A queue follows FIFO (First In, First Out): the element added first is removed first. A banking counter serving customers in the order they arrive is the same idea, so it is a queue application.


Option 2: stacked plates are taken from the top, which is LIFO, so this is a stack.

Option 3: recursion uses the call stack to store function calls and returns.

Option 4: postfix evaluation uses a stack to hold operands.

Queue applications to remember: CPU scheduling, printer spooling and BFS in graphs.

Keyboard Shortcuts

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