MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SOFTWARE ENGINEERING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A dependency ____ in relationship of UML.
A
is a semantic relationship between two model elements in which a change to one element (the independent one) may affect the semantics of the other element (the dependent one).
B
is a structural relationship among classes that describes a set of links, a link being a connection among objects that are instances of the classes.
C
is a diagram
D
is an element
Explanation: 

Detailed explanation-1: -In UML, a dependency relationship is a relationship in which one element, the client, uses or depends on another element, the supplier.

Detailed explanation-2: -Dependency is a relationship between two things in which change in one element also affects the other.

Detailed explanation-3: -An “association” in UML is defined as a kind of relationship between classes, which represents the semantic relationship between two or more classes that involves connections (links) among their instances .

Detailed explanation-4: -Dependency in UML The most general relationship between two packages, classes, or objects is dependency, which is shown by a dashed arrow: Strictly speaking, A depends on B is changes to B might necessitate changes to A.

There is 1 question to complete.