A program contains six modules: [Table of Pseudocode module header] Module-X() calls Reset() Module-Y() calls Restore()
- (a)Complete the structure chart for these modules. [Figure showing partial structure chart][4]
- (b)Explain the meaning of the diamond symbol as used in the diagram in part (a).[2]
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 (Oct/Nov 2023). The mark or mark type is shown in brackets.
- [4] One mark per point:
- 1 Module names
- 2 Parameters with labels to Module-X and between Module-X and Reset
- 3 Parameter (with label) to Module-Z and return from Module-Z
- 4 Parameters with labels to Module-Y and Restore and return values from Module-Y
- [2] Means that Module-A calls either one of Module-X, Module-Y or Module-Z (which one is called is decided at runtime).
- One mark for reference to selection
- One mark for naming all four modules correctly
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 →