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

Question 8(a) 2023 · February-March · Paper 22 · 4 marks

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

Official answer for Question 8

Part (a)

Question 4

✓
NumberSales
✓
Total
✓
SaleValue
✓
Average
✓
OUTPUT
✓
0
✓
0

Question 1

✓
5.50
✓
5.50

Question 2

✓
8.90
✓
3.40

Question 3

✓
15.15
✓
6.25

Question 4

✓
19.00
✓
3.85

Question 5

✓
8.00
  • 11.00
✓
0
✓
1.6
✓
Average sale value 1.6
✓
One mark for each column NumberSales, Total, SaleValue
✓
One mark for columns Average and OUTPUT
✓
Error – one mark for identification of error

Mark scheme 0478_m23_ms_22.pdf →

Show text version of question

Question 8

Part (a)

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

Complete the trace table using this data:

NumberSales Total SaleValue Average OUTPUT

[4]

Question 9

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