Past-paper question · 2024 May-June · Paper 23 · Q7(b)

Question 7(b) 2024 · May-June · Paper 23 · 6 marks

Original past-paper question for 7(B)
Reveal official mark-scheme answer Official mark-scheme answer for 7(B)

Official answer for Question 7

Part (b)

Question 6

✓
One mark per bullet:
✓
1 All modules correctly labelled and interconnected
✓
2 Parameters between Mod-A and Mod-B and return value from Mod-B
✓
3 Parameters between Mod-A and Mod-C
✓
4 Diamond applied to Mod-B only
✓
5 Iteration arrow applied to Mod-C only
✓
6 All parameters at lower level and return value
✓
9618/23
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2024
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_s24_ms_23.pdf →

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
  • Mod-B • calls either Mod-D or Mod-E, determined when the program runs

  • returns a Boolean value
  • called with parameters Par1 and Par3
  • Mod-C • Par3 is passed by reference

  • repeatedly calls Mod-F followed by Mod-G

Mod-D called with parameter Par2

  • called with parameter Par3
  • Mod-E

  • returns an integer value

Mod-F called with parameter Par3

  • called with parameter Par3
  • Mod-G

  • Par3 is passed by reference

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.

[6]

Question 18

, ,

Topic relevance

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

Keep practising this topic