Question 7(b) 2024 · May-June · Paper 23 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 7
Part (b)
Question 6
Show text version of question
Question 7
Part (b)
Question 7
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
- called with parameters Par1 and Par2
- returns a Boolean value
Mod-B • calls either Mod-D or Mod-E, determined when the program runs
- called with parameters Par1 and Par3
- repeatedly calls Mod-F followed by Mod-G
Mod-C • Par3 is passed by reference
Mod-D called with parameter Par2
- called with parameter Par3
- returns an integer value
Mod-E
Mod-F called with parameter Par3
- called with parameter Par3
- Par3 is passed by reference
Mod-G
Parameters in the table are as follows:
- Par1 and Par3 are of type string.
- Par2 is of type integer.
Part (b)
Draw a structure chart to show the relationship between the seven modules and the
parameters passed between them.
Question 18
, ,
Why this question appears here
82% assigned-topic match · Data types and structures › Data types and records
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9618_s24_qp_23.pdf
