Past-paper question · 2022 May-June · Paper 23 · Q5
Question 5 2022 · May-June · Paper 23 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 5
✓
One mark per mark point, max six
Question 6
✓
MP1
✓
input box
✓
MP2
✓
correct totalling using Total
✓
MP3
✓
correct counting using Counter
✓
MP4
✓
correct conditional statement for Counter
✓
MP5
✓
correct calculation of Average
✓
MP6 correct outputs of Total and Average
✓
START
✓
Total 0
✓
Counter 0
✓
INPUT Number
✓
Total Total + Number
✓
Counter Counter + 1
✓
No
✓
IS Counter =
✓
100?
✓
Yes
✓
Average Total / Counter
✓
OUTPUT Total
✓
OUTPUT Average
✓
END
✓
0478/23
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
Show text version of question
Question 5
The flowchart shows an algorithm that should:
- allow 100 numbers to be entered into the variable Number
- total the numbers as they are entered
- output the total and average of the numbers after they have all been entered.
Complete this flowchart:
START
Total 0
Counter 0
No
Yes
END
[6]
Question 11
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_23.pdf
