State machine diagram Flashcards Preview

System Design Engineering > State machine diagram > Flashcards

Flashcards in State machine diagram Deck (8)
Loading flashcards...
1
Q

What is a state machine diagram?

A

A diagram that describes behaviours of an object in term of:

  • The state that the object can be in
  • The transitions between the states
2
Q

Describe general syntax for labelling a transition

A

eventName(parameters)[guard]/actions

3
Q

What is a composite state?

A

A state that includes many sub-states

The sub-states often share common transitions and actions

4
Q

What is a state?

A

A point in the life-cycle of the object during which the object satisfies certain conditions and can respond to some kind of events

5
Q

What is the meaning of transition to a composite state?

A

To start the sub-flow in the composite state

6
Q

What is the meaning of transition from a composite state?

A

Can be applied to any of the sub-states in the composite state

7
Q

Give history state example

Give concurrent states example

A

-

- States that exist in the composite state at the same time

8
Q

How to hide the complexity of the state machine diagram?

A
  • Using entry and exit point

- Draw the composite state in details elsewhere