Question 1(b) 2019 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
Question 4
- NumberOfWalls
- TotalArea
- TotalCost
- « Integer
- « Real
- « to store the number of walls that need to be tiled
- « to store the total area / cost
- Variables allow the storage of values within a program that may change as
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 .....................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Question 4
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
