There is a mistake in the quiz:
In what case would queue underflow occur?
Enqueuing data onto a full queue.
Dequeuing data from an empty queue
Correct! If the queue is empty, then there is nothing in the queue to deque. Therefore, dequeuing data from the queue will result in queue overflow.
Dequeuing data from a full queue.
Enqueuing data onto an empty queue.
The mistake is that in these sentences:
Correct! If the queue is empty, then there is nothing in the queue to deque. Therefore, dequeuing data from the queue will result in queue overflow.
, the word overflow is meant to be underflow because the question asked me this:
In what case would queue underflow occur?
Can you report this so that itβs fixed?