Question 1(a)(i) 2015 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (a)
(i)
Part (a)
(i)
Any two variables with matching uses, one mark for the variable and one mark for the
- Counter(: INTEGER)
- to use as a loop counter when entering the temperatures
- HighestTemperature(: REAL)
- to store the highest temperature recorded
Show text version of question
Question 1
Part (a)
(i)
All variables, constants and other identifiers should have meaningful names.
(i)
When you performed the tasks, you used variables.
Write suitable declarations for two of these. State what you used each one for.
Variable 1 ..........................................................................................................................
Use ....................................................................................................................................
...........................................................................................................................................
Variable 2 ..........................................................................................................................
Use ....................................................................................................................................
.......................................................................................................................................[4]
Why this question appears here
83% 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_w15_qp_23.pdf
