volume_mute
Weather Station State Machine
publish date: 2026/06/12 07:12:26.387767 UTC
volume_mute
The weather station state diagram shows how the system responds to requests for various services. Which state does the system enter when a reportWeather() message is received while the system is in the Running state?
Correct Answer
Summarizing
Explanation
When a reportWeather() message is received while the system is in the Running state, the system moves to the Summarizing state. When the summary is complete, it moves to a Transmitting state where the information is transmitted to the remote system, and then returns to the Running state. If a clock signal is received in Running state, the system moves to the Collecting state to collect data from instruments.
Reference
Software Engineering, Ian Sommerville, 10th edition
