SOFTWARE ENGINEERING

SOFTWARE DESIGN

OBJECT ORIENTED DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following statements is TRUE about state diagrams?
A
good way to represent the behavior of an object across many Use Cases
B
a good way to represent the behavior of many objects across many Use Cases
C
good way to represent the behavior of many objects in a Use Case
D
good way to represent sequence of actions for objects and Use Cases
Explanation: 

Detailed explanation-1: -State diagrams are good at describing the behavior of an object across several use cases. State diagrams are not very good at describing behavior that involves a number of objects collaborating. As such, it is useful to combine state diagrams with other techniques.

Detailed explanation-2: -A state machine diagram models the behaviour of a single object, specifying the sequence of events that an object goes through during its lifetime in response to events.

Detailed explanation-3: -The state machine diagram is also called the Statechart or State Transition diagram, which shows the order of states underwent by an object within the system. It captures the software system’s behavior.

There is 1 question to complete.