Past-paper question · 2017 May-June · Paper 21 · Q1(a)(i)

Question 1(a)(i) 2017 · May-June · Paper 21 · 2 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)

Question 1

mark for two meaningful names of constants

✓
(1)

Question 2

✓
1 mark for two relevant values related to Task 1
✓
(1)
✓
Many correct answers, they must be meaningful. These are examples only.
✓
Coach_cost, 550
✓
Ticket_cost, 30
✓
Max_Students, 45
✓
Free_Ticket, 10 (allow 9)

Mark scheme 2210_s17_ms_21.pdf →

Show text version of question

Question 1

Part (a)

(i)

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

(i)

Name two constants you used for Task 1 and state the value of each one.

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

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

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

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

[2]
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_21.pdf

Keep practising this topic