Question 1 2017 · October-November · Paper 41 · 7 marks
Reveal official mark-scheme answer
Official answer for Question 1
Question 7
Show text version of question
Question 1
temperature.
If the temperature rises above 20 °C, the window half opens. If the temperature rises above 30 °C, the window fully opens. If the temperature drops below 25 °C, the window returns to being half open. If the temperature drops below 15 °C, the window fully closes.
The window has three possible states: Closed, Half Open and Fully Open.
Current state Event Next state Closed Temperature rises above 20 °C Half Open Half Open Temperature drops below 15 °C Closed Half Open Temperature rises above 30 °C Fully Open Fully Open Temperature drops below 25 °C Half Open
Complete the state-transition diagram for the window:
................................. .................................
......................... ......................... ......................... .........................
................................. ................................. ................................. .................................
................................. .................................
......................... .........................
Question 3
Why this question appears here
71% assigned-topic match · Programming › Constructs
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 9608_w17_qp_41.pdf
