Question 6(b) 2023 · October-November · Paper 22 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (b)
Question 2
Show text version of question
Question 6
Part (b)
Question 6
The flowchart represents an algorithm that performs a process on groups of values that are input.
The algorithm will fail if the first value of any group is 0.
An input of –1 will terminate the algorithm.
START
Total 0 OUTPUT "Average is ", Average Count 0
INPUT OUTPUT Value "Total is ", Total
IS Yes Value = Average Total / Count 0 ?
No
IS Yes Value = STOP
- 1 ?
No
Total Total + Value
Count Count + 1
Question 7
Part (b)
Describe the purpose of the algorithm.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 8
Why this question appears here
60% assigned-topic match · Programming › Programming concepts
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_w23_qp_22.pdf
