Computer Science (AS & A Level) · May / June 2025 · Paper 43 · Question 1
9618
As printed in the paper
The question as text
A program reads data from a text file and stores it in a queue. The linear queue Queue is stored as a 1D array of up to 50 elements. The queue has the following pointers: • HeadPointer – this stores the index of the first element in the queue, initialised to –1 • TailPointer – this stores the index of the last element in the queue, initialised to –1
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
1(a)[3]
1(b)[6]
1(c)[5]
1(d)[6]
1(e)(i)[5]
1(e)(ii)[1]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

