Weather Station Interfaces
publish date: 2026/06/12 07:12:27.272194 UTC
The weather station system has two interfaces defined. Drag the correct interface name into each placeholder.
The (1) interface defines operations used to generate weather and status reports - specifically weatherReport(WS-Ident) and statusReport(WS-Ident). The (2) interface provides four operations - startInstrument, stopInstrument, collectData, and provideData - which all map onto a single method in the WeatherStation object using a command string.
Correct Answer
Explanation
The Reporting interface defines operations used to generate weather and status reports (weatherReport and statusReport), which map directly to operations in the WeatherStation object. The Remote Control interface provides four operations (startInstrument, stopInstrument, collectData, provideData) that map onto a single remoteControl method in WeatherStation - the individual operations are encoded in the command string associated with remoteControl.
Reference
Software Engineering, Ian Sommerville, 10th edition
