Computer Science · Oct / Nov 2024 · Paper 22 · Question 3
0478
As printed in the paper
The question as text
Four flowchart symbols and five purposes are shown.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
3(a)[4]
One mark for each correct line
Flowchart symbol
Purpose
subroutine
process
flow
decision
terminator
3(b)[6]
One mark per mark point
Two labelled terminators START and STOPLoop initialisation, incrementation and terminationInput with promptTotal initialised and totalling of inputsOutput with messageFully correct flowchart with all correct arrows, yes/no labels and symbols STARTTotal ← 0
Count ← 1
OUTPUT "Enter a
value between 1
and 100"
INPUT Number
Total ← Total + Number
No
o
IS Count
Count ← Count + 1
> 50 ?
Yes
OUTPUT "The total
is ", Total
STOP
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

