Past-paper question · 2024 May-June · Paper 23 · Q5(d)

Question 5(d) 2024 · May-June · Paper 23 · 2 marks

Original past-paper question for 5(D)
Original past-paper question for 5(D)
Original past-paper question for 5(D)
Original past-paper question for 5(D)
Reveal official mark-scheme answer Official mark-scheme answer for 5(D)

Official answer for Question 5

Part (d)

✓
One mark for every two appropriate identifiers, max two

Question 2

✓
Original identifier
✓
Improved identifier
✓
L
✓
Largest / Maximum
✓
S
✓
Smallest / Minimum
✓
T
✓
Total / Sum
✓
A
✓
Average / Mean
✓
0478/23
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2024
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s24_ms_23.pdf →

Show text version of question

Question 5

Part (d)

Question 5

The flowchart represents an algorithm.

START

L 0 S 10000 T 0

A
0

INPUT Limit

Count 1

INPUT Value

IS IS No No Value < S Value > L ? ?

Yes Yes

S Value L Value

T T + Value

IS No Count > Count Count + 1 Limit ?

Yes

A
T / Limit

OUTPUT "L = ", L, " S = ", S, " T = ", T, " A = ", A

STOP

Question 7

Part (d)

State a more appropriate identifier for each of the variables L, S, T and A

Original identifier Improved identifier

L

S

T

A

[2]
Topic relevance

Why this question appears here

92% 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_s24_qp_23.pdf

Keep practising this topic