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:
A
Sat comms → Weather station → Commslink → Weather data
B
Sat comms → Comms link → Weather station → Weather data
C
Weather data → Comms link → Weather station → Sat Comms
D
Weather data → Weather station → Comms link → Sat Comms
E
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.
Question 2
Which of the following UML diagrams has a static view?
A
Collaboration diagram
B
Use-Case diagram
C
State chart diagram
D
Activity diagram
Question 2 Explanation: 
Use case diagram
There are 2 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access