Question: Dues 4. Define queue. Consider the following queue of characters of size N= 3 memory cells QUEUE: X, Y, - ( means empty allocated cell)

Dues 4. Define queue. Consider the following queue of characters of size N= 3 memory cells QUEUE: X, Y, - ( means empty allocated cell) Describe the queue (with values of FRONT & REAR) as the following operations takes place: (a) Dequeue (QUEUE, ITEM) (b) Dequeue (QUEUE,ITEM) (c) Dequeue (QUEUE.ITEM) (d) Enqueue (QUEUE, A) (e) Enqueue (QUEUE,B) (f) Enqueue (QUEUE, C) (g) Enqueue (QUEUE, D) (h) Enqueue (QUEUE, E) (1) Dequeue (QUEUE.ITEM)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
