Past-paper question · 2022 May-June · Paper 22 · Q1(a)(i)

Question 1(a)(i) 2022 · May-June · Paper 22 · 3 marks

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

Official answer for Question 1

Part (a)

(i)

✓
Many correct answers, the name used must be meaningful. The name given is an example only.

Question 3

✓
One mark per mark point, max three
✓
Constant
✓
AdultCostOneDay
✓
Value
✓
20.00
✓
Use
✓
Storing the cost of an adult ticket for one day

Mark scheme 2210_s22_ms_22.pdf →

Show text version of question

Question 1

Part (a)

(i)

Question 1

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

(i)

Identify one constant that you could have used for Task 1.

Give the value and use of the constant.

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

Value .................................................................................................................................

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

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

[3]
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_s22_qp_22.pdf

Keep practising this topic