Computer Science (AS & A Level) · May / June 2025 · Paper 42 · 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 stack. The stack Stack is stored as a 1D array of up to 20 elements. The pointer TopOfStack stores the index of the last element stored in the stack.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
1(a)[2]
1(b)[4]
1(c)[4]
1(d)[6]
1(e)[7]
1(f)(i)[2]
1(f)(ii)[2]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

