Question: In which scenario would you prefer using a queue over a stack?
Options:
Correct Answer: When you need to process elements in the order they were added
Solution:
A queue is preferred when processing elements in the order they were added (FIFO), such as in task scheduling.