Past-paper question · 2025 May-June · Paper 23 · Q1(a)

Question 1(a) 2025 · May-June · Paper 23 · 6 marks

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

Official answer for Question 1

Part (a)

✓
One mark per mark point

Question 6

✓
MP1
✓
input Weight
✓
MP2
✓
correct check for Weight = –1
✓
MP3
✓
correct check for Weight between 16.2 and 17.2 inclusive
✓
MP4
✓
correct increment for PassCount
✓
MP5
✓
correct increment for RejectCount
✓
MP6
✓
output PassCount and RejectCount
✓
START
✓
PassCount
✓
0
✓
0
✓
RejectCount
✓
INPUT
✓
Weight
✓
Yes
✓
IS Weight = –1
✓
N o
✓
?
✓
OUTPUT
✓
IS Weight >= 16.2
✓
No
✓
PassCount
✓
AND Weight <= 17.2
✓
?
✓
Yes
✓
OUTPUT
✓
RejectCount
✓
PassCount PassCount + 1
✓
RejectCount RejectCount + 1
✓
STOP
✓
0478/23
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2025
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s25_ms_23.pdf →

Show text version of question

Question 1

Part (a)

Question 1

The flowchart shows an algorithm used for quality control on a biscuit production line.

The weight of each biscuit is entered into the variable Weight. If the weight of the biscuit is between 16.2 and 17.2 grammes, inclusive, the pass counter is incremented by 1. Otherwise, the reject counter is incremented by 1. The process continues until –1 is entered, after which, the totals for pass and reject counters are output.

Part (a)

Complete this flowchart.

START

PassCount 0

RejectCount 0

Yes

No

No

Yes

STOP

[6]

Question 3

, ,

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

Keep practising this topic