Page 1 of 1

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
by answerhappygod
4 Assume The Max Location Size For The Static Queue Is 15 With Starting Index Is 0 Referring To The Following Operat 1
4 Assume The Max Location Size For The Static Queue Is 15 With Starting Index Is 0 Referring To The Following Operat 1 (26.99 KiB) Viewed 8 times
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: Question (a) FRONT REAR (b) (c) (d) (e) [5 MARKS]