volume_mute
Weather Station System Testing - Sequence Diagram
publish date: 2026/06/18 05:28:23.040727 UTC
volume_mute
The wilderness weather station software summarizes data and reports it to a remote computer. A request for a weather report triggers the following method chain:
What is the correct sequence of method calls triggered when SatComms issues a report request?
Correct Answer
SatComms:request - WeatherStation:reportWeather - CommsLink:Get(summary) - WeatherData:summarize
Explanation
Issuing a request for a report results in this thread of methods: SatComms:request triggers WeatherStation:reportWeather, which triggers CommsLink:Get(summary), which triggers WeatherData:summarize. The summarized data is then returned back through the chain to SatComms as a weather report. Sequence diagrams like this help identify operations to be tested and the objects involved.
Reference
Software Engineering, Ian Sommerville, 10th edition
