Microsoft
98-361 · Question #391
In your application, you are using a queue data structure to manipulate information. You need to find whether a data item exists in the queue, but you don't want to actually process that data item…
The correct answer is D. contains. See the full explanation below for the reasoning.
Question
In your application, you are using a queue data structure to manipulate information. You need to find whether a data item exists in the queue, but you don't want to actually process that data item yet. Which of the following queue operations will you use?
Options
- AEnqueue
- BDequeue
- Cpeek
- Dcontains
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C14% (6)
- D79% (33)
Community Discussion
No community discussion yet for this question.