Past-paper question · 2022 May-June · Paper 21 · Q4(a)
Question 4(a) 2022 · May-June · Paper 21 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (a)
✓
One mark per mark point, max six
Question 6
✓
MP1
✓
input box
✓
MP2
✓
correct check of Score
✓
MP3
✓
assign Score to Pass correctly
✓
MP4
✓
assign Score to Fail correctly
✓
MP5
✓
increment both array counters
✓
MP6
✓
correct check of number of scores
✓
START
✓
PassCount 0
✓
FailCount 0
✓
Count 0
✓
INPUT
✓
Score
✓
Yes
✓
No
✓
IS Score >=
✓
50?
✓
Pass[PassCount] Score
✓
Fail[FailCount] Score
✓
PassCount PassCount + 1
✓
FailCount FailCount + 1
✓
Count Count + 1
✓
No
✓
IS Count =
✓
60?
✓
Yes
✓
END
✓
0478/21
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
Show text version of question
Question 4
Part (a)
Question 4
The flowchart shows an algorithm that should allow 60 test results to be entered into the variable
Score. Each test result is checked to see if it is 50 or more. If it is, the test result is assigned to the Pass array. Otherwise, it is assigned to the Fail array.
Part (a)
Complete this flowchart:
START
PassCount 0
FailCount 0
Count 0
Yes No
Count Count + 1
No
Yes
END
[6]
Question 9
Topic relevance
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
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 0478_s22_qp_21.pdf
