Computer Science · May / June 2017 · Paper 22 · Question 4
2210
As printed in the paper
The question as text
An algorithm has been written in pseudocode to input 100 numbers and print out the sum. A REPEAT … UNTIL loop has been used. Count ← 0 Sum ← 0 REPEAT INPUT Number Sum ← Sum + Number Count ← Count + 1 UNTIL Count > 100 PRINT Sum
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
4(a)[2]
4(b)[3]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

