Question: Describe the functionality of a queue?
- A queue adds items to either end and removes items from either end.
- A queue adds items to the top and removes items from the top.
- A queue adds items to the top, and removes items from anywhere in, a list.
- A queue adds items to the top and removes items from anywhere in the queue.
Answer: The correct answer of the above question is Option A:A queue adds items to either end and removes items from either end.