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

Question 1(a) 2020 · October-November · Paper 23 · 6 marks

Original past-paper question for 1(A)
Original past-paper question for 1(A)
Reveal official mark-scheme answer Official mark-scheme answer for 1(A)

Official answer for Question 1

Part (a)

✓
Constant name MaxSalad

Question 6

✓
Value

Question 3

✓
Use
✓
Storing the salad items a baguette can have
✓
Variable name
✓
OrderNumber
✓
Data type
✓
integer
✓
Use
✓
storing the next order number available
✓
Many correct answers, this is an example only.
✓
2210/23
✓
Cambridge O Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2020
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w20_ms_23.pdf →

Show text version of question

Question 1

Part (a)

Question 1

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

Part (a)

Identify one constant and identify one variable that you could have used for Task 1. Give the

value that would be assigned to the constant. Give the data type for the variable. State what each one could be used for.

Constant ...................................................................................................................................

Value .........................................................................................................................................

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

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

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

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

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

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

[6]
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_w20_qp_23.pdf

Keep practising this topic