Question 1(b) 2015 · May-June · Paper 21 · 5 marks
Reveal official mark-scheme answer

Official answer for Question 1
Part (b)
Part (b)
If loop used
- initialisation before loop
- loop
- running total inside loop
- calculation of average outside loop
- output of average with message outside loop
- total of 7 midday temperatures
- calculation of midday average (Note could be combined as one calculation,
- total of 7 midnight temperatures
- calculation of midnight average (Note could be combined as one calculation,
- output of both averages with suitable messages
Question 21
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. Use temperatures for one week only. You should assume that Task 1 has already been completed.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[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_s15_qp_21.pdf
