0
1.2kviews
Describe any four notations used in state diagram. Also draw a state diagram for Hospital Management System. OR Draw and state notations for state diagram.

OR

Explain the notations used in state diagram.

OR

Enlist various notation in state diagram. Explain state.

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 8 Marks

1 Answer
0
13views
Sr. No. Name Symbol Description
1 State enter image description here A state is a condition or a situation in the life of an object during which it satisfies some conditions, performs some activity or waits for some events. It is represented with a rounded rectangle. Name of the state is written inside the rectangle.
2 Initial State enter image description here It indicates the default starting place of the state diagram. An initial state is represented as filled circle.
3 Final State enter image description here Final state indicates end of the execution of the system. It is represented as a filled black circle surrounded by an unfilled circle
4 Transition enter image description here A transition is a relationship between two states. It indicates that an object in the first state performs some action and enters in the second state when a specific event occurs. Transition is represented with a directed line.
5 Event enter image description here An event is the specification of a significant occurrence that has location in time and space. An event can be a signal or a call to a function. An event is indicated with text written above or below transition line.
6 Action enter image description here An action is an executable computation. Action may include operation calls, the creation and destruction of another object or sending of a signal to an object. It is indicated with text written below or above the transition line associated with an event separated by slash

State Diagram for Hospital Management System:

enter image description here

Please log in to add an answer.