A queue's operations, positions and error conditions each have a precise meaning. Match each term on the left to the description that defines it for an ordinary first-in, first-out queue.
Return the oldest element without removing it from the structure
Add a new element at the back of the line of waiting elements
The end of the queue where the next arriving element is placed
The error raised by trying to remove an element when none are stored
Remove and return the element that has been waiting the longest
The error raised by trying to add an element when a fixed-capacity structure has every slot occupied
Underflow
Rear
Overflow
Enqueue
Dequeue
Peek
A print server's queue initially contains the requests shown below. Here, enqueue adds a request at the rear, and dequeue removes and returns the request at the front. The operation peek() returns the front request without removing it.
Perform the table's operations from top to bottom. Enter each returned request identifier and the queue's size immediately after that operation. Sizes are exact integers in requests. The enqueue operations do not return a request, so those cells are already marked not applicable.
| Operation | Returned request | Size after operation (requests) |
| dequeue() | ||
| enqueue(C29) | Not applicable | |
| peek() | ||
| dequeue() | ||
| enqueue(C34) | Not applicable | |
| dequeue() |