Computer Science, asked by cpx35519, 10 months ago

Which one of the following can be said of a sequence diagram?
a. It is used to model the behavior of a single object when many use cases are executed
b. It is used to model the behavior of several objects when a single use case is executed
c. It is used to model the behavior of a single object when a single use case is executed
d. It is used to model the behavior of several objects when many use cases are executed

Answers

Answered by baldevsandhu367
0

Answer:

It is used to model the behaviour of several objects when many use cases are executed.

Explanation:

Sequence diagram is consists of group of objects, message transmitted among them and lifeline of message. It basically shows the interaction in the objects and how various tasks or objects are carried out while numerous use cases are being executed.

Answered by sourasghotekar123
0

Explanation for correct option

b:

  1. A sequence diagram or system sequence diagram depicts process interactions in time sequence.
  2. It depicts the processes involved as well as the message sequence exchanged between the processes required to carry out the functionality.
  3. When you want to examine the behaviour of multiple objects within a single use case, use sequence diagrams.

Explanation for incorrect options

a,c,d:

When a single use case is executed, a sequence diagram is used to model the behaviour of multiple objects.

Thus, options a, b and d are incorrect.

Hence, option b) is correct.

#SPJ2

Similar questions