Note AcademyNote Academy

Computer Science (AS & A Level) · May / June 2023 · Paper 33 · Question 11

9618

As printed in the paper

The question as text

Pseudocode is to be written to implement a queue Abstract Data Type (ADT) with items of the string data type. This will be implemented using the information in the table. Identifier Data type Description FrontPointer INTEGER points to the start of the queue RearPointer INTEGER points to the end of the queue Length INTEGER the current size of the queue Queue STRING 1D array to implement the queue A constant, with identifier MaxSize, limits the size of the queue to 60 items.

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

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

  • 11(b)[4]

  • 11(c)[4]

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