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

Question 1(a)(i) 2018 · May-June · Paper 22 · 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)

✓
Variable name, data type and use one mark, max two

Question 2

✓
Several correct answers, the names chosen must be meaningful. Variables must
✓
relate to task 2
✓
Example
✓
Name
✓
totalMilk
✓
Data type
✓
integer/real
✓
Use
✓
to store the total volume of the milk for the week (to the nearest
✓
whole litre) (1)
✓
Name
✓
weeklyAverage
✓
Data type
✓
integer/real
✓
Use
✓
to store the average yield per week (1)

Mark scheme 2210_s18_ms_22.pdf →

Show text version of question

Question 1

Part (a)

(i)

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

(i)

State the name, the data type and the use of two variables that you have used in Task 2.

Variable 1 name ................................................................................................................

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

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

Variable 2 name ................................................................................................................

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

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

[2]
Topic relevance

Why this question appears here

74% assigned-topic match · Programming

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_s18_qp_22.pdf

Keep practising this topic