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

Question 1(a)(ii) 2018 · October-November · Paper 23 · 2 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)

Question 1

mark for any meaningful name for a variable related to Task 2 e.g.

Question 2

✓
Cabin / CabinID / CabinName
✓
NumWeeks
✓
StartWeek
✓
BookingCode
✓
Capacity
✓
TotalCost
✓
1 mark for correct data type AND purpose related to Task 2 e.g.
✓
string to enter the ID/Name of the required cabin or chalet
✓
integer to record the number of weeks for the holiday
✓
string (allow integer) to enter the start week of the holiday.
✓
2210/23
✓
Cambridge O Level – Mark Scheme
✓
October/November 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w18_ms_23.pdf →

Show text version of question

Question 1

Part (a)

(ii)

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

(ii)

State the name, data type and use for one variable you used in Task 2.

Variable name ...................................................................................................................

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

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

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

[2]

Question 4

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

Keep practising this topic