Context for question 1
A program stores integer data in a linear queue.
The queue is created as a global 1D array with space for 10 elements.
The queue has a global head pointer, initialised to -1, that points to the first element in the queue.
The queue has a global tail pointer, initialised to -1, that points to the last element in the queue.