These are flashcards an notes made by students on topics like 'state', 'behaviors' and 'entry', originating from:

- Michael Jesse Chonoles
ISBN-10 0128096403 ISBN-13 9780128096406
1335 Flashcards & Notes
  • This + 400k other summaries, also in PDF!
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Study Cards on state, behaviors, entry

Besides the do/behavior within a state, we have the ability to specify entry and exit behavior.

When are te entry and exit behaviors executed?
These behaviors are always executed as the state is entered or exited.

They are typically used to initialize state conditions or variables and to restore them after the state is finished.
Report
In the figure, we see the use of entry and exit combined with do/behavior.

What behaviors are this?
These are INTERNAL BEHAVIORS and are often placed in their own compartments
Report
What are the Internal Behaviors?
The internal behaviors are:

  • Entry
  • Do
  • Exit

These are reserved words and cannot be used as te name of events that might appear elsewhere.

Because events can also be used on Activity, Sequence, and Timing diagrams, it is best to avoid using them in any way that could be inconsistent with their reserved use in State Machine diagrams.
Report
  • Higher grades + faster learning
  • Don't study anything twice
  • 100% sure, 100% understanding
Discover Study Smart