Created by José Alfredo Santes Benítez
over 6 years ago
|
||
Question | Answer |
What is a State Diagram? | A state diagram shows the behavior of classes in response to external stimuli. Specifically a state diagram describes the behavior of a single object in response to a series of events in a system. |
What is the Difference between a State Diagram and a Flowchart? | A flowchart illustrates processes that are executed in the system that change the state of objects. A state diagram shows the actual changes in state, not the processes or commands that created those changes. |
How to Draw a State Diagram | 1. Find the initial and final state of the object in question. 2. Think of the states the object might undergo. 3. Certain transitions will not be applicable when an object is in a particular state |
Basic State Chart Diagram Symbols and Notations | States Transition Initial State Final State Synchronization and Splitting of Control History |
States |
States represent situations during the life of an object. You can easily illustrate a state in SmartDraw by using a rectangle with rounded corners.
Image:
States (binary/octet-stream)
|
Transition | A solid arrow represents the path between different states of an object. A state can have a transition that points back to itself. |
Initial State | A filled circle followed by an arrow represents the object's initial state. |
Final State | An arrow pointing to a filled circle nested inside another circle represents the object's final state. |
Synchronization and Splitting of Control | A short heavy bar with two transitions entering it represents a synchronization of control. |
History | The history icon is placed inside a superstate to model the behavior of the superstate having intelligence to remember the last substate that control was in. |
Want to create your own Flashcards for free with GoConqr? Learn more.