Past-paper question · 2017 October-November · Paper 23 · Q1(a)(ii)

Question 1(a)(ii) 2017 · October-November · Paper 23 · 4 marks

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

Official answer for Question 1

Part (a)

(ii)

Question 1

mark per bullet:

Question 4

✓
•
✓
Name of variable
✓
•
✓
Purpose of variable
✓
•
✓
Name of constant
✓
•
✓
Purpose of constant
✓
Many correct answers, they must be meaningful. These are examples only.
✓
Variable
✓
NumFlights
✓
to store the number of flights in a day
✓
Constant
✓
FlightCost2Seat30
✓
to store the cost of a 30 minute flight in a 2 seater plane
✓
2210/23
✓
Cambridge O Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2017
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w17_ms_23.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

Name one variable and one constant you used for Task 1 and state the purpose of each

one.

Variable .............................................................................................................................

Purpose .............................................................................................................................

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

Constant ............................................................................................................................

Purpose .............................................................................................................................

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

[4]

Question 4

Topic relevance

Why this question appears here

96% assigned-topic match · Programming › Programming concepts

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

Keep practising this topic