Question 4(b) 2017 · May-June · Paper 22 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (b)
Question 3
Show text version of question
Question 4
Part (b)
Question 4
An algorithm has been written in pseudocode to input 100 numbers and print out the sum.
Count ← 0 Sum ← 0 REPEAT INPUT Number Sum ← Sum + Number Count ← Count + 1 UNTIL Count > 100 PRINT Sum
Part (b)
Rewrite the correct algorithm using a more suitable loop structure.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[3]
Question 11
Why this question appears here
98% 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 2210_s17_qp_22.pdf
