Note AcademyNote Academy

Computer Science (AS & A Level) · Oct / Nov 2023 · Paper 22 · Question 7

9618

As printed in the paper

The question as text

A program contains six modules: Pseudocode module header PROCEDURE Module-A() PROCEDURE Module-X(T1 : INTEGER, S2 : REAL) PROCEDURE Reset(BYREF Code : INTEGER) FUNCTION Restore(OldCode : INTEGER) RETURNS BOOLEAN FUNCTION Module-Y(RA : INTEGER, RB : BOOLEAN) RETURNS BOOLEAN FUNCTION Module-Z(SA : INTEGER) RETURNS INTEGER Module-X() calls Reset() Module-Y() calls Restore()

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

Show the answer and mark scheme
  • 7(a)[4]

  • 7(b)[2]

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