4. Assume the max location size for the static queue is 15 with starting index is [0]. Referring to the following operat
Posted: Tue Jul 05, 2022 10:26 am
Question (a) FRONT REAR (b) (c) (d) (e) [5 MARKS]
4. Assume the max location size for the static queue is 15 with starting index is [0]. Referring to the following operations: (a) Initial static queue with W, E, S, T, L and I. (b) ENQUEUE F and E. (c) DEQUEUE three numbers. (d) DEQUEUE two numbers. (e) ENQUEUE L, S and E. Determine the index of FRONT and REAR after each operation. Answer: