Past-paper question · 2019 October-November · Paper 23 · Q1(b)

Question 1(b) 2019 · October-November · Paper 23 · 4 marks

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

Official answer for Question 1

Part (b)

✓
Any meaningful name for a variable related to Task 2 – one mark, e.g.

Question 4

  • NumberOfWalls
  • TotalArea
  • TotalCost
✓
Relevant data type for the variable related to Task 2 – one mark, e.g.
  • « Integer
  • « Real
✓
Relevant purpose for the variable related to Task 2 – one mark, e.g.
  • « to store the number of walls that need to be tiled
  • « to store the total area / cost
✓
One mark for a correct reason, e.g.
  • Variables allow the storage of values within a program that may change as
✓
the program runs // Variables are used to store values that are input or
✓
calculated
✓
2210/23
✓
Cambridge O Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2019
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w19_ms_23.pdf →

Show text version of question

Question 1

Part (b)

Part (b)

Name a variable that you used for Task 2. State the data type and purpose of this variable.

Explain why you chose to use a variable rather than a constant.

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

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

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

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

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

Reason for use of a variable .....................................................................................................

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

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

[4]

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

Keep practising this topic