Identify the incorrect example related to application of queues.
Identify the incorrect example related to application of queues.
Solution
Option 3 describes a stack (LIFO) behaviour, not a queue. The most recently closed tab is reopened first, so the last item added is the first one removed. A queue works on FIFO, where the earliest item added is served first. So this is not a queue application.
Options 1, 2 and 4: in each, requests are served in the order they arrive (print jobs, web-server requests, process scheduling), which is FIFO and so a genuine queue application.
Memory trick: "undo", "back" and "reopen closed tab" use a stack; "waiting line" tasks such as printing and scheduling use a queue.
Related questions:
2026: 29 May Shift 1
2025: 13 May Shift 2
2026: 11 May Shift 2
2026: 26 May Shift 1