nerdexam
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)
  • A
    5% (2)
  • B
    2% (1)
  • C
    14% (6)
  • D
    79% (33)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice