UML
Question 1 |
The sequence diagram given in Figure 1 for the Weather Information System takes place when an external system requests the summarized data from the weather station. The increasing order of lifeline for the objects in the system are:
Sat comms → Weather station → Commslink → Weather data | |
Sat comms → Comms link → Weather station → Weather data | |
Weather data → Comms link → Weather station → Sat Comms | |
Weather data → Weather station → Comms link → Sat Comms | |
Given options are wrong |
Question 1 Explanation:
A connection is established in order to send and receive data between sender and receiver. And a link is disconnect after completion of data transfer.
Given diagram, Sat Comms requests data to whether station, whether station requests data to Comms link and comm link requests data from whether data.
Comm link gets data first from whether data then the link between comm link and whether data is smallest. Similarly lifetime if connection between Sat comms and whether station is largest. Hence the increasing order of lifeline for the objects in the system are Weather data → Comms link → Weather station → Sat Comms.
Note: Most appropriate answer is option-C. According to given final key, given marks to all.
Given diagram, Sat Comms requests data to whether station, whether station requests data to Comms link and comm link requests data from whether data.
Comm link gets data first from whether data then the link between comm link and whether data is smallest. Similarly lifetime if connection between Sat comms and whether station is largest. Hence the increasing order of lifeline for the objects in the system are Weather data → Comms link → Weather station → Sat Comms.
Note: Most appropriate answer is option-C. According to given final key, given marks to all.
Question 2 |
Which of the following UML diagrams has a static view?
Collaboration diagram
| |
Use-Case diagram
| |
State chart diagram | |
Activity diagram
|
Question 2 Explanation:
Use case diagram