Multiple Choice
What is the principle difference in behavior between a stack and a queue?
A) a stack reverses order whereas a queue preserves order
B) a stack does nothing whereas a queue can preserve and reverse order
C) there is no difference
D) a stack preserves order whereas a queue reverses order
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: When an element is added to a
Q14: A _ implementation of a queue is
Q15: The enqueue and dequeue operations work on
Q16: Which implementation has the worst time complexity?
Q17: When one enqueue's an element to a
Q19: The shifting of elements in a noncircular
Q20: When utilizing a circular array for a
Q21: Simulations are often implemented using _ to
Q22: Queue elements are processed in a FIFO
Q23: What are some of the other operations