Past-paper question · 2023 May-June · Paper 22 · Q9(b)

Question 9(b) 2023 · May-June · Paper 22 · 2 marks

Question 9

Part (b)

Question 9

This flowchart represents an algorithm.

START

F 0

C
1

IS X[C] < No T X[C] X[C + 1]?

Yes X[C] X[C + 1]

X[C + 1] T

F 1

C
C + 1

No IS C = 5?

Yes

No IS F = 0?

Yes

STOP

Question 9

Part (b)

Describe what the algorithm represented by the flowchart is doing.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[2]

Question 10

Reveal official mark-scheme answer Official mark-scheme answer for 9(B)

Official answer for Question 9

Part (b)

✓
One mark for each point

Question 2

✓
(bubble) sort data in array
✓
in ascending order
✓
0478/22
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s23_ms_22.pdf →

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_s23_qp_22.pdf

Keep practising this topic