Question 3(b) 2018 · May-June · Paper 23 · 4 marks
Reveal official mark-scheme answer

Official answer for Question 3
Part (b)
Question 4
Question 9
- Mar k Scheme
Question 18
Show text version of question
Question 3
Part (b)
Question 3
A modular program design consists of four modules:
Module1 has three sub-tasks. Each sub-task is implemented by a single subroutine (either a function or a procedure).
The subroutine headings are defined as follows:
FUNCTION Module2 (Weight : REAL) RETURNS BOOLEAN PROCEDURE Module3 (Weight : REAL, Customer : STRING, Purchased : DATE) FUNCTION Module4 (Purchased : DATE, Account : INTEGER) RETURNS INTEGER
Part (b)
Draw a structure chart to represent the program design.
Use the letters in the table to label the values passed between modules.
Value Label Boolean return value A Integer return value B Account C Customer D Purchased E Weight F Structure chart
Question 8
Why this question appears here
76% assigned-topic match · Software development › Program design
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 9608_s18_qp_23.pdf
