Past-paper question · 2015 May-June · Paper 21 · Q1(a)(iii)

Question 1(a)(iii) 2015 · May-June · Paper 21 · 4 marks

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

Official answer for Question 1

Part (a)

(iii)

(iii)

Any two variables with matching reasons, 1 mark for the variable and 1 mark

✓
for the matching reason. The variables and the matching reasons must relate to
✓
the tasks in the pre-release. There are many possible correct answers these are
✓
examples only.
✓
Variable
  • Counter: (Integer)
✓
Reason
  • to use as a loop counter when entering the temperature
✓
Variable
✓
–
✓
HighNoon: (Real)
✓
Reason
✓
–
✓
to store the highest midday temperature
[4]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge O Level – May/June 2015
✓
2210

Question 21

Mark scheme 2210_s15_ms_21.pdf →

Show text version of question

Question 1

Part (a)

(iii)

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

(iii)

Declare two other variables that you have used and state what you used each one for.

Variable 1 ...........................................................................................................................

Use .....................................................................................................................................

Variable 2 ...........................................................................................................................

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

Question 4

Topic relevance

Why this question appears here

83% 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_s15_qp_21.pdf

Keep practising this topic