Question 6 2022 · May-June · Paper 11 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 6
Question 6
Show text version of question
Question 6
Many houses in cooler countries have central heating systems. In a central heating system, microprocessors are used to control the pump which sends water from the boiler to the individual heaters.
Complete the pseudocode algorithm to show the processing which takes place in this microprocessor-controlled central heating system. The algorithm must prevent attempting to switch the pump on when it is already on and attempting to switch the pump off when it is already off. You may assume temperature is the variable representing the actual temperature of the house and preset represents the required temperature of the house.
REPEAT INPUT temperature IF temperature < preset THEN
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
....................................................................................................................................................
Question 9
Why this question appears here
80% assigned-topic match · Algorithms and flowcharts › Algorithms and flowcharts
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 9626_s22_qp_11.pdf
