volume_mute

Weather Station System Testing - Sequence Diagram

publish date2026/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:

Weather information system SatComms WeatherStation Commslink WeatherData request (report) acknowledge reportWeather () acknowledge get (summary) summarise () send (report) acknowledge reply (report) acknowledge

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


Quizzes you can take where this question appears