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

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

✓
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
✓
Variable
✓
NumberOfTickets // NumberOfAdultTickets
✓
Data type
✓
Integer
✓
Use
✓
Inputting the number of tickets purchased // Inputting the number of adult tickets purchased

Mark scheme 0478_s22_ms_22.pdf →

Show text version of question

Question 1

Part (a)

(ii)

Question 1

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

(ii)

Identify one variable that you could have used for Task 2.

Give the data type and use of the variable.

Variable .............................................................................................................................

Data type ...........................................................................................................................

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

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

[3]
Topic relevance

Why this question appears here

79% 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 0478_s22_qp_22.pdf

Keep practising this topic