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

Question 1(b) 2025 · May-June · Paper 23 · 4 marks

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

Official answer for Question 1

Part (b)

✓
One mark per mark point, max four

Question 4

✓
MP1
✓
Initialise a new variable at the start of the flowchart to total the biscuit weights.
✓
MP2
✓
Near the point where PassCount is incremented/after the yes for the weight decision box, add a new process
✓
(box)
✓
MP3
✓
… to add the weight of the current biscuit to the running total weight.
✓
MP4
✓
Outside the loop, calculate the average weight as total weight divided by number of biscuits that passed
✓
(PassCount)
✓
MP5
✓
Output the average weight, outside the loop.
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s25_ms_23.pdf →

Show text version of question

Question 1

Part (b)

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 (b)

Explain how you would alter the flowchart in 1(a) so that it calculates and outputs the average

weight of only the biscuits that passed the weight check.

You may include program statements or flowchart symbols in your answer, but they must be fully explained.

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

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

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

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

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

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

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

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

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

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

[4]
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