Question 1(b) 2015 · October-November · Paper 23 · 5 marks
Reveal official mark-scheme answer

Official answer for Question 1
Part (b)
Part (b)
Any four from:
- initialisation, set highest apartment temperature to a low value, set lowest apartment
- input temperature
- store in array
- test for temperature > highest apartment temperature reset highest apartment
- test for temperature < lowest apartment temperature reset lowest apartment temperature
- calculate range
- output highest temperature, lowest temperature and the range outside loop
Question 23
Show text version of question
Question 1
Part (b)
Part (b)
Write an algorithm to complete Task 2, using either pseudocode, programming statements
or a flowchart. You should assume that the temperatures taken over the five hours are already stored in an array.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[5]
Question 5
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
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
