Note AcademyNote Academy

Computer Science (AS & A Level) · May / June 2024 · Paper 23 · Question 7

9618

As printed in the paper

The question as text

Seven program modules form part of a program. A description of the relationship between the modules is summarised below. Any return values are stated in the description. Module name Description Mod-A calls Mod-B followed by Mod-C Mod-B • called with parameters Par1 and Par2 • calls either Mod-D or Mod-E, determined when the program runs • returns a Boolean value Mod-C • called with parameters Par1 and Par3 • Par3 is passed by reference • repeatedly calls Mod-F followed by Mod-G Mod-D called with parameter Par2 Mod-E • called with parameter Par3 • returns an integer value Mod-F called with parameter Par3 Mod-G • called with parameter Par3 • Par3 is passed by reference Parameters in the table are as follows: • Par1 and Par3 are of type string. • Par2 is of type integer.

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

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

  • 7(a)(ii)[2]

  • 7(b)[6]

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