Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

School Of Information Technology & Engineering

MTech Software Engineering


SWE-2018-Object Oriented Analysis Design
Lab Assignment-4
Title: Hotel Management System

Submitted By:
J SAGAR JOSHI-19MIS0093
G SAI KIRAN-19MIS0226

GUIDED BY:
Prabha Devi B
Slot: L27+L28
1. Draw the state chart and activity diagram for your system.
State chart for Hotel Management system
A state machine of the states of objects defined by State Chart Diagram. The
state machine can be called a machine that tells different states of an object
and these states are controlled by internal or external events. A state chart
diagram is a kind of diagram used in CS and a similar field to tell us about the
nature of the system. The Special kind of a diagram is the State chart diagram
is known as Activity Diagram. It is used to the model of the states of objects of
the time of life of an object so it is known as the State chart diagram. It shows
the various states as for transition for everything in the diagram.

1. It is one of the important UML diagrams used to model the spirited nature
of a system.
2. The important aim of a diagram is to creation to termination from the states
of objects.
3. These are also used for ahead and opposite engineering of a system. The
main aim is to model the responsible system.
4. They describe different types of states of an object during its time of life and
these states are updated by events and places where it used.
5. The main purposes of using State chart diagrams are follows,
• Design the dynamic aspect of a system.
• During its lifelong time defines the states of an object.
• Model the time of a responsible system in states.
• Tell a state product to design the states of an object.
State chart Diagram for login:
State chart Diagram for Book Room:
State chart Diagram for Ordering Food:
State chart Diagram for Payment:

Activity Diagram for Hotel Management System:

Activity diagram is another important diagram in UML to describe the dynamic


aspects of the system.
Activity diagram is basically a flowchart to represent the flow from one activity to
another activity. The activity can be described as an operation of the system.
The control flow is drawn from one operation to another. This flow can be sequential,
branched, or concurrent. Activity diagrams deal with all type of flow control by using
different elements.
The purpose of an activity diagram can be described as −
1. Draw the activity flow of a system.
2. Describe the sequence from one activity to another.
3. Describe the parallel, branched and concurrent flow of the system.

You might also like