Note AcademyNote Academy

Computer Science (AS & A Level) · May / June 2024 · Paper 43 · Question 3

9618

As printed in the paper

The question as text

A program reads data from the user and stores the data that is valid in a linear queue. The queue is stored as a global 1D array, QueueData, of string values. The array needs space for 20 elements. The global variable QueueHead stores the index of the first element in the queue. The global variable QueueTail stores the index of the last element in the queue.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 3(a)[1]

  • 3(b)[4]

  • 3(c)[3]

  • 3(d)(i)[6]

  • 3(d)(ii)[1]

  • 3(d)(iii)[2]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.