Past-paper question · 2019 May-June · Paper 21 · Q1(a)(ii)

Question 1(a)(ii) 2019 · May-June · Paper 21 · 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)

✓
Many correct answers, the name must be meaningful. Names shown are

Question 6

✓
examples only.
✓
1 mark per bullet point
✓
•
✓
Task 2 variable name
✓
BusAMinsLate
✓
•
✓
Data type
✓
real
✓
•
✓
Purpose
✓
used in calculation of average minutes late
✓
•
✓
Task 3 variable name
✓
SearchDay
✓
•
✓
Data type
✓
string
✓
•
✓
Purpose
✓
to input the day to be searched for

Mark scheme 2210_s19_ms_21.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

State one variable you used for Task 2 and one variable you used for Task 3. In each

case, state the data type and purpose of the variable.

Task 2 variable name ........................................................................................................

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

Purpose .............................................................................................................................

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

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

Task 3 variable name ........................................................................................................

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

Purpose .............................................................................................................................

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

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

[6]

Question 4

Topic relevance

Why this question appears here

96% 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_s19_qp_21.pdf

Keep practising this topic