state charts Flashcards
what are statechart diagrams
show the behaviour of the system in response to external and internal events
what are statechart diagrams used for
modelling real time systems
They show system states as?
nodes
they show events as?
arcs
Are statecharts an integral part of Unified Modelling Language (UML)
yes
how is an initial state denoted
solid circle and is optional as system can start in difference places
how is a final state denoted
solid circle with a ring around it and is also option
how are states represented
rounded rectangles
What does each state contain
state name and a brief description of the action performed
Does a state machine model show the flow of data within the system?
no
what is ‘do’
optional - brief description of actions is included following the do in each state
What does the label on an arc denote?
the method called to move from one state to the net(event)
why is a guard used?
to ensure the system only moves from one state to another if an expression is satisfied
what is a composite state
a state containing a subdiagram witjin in. Useful when you want to model subsystem
how would you denote actions after an event?
using a /