Question: 8) In an array-based the FIFO queue, if front rear, which of the following is correct? a. The queue is empty b. The queue is
8) In an array-based the FIFO queue, if front rear, which of the following is correct? a. The queue is empty b. The queue is full c. There is only one item in the queue d. Both a) and c) 9) In an array-based the FIFO queue, if front n-1, rear0, which of the following is correct? (where n is the size of the array) The queue is full Items in the queue are in reverse order Dequeue is called exactly n-1 times, and Enqueue is called exactly once. There are 2 items in the queue a. b. c. d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
