nerdexam
Microsoft

98-361 · Question #135

You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use?

The correct answer is C. Stack. In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop. The relation between the…

Understanding Core Programming

Question

You are creating an application for a priority help desk center. The most recent call must be handled first. Which data structure should you use?

Options

  • AQueue
  • BHashtable
  • CStack
  • Dbinary tree

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    12% (4)
  • C
    76% (25)
  • D
    9% (3)

Explanation

In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations on the collection are the addition of an entity to the collection, known as push and removal of an entity, known as pop. The relation between the push and pop operations is such that the stack is a Last-In-First-Out (LIFO) data structure. In a LIFO data structure, the last element added to the structure must be the first one to be removed.

Topics

#stack#LIFO#data structures#queue

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice