Behavior : State Machine Diagrams - What is a State and State Machine
17 important questions on Behavior : State Machine Diagrams - What is a State and State Machine
What is a state?
Some property (or properties) is invariant over time, and these properties are relevant to how the object behaves
What are properties n a State Machine??
The time can be of long or short duration.
What is a State Machine?
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
All instances of a class share the same state machine, though each instance may be in.....?
As a new instance is made, it becomes subject to the rules of the state machine and starts the state machine at the same...?
As an instance is destroyed, it also ends its pass through the state machine at a ...... ?
Similarly, every run-time execution of a behavior shares the....
Throughout the life of the instance or the life of the behavior execution, the path through the state machine is defined by the rules of the state machine and the interactions with incoming ....?
What happens if the state machine is complex?
The first State example.
The name may appear ...... used when the body of the roundtangle is otherwise empty.
Because a state machine diagram is also a namespace, if two roundtangles appear with the same name on the same diagram, they represent....?
unnamed states are considered as each representing a ....?
Many states can be formalized by specifying a logical constraint on the obkects values (Slots)
Can you name an example?
{13 ≤ Person.age ≤ 19}
In this case, an incoming event of the Person’s 20th birthday changes the state.
We can also base a state on the properties of an associated object.
Can you give an example.
{Person.spouse.isLiving = False}
A subsequent marriage event can change this Person’s state.
Sometimes, a state may be based on an ongoing activity or behavior.
Can you give an example?
How can the usefulness of a state be judged?
What do we do when:
- If an object accepts the same set of queries, signals, and operation calls in two different states
- and responds identically to these behavior requests
- the two states are essentially the same
If there is no discernable difference
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)
Topics that are related to Behavior : State Machine Diagrams - What is a State and State Machine
-
Behavior : State Machine Diagrams - What is a State and State Machine - States and Modes
-
Behavior : State Machine Diagrams - What is a State and State Machine - Qualitatively different states
-
Behavior : State Machine Diagrams - What is a State and State Machine - Naming states
-
Behavior : State Machine Diagrams - What is a State and State Machine - Overlapping States
-
Behavior : State Machine Diagrams - What is a State and State Machine - Finding States