Question 5(b) 2025 · October-November · Paper 22 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (b)
Question 3
Show text version of question
Question 5
Part (b)
Question 5
This flowchart represents an algorithm.
START
OUTPUT "Length INPUT Code must be 4"
No IS LENGTH(Code) = 4 ?
Yes Store FALSE
No OUTPUT "Code Count 1 used before" IS Store = Yes FALSE ?
IS Yes CodeStore[Count] = Code ?
No
No IS Yes CodeStore[Count] = "" ?
Store TRUE
Count Count + 1
No IS Count > 6 Yes ?
OUTPUT "CodeStore full"
STOP * 0000800000007 * DFD
Question 7
, ,
Part (b)
Describe the processes in the algorithm on page 6.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
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_w25_qp_22.pdf
