Past-paper question · 2021 October-November · Paper 22 · Q1(d)

Question 1(d) 2021 · October-November · Paper 22 · 4 marks

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

Official answer for Question 1

Part (d)

✓
Explanation of how each of the following could be done

Question 4

✓
Any four from:
✓
MP1 Declaring/using a counter to store the number of bookings for each passenger
✓
MP2 Updating the counter for the number of bookings made by each passenger
✓
MP3 Attempt to check the number of bookings …
✓
MP4 … for the correct condition e.g. if the number of bookings is more than 10 / equal to 10
✓
MP5 Apply the extra discount to the total price of future journeys
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
October/November 2021
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks
✓
Section B

Mark scheme 2210_w21_ms_22.pdf →

Show text version of question

Question 1

Part (d)

Question 1

All variables, constants and other identifiers must have meaningful names.

Part (d)

Explain how your program could be changed to count and store the number of bookings

made by each passenger. Then, after ten bookings have been made by a passenger, apply an additional 10% discount to every future booking. Any programming statements used in your answer must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[4]

Question 7

Section B

Topic relevance

Why this question appears here

84% assigned-topic match · Programming

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

Keep practising this topic