UML

Question 1
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 1 Explanation: 
Use case diagram
Question 2
Match each UML diagram in List-I with appropriate description in List-II
     List-I                                     List-II
(a) State Diagram        (i) Describe how the external entities (people, devices) 
                             can interact with the system
(b) Use case diagram    (ii) Used to describe the static or structural view of a system
(c) Class diagram      (iii) Usd to show the flow of a business process, the steps 
                             of a use case or the logic of an object behaviour
(d) Activity diagram    (iv) Used to describe the dynamic behaviour of objects and could 
                             also be used to describe the entire system behaviour
Code:
A
(a)-(i), (b)-(iv), (c)-(iii), (d)-(ii)
B
(a)-(iv), (b)-(ii), (c)-(i), (d)-(iii)
C
(a)-(iv), (b)-(i), (c)-(ii), (d)-(iii)
D
(a)-(i), (b)-(iv), (c)-(ii), (d)-(iii)
Question 2 Explanation: 
State diagram: Used to describe the dynamic behaviour of objects and could also be used to describe the entire system behaviour. Statechart diagram describes the flow of control from one state to another state. States are defined as a condition in which an object exists and it changes when some event is triggered. The most important purpose of Statechart diagram is to model lifetime of an object from creation to termination.
Use case diagram: Describe how the external entities (people, devices) can interact with the system. Use case diagrams are used to gather the requirements of a system including internal and external influences.
Class diagram: The purpose of class diagram is to model the static view of an application. Class diagrams are the only diagrams which can be directly mapped with object-oriented languages and thus widely used at the time of construction.
Activity diagram: Usd to show the flow of a business process, the steps of a use case or the logic of an object behaviour.
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