Question 6(a) 2024 · May-June · Paper 21 · 35 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (a)
Question 7
Question 7
Question 1
Question 47
Question 2
Question 50
Question 3
Question 52
Question 4
Question 60
Question 5
Question 80
Question 6
Question 63
Question 7
Question 70
Question 8
Question 1
Question 2
Question 3
Question 4
Show text version of question
Question 6
Part (a)
Question 6
The flowchart represents an algorithm.
START
Result Limit DIV 2 + 1 INPUT Limit OUTPUT Numbers[Result] Count 1
INPUT Numbers[Count] STOP
Count Count + 1
No IS Count > Limit?
IS Numbers[Count] > No Yes Numbers[Count + 1]? Flag TRUE
Yes
Swap Numbers[Count] IS Flag = No TRUE?
Numbers[Count] Numbers[Count + 1] Yes
Flag False Numbers[Count + 1] Swap Count 1
Flag True
Yes IS Count > No Limit – 1?
Count Count + 1
Question 7
Part (a)
Complete the trace table for the input data:
Numbers
Limit Count
[7] Flag Swap Result OUTPUT
Question 8
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
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_s24_qp_21.pdf
