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

Question 1(a)(ii) 2015 · 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)

(ii)

Any two constant with matching uses, one mark for the constant and one mark for the

✓
matching use. The constants and the matching uses must relate to the tasks on the
✓
exam paper. There are several possible correct answers these are examples only.
✓
Constant 1
  • MinAppartmentTemperature = 21.5/22
✓
Use
  • to keep the temperature when the air-conditioning should be
✓
switched off
✓
Constant 2
  • MaxAppartmentTemperature = 24.5/24
✓
Use
  • to keep the temperature when the air-conditioning should be
✓
switched on
[4]

Mark scheme 2210_w15_ms_23.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

When you performed the tasks, you may have used constants.

Write suitable declarations for two of these. State what you used each one for.

Constant 1 .........................................................................................................................

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

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

Constant 2 .........................................................................................................................

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

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

Question 4

Topic relevance

Why this question appears here

85% 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_w15_qp_23.pdf

Keep practising this topic