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

Question 1(d) 2017 · 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)
Reveal official mark-scheme answer Official mark-scheme answer for 1(D)

Official answer for Question 1

Part (d)

✓
Maximum 4 marks in total for question part

Question 4

✓
e.g.
✓
Explanation (may include reference to program statements)
  • check all boats for«
  • « return time < current time // current booking slot available or return time > current time// current booking slot not
✓
available
  • keep a running total of those available
  • display number of boats
✓
Example:
✓
FOR BoatNumber Å 1 to 10
✓
loop to check for all boats
✓
IF ReturnTime(BoatNumber) <= CurrentTime check return time against current time
✓
THEN BoatsAvailable Å BoatsAvailable + 1
✓
keep a running total
✓
ENDIF
✓
NEXT BoatNumber
✓
PRINT "Number of boats available ", BoatsAvailable
✓
display number of boats
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2017
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w17_ms_22.pdf →

Show text version of question

Question 1

Part (d)

Part (d)

Explain how your program finds out how many boats are available for hire (Task 2).

Any programming statements used must be fully explained.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

...............................................................................................................................................[4]

Question 6

Section B

Topic relevance

Why this question appears here

88% 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_w17_qp_22.pdf

Keep practising this topic