Past-paper question · 2017 May-June · Paper 22 · Q1(a)(ii)

Question 1(a)(ii) 2017 · May-June · Paper 22 · 6 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)

✓
Two constants required, for each constant

Question 6

✓
Name
✓
(1)
✓
-
✓
Value
✓
(1)
✓
-
✓
Use
✓
(1)
✓
-
✓
Many correct answers, they must be meaningful. These are examples only.
✓
MinNoSeniorCitizens (1), 10 (1), minimum number of senior
✓
-
✓
citizens that can go on the outing (1)
✓
MaxNoSeniorCitizens (1), 36 (1), maximum number of senior
✓
-
✓
citizens that can go on the outing (1)

Mark scheme 2210_s17_ms_22.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

State two constants that you could have used for Task 1. Give the value that would be

assigned to each one and explain what it is used for.

Constant 1 name ................................................................................................................

Value 1 ...............................................................................................................................

Use 1 ..................................................................................................................................

Constant 2 name ................................................................................................................

Value 2 ...............................................................................................................................

Use 2 ..................................................................................................................................

[6]
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_s17_qp_22.pdf

Keep practising this topic