Past-paper question · 2018 May-June · Paper 23 · Q3(b)

Question 3(b) 2018 · May-June · Paper 23 · 4 marks

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

Official answer for Question 3

Part (b)

Question 4

✓
Mark as follows:
✓
f
✓
•
✓
One mark for al l four modu
✓
ules
✓
•
✓
One mark for ea
✓
ach set of in
✓
nterface pa rameters
✓
9608/23

Question 9

✓
Cambridg
✓
ge Internatio
✓
onal AS/A Level
✓
L
  • Mar k Scheme
✓
Ma
✓
ay/June 201

Question 18

✓
P
✓
PUBLISHED
✓
D
✓
Question
✓
Answer r
✓
Marks

Mark scheme 9608_s18_ms_23.pdf →

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

[4]

Question 8

Topic relevance

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

Keep practising this topic