Past-paper question · 2023 February-March · Paper 22 · Q8(b)

Question 8(b) 2023 · February-March · Paper 22 · 3 marks

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

Official answer for Question 8

Part (b)

Question 3

✓
for example including negative numbers / not differentiation between negative and positive values
✓
Correction
✓
One mark for correct placement and one mark for appropriate action
✓
For example – after the input box insert a decision box to reject negative numbers
✓
Cambridge IGCSE – Mark Scheme
✓
0478/22
✓
February/March 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_m23_ms_22.pdf →

Show text version of question

Question 8

Part (b)

Question 8

This flowchart represents an algorithm to find the average value of a number of sales.

START

NumberSales 0 Total 0

INPUT SaleValue

IS Yes SaleValue Average Total / NumberSales = 0?

No OUTPUT "Average sale NumberSales NumberSales + 1 value ", Average

Total Total + SaleValue STOP

Part (b)

Identify the error in the algorithm and describe how to correct it.

Error ..........................................................................................................................................

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

Correction .................................................................................................................................

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

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

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

[3]

Question 10

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

Keep practising this topic