Past-paper question · 2024 February-March · Paper 22 · Q8

Question 8 2024 · February-March · Paper 22 · 4 marks

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

Official answer for Question 8

✓
One mark for each column Total, Average and OUTPUT

Question 4

✓
One mark for columns NumberGroups and GroupSize
✓
NumberGroups
✓
Total
✓
GroupSize
✓
Average
✓
OUTPUT
✓
0
✓
0

Question 1

Question 7

Question 7

Question 2

Question 17

Question 10

Question 3

Question 19

Question 2

Question 4

Question 27

Question 8

Question 5

Question 30

Question 3

Question 6

Question 39

Question 9

✓
0

Question 6

✓
Average group size 6
✓
Question
✓
Answer
✓
Marks
✓
StorageID

Mark scheme 0478_m24_ms_22.pdf →

Show text version of question

Question 8

This flowchart represents an algorithm to find the average size of groups of visitors to an attraction.

START

NumberGroups 0 Total 0

INPUT GroupSize

IS Yes GroupSize Average DIV(Total, NumberGroups) = 0?

No OUTPUT "Average group NumberGroups NumberGroups + 1 size ", Average

Total Total + GroupSize STOP

Complete the trace table using this data:

7, 10, 2, 8, 3, 9, 0, 6

NumberGroups Total GroupSize Average OUTPUT

[4]

Question 11

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

Keep practising this topic