Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

LAB7

TITLE: TO DRAW STATE DIAGRAM OF A MANAGEMENT


SYSTEM
OBJECTIVE
 To write down the functional and non-functional requirement of a job
searching and hiring website.
THEORY
A state diagram, is an illustration of the states an object can attain as well as the
transitions between those states in the Unified Modeling Language (UML). It
models the behavior of a class, a subsystem, a package, and a complete system.
State machine diagram is used for:
1. For modeling the object states of a system.
2. For modeling the reactive system as it consists of reactive objects.
3. For pinpointing the events responsible for state transitions.
4. For implementing forward and reverse engineering.

Following are the notations of a state machine diagram enlisted below:


a. Initial state: It defines the initial state (beginning) of a system, and it is
represented by a black filled circle.
b. Final state: It represents the final state (end) of a system. It is denoted by
a filled circle present within a circle.
c. Decision box: It is of diamond shape that represents the decisions to be
made on the basis of an evaluated guard.
d. Transition: A change of control from one state to another due to the
occurrence of some event is termed as a transition. It is represented by an
arrow labeled with an event due to which the change has ensued.
e. State box: It depicts the conditions or circumstances of a particular object
of a class at a specific point of time. A rectangle with round corners is
used to represent the state box.
Types of State
1. Simple state: It does not constitute any substructure.
2. Composite state: It consists of nested states (substates), such that it does
not contain more than one initial state and one final state. It can be nested
to any level.
3. Submachine state: The submachine state is semantically identical to the
composite state, but it can be reused.
In this figure, we can say that that the company logs in and after validation gets
into the website then it checks the resume, interviews the person . if rejected the
system is terminated if not then the person is offered the job which is then
accepted and finally after hiring the person the system is terminated .
CONCLUSION
Hence, we learned state diagram and its importance. We were also familiarized
with the different notations of state diagram. Finally, we made an state diagram
for a job portal system.

You might also like