Skip to main content
A-LevelComputer ScienceSoftware development9618/23 · May/June 2022 · Q37 Marks

Four program modules are defined as follows: | Pseudocode module header | |---| | PROCEDURE Sub1_A(XT : INTEGER, PB : STRING) | | FUNCTION Sub1_B(RA : INTEGER) RETURNS BOOLEAN | | PROCEDURE Sub1_C(SB : INTEGER, BYREF SA : STRING) | | PROCEDURE Section_1() |

  1. (a)A structure chart will be produced as part of the development process. Describe the purpose of a structure chart.[2]
  2. (b)Module Section_1() calls one of the other three modules. The module called will be selected when the program runs. Draw the structure chart.[5]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (May/June 2022). The mark or mark type is shown in brackets.

  1. [2] (a) One mark per point to show: module relationships / hierarchy / selection / repetition // how a problem is broken down
  2. [2] (a) the parameters that are passed between the sub-tasks / modules // whether a module is a function or a procedure
  3. [5] (b) One mark for each: 1 Four boxes linked as shown correctly labelled (Order of lower 3 not important)
  4. [5] (b) 2 Parameters to Sub1_A
  5. [5] (b) 3 Parameter to Sub1_B and return value
  6. [5] (b) 4 Parameters to Sub1_C
  7. [5] (b) 5 Selection diamond

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Software development, A-Level Computer Science (syllabus 9618). Structured question, 7 marks.
Source
A-Level Computer Science, May/June 2022 Paper 2 Variant 3, question 3.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep