Past-paper question · 2019 May-June · Paper 21 · Q1(b)

Question 1(b) 2019 · May-June · Paper 21 · 6 marks

Original past-paper question for 1(B)
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)

Question 1

mark for each point:

Question 6

✓
MP1
✓
Conditional statement to identify when a bus is late (punctuality
✓
< 0)
✓
MP2
✓
Count the number of late days for at least one bus route
✓
MP3
✓
Total the late minutes for at least one bus route
✓
MP4
✓
Calculation of average minutes late
✓
1 mark for each point (max three points):
✓
MP5
✓
Initialisation of counting/totalling variables
✓
MP6
✓
Iteration through days
✓
MP7
✓
Checking all buses«
✓
MP8
✓
Count late days and total minutes for all bus routes
✓
MP9
✓
Output of number of late arrivals or average minutes late for at
✓
least one bus route«
✓
MP10 Output complete with all bus routes with late arrivals and
✓
average minutes late, with appropriate messages
✓
Example algorithm on next page
✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2019
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s19_ms_21.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Write an algorithm to show how you calculated and output the number of late arrivals and the

average number of minutes late for each bus route (part of Task 2), using either pseudocode, programming statements or a flowchart.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Question 5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[6]

Question 6

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 2210_s19_qp_21.pdf

Keep practising this topic