Past-paper question · 2018 October-November · Paper 23 · Q1(a)(i)

Question 1(a)(i) 2018 · October-November · Paper 23 · 6 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 any meaningful name in the format of an array related to Task 1 × 3 e.g.

Question 6

✓
1 mark correct data type AND purpose related to Task 1 × 3 e.g.
✓
CabinName
✓
string
✓
to store the cabin names
✓
CabinPricePeak
✓
real
✓
to store the cabin peak price
✓
CabinCapacity
✓
integer
✓
to store the number of occupants
✓
WeekNumber23
✓
integer/string/Boolean
✓
to store whether a cabin has been booked for that week

Mark scheme 2210_w18_ms_23.pdf →

Show text version of question

Question 1

Part (a)

(i)

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

(i)

State the name, data type and use of three arrays you have created for Task 1.

Array 1 name .....................................................................................................................

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

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

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

Array 2 name .....................................................................................................................

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

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

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

Array 3 name .....................................................................................................................

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

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

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

[6]
Topic relevance

Why this question appears here

89% assigned-topic match · Programming › Arrays

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

Keep practising this topic