Past-paper question · 2024 May-June · Paper 22 · Q9(a)
Question 9(a) 2024 · May-June · Paper 22 · 35 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (a)
✓
One mark for each of columns A, B and T
Question 5
✓
Two marks for columns List[1] to List[5] all entries correct or
✓
One mark for columns List[1] to List[5] with one error
✓
A
✓
B
✓
List[1]
✓
List[2]
✓
List[3]
✓
List[4]
✓
List[5]
✓
T
Question 15
Question 17
Question 20
Question 5
Question 9
✓
FALSE
Question 1
Question 17
Question 15
Question 15
✓
TRUE
Question 2
Question 20
Question 15
Question 15
✓
TRUE
Question 3
✓
TRUE
Question 4
Question 9
Question 5
Question 5
Question 5
✓
FALSE
Question 1
Question 20
Question 17
Question 17
✓
TRUE
Question 2
Question 3
Question 4
Question 5
✓
FALSE
Question 1
Question 2
Question 3
Question 4
Question 5
✓
0478/22
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2024
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
Show text version of question
Question 9
Part (a)
Question 9
This flowchart represents an algorithm.
START
A
FALSE
B
1
IS List[B] > No T List[B] List[B + 1]?
Yes List[B] List[B + 1]
List[B + 1] T
A
TRUE
B
B+1
No IS B = 5?
Yes
Yes IS A = TRUE?
No
STOP
Part (a)
The array List[1:5] used in the flowchart contains this data:
List[1] List[2] List[3] List[4] List[5]
15 17 20 5 9
Question 9
, ,
Complete the trace table using the data given in the array.
A
B List[1] List[2] List[3] List[4] List[5] T
15 17 20 5 9
[5]
Topic relevance
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_22.pdf
