Past-paper question · 2025 October-November · Paper 23 · Q6(a)

Question 6(a) 2025 · October-November · Paper 23 · 2 marks

Original past-paper question for 6(A)
Original past-paper question for 6(A)
Reveal official mark-scheme answer Official mark-scheme answer for 6(A)

Official answer for Question 6

Part (a)

✓
One mark for 2 correct rows, two marks for 3 correct rows

Question 2

✓
Name
✓
OUTPUT
✓
Ridwan

Question 5

✓
Yan
✓
−1
✓
Ella

Question 3

Mark scheme 0478_w25_ms_23.pdf →

Show text version of question

Question 6

Part (a)

Question 6

The flowchart represents an algorithm.

START

Position –1

Count 1

INPUT Name

IS Name = Yes

ClassList[Count] Position Count ?

No

Count Count + 1

No IS Count > 5?

Yes

OUTPUT Position

STOP

* 0000800000007 * DFD

Question 7

, ,

Part (a)

The algorithm uses the one-dimensional (1D) array ClassList that contains the following

data:

ClassList

1 2 3 4 5 Henil Sven Ella Asia Ridwan

Complete the table by writing the output from the flowchart when each of the given names are input.

Name OUTPUT Ridwan Yan Ella

[2]
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_w25_qp_23.pdf

Keep practising this topic