Past-paper question · 2021 May-June · Paper 22 · Q3(a)(ii)

Question 3(a)(ii) 2021 · May-June · Paper 22 · 5 marks

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

Official answer for Question 3

Part (a)

(ii)

Question 5

✓
One mark for each of:
✓
1 Diagram with all boxes correctly labelled, positioned as shown
✓
2 Selection diamond as shown
✓
3 (P3 and S2) and (P4 and M4) (Parameters to Create and Delete)
✓
4 S2 and P4 (double arrow) (Parameters to Modify)
✓
5 Return parameter from Delete()
✓
9608/22
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s21_ms_22.pdf →

Show text version of question

Question 3

Part (a)

(ii)

(ii)

The headers for three modules in a program are defined in pseudocode as follows:

Pseudocode module header PROCEDURE Create(S2 : INTEGER, P3 : STRING) PROCEDURE Modify(S2 : INTEGER, BYREF P4 : STRING) FUNCTION Delete(P4 : INTEGER, M4 : STRING) RETURNS INTEGER

A
fourth module, Membership(), may call any one of the three modules.

Draw a structure chart to represent the information given about the four modules.

[5]

Question 7

Topic relevance

Why this question appears here

82% assigned-topic match · Programming › Structured programming

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_s21_qp_22.pdf

Keep practising this topic