0% found this document useful (0 votes)
6 views

software Engineering practical file 3

The document outlines a series of experiments focused on designing and implementing various UML diagrams and software requirements specifications for systems such as ATM, Library Management, and Hotel Management. It includes detailed instructions on using Star UML, explanations of UML diagram types, and problem statements for the systems being developed. Each experiment aims to enhance understanding of software design and management processes through practical applications of UML and ER diagrams.

Uploaded by

abhishek589271
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

software Engineering practical file 3

The document outlines a series of experiments focused on designing and implementing various UML diagrams and software requirements specifications for systems such as ATM, Library Management, and Hotel Management. It includes detailed instructions on using Star UML, explanations of UML diagram types, and problem statements for the systems being developed. Each experiment aims to enhance understanding of software design and management processes through practical applications of UML and ER diagrams.

Uploaded by

abhishek589271
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

EXPERIMENT-1

ATM class using star UML

AIM-
Explain UML and all its type. Design an ATM class using star UML

SOFTWARE USED-
Star UML

THEORY-

HOW TO DOWNLOAD AND INSTALL STAR UML?

1. Star UML can be downloaded from http://staruml.io/download. Select the OS


version suitable for your system and click on the download button. Mine is
Windows and is doing it for Windows OS. The size of the file is 127 MB.
2. Run the .exe file.
3. After installation, you can see the Star UML icon on the desktop screen.
4. The software will open directly and it will ask for buy now option or evaluate the
option. Click on evaluate.
5. The screen appears like this for the evaluated version.
6. If you check the C Drive, you can see the Star UML folder in the program file’s
location.

UML DIAGRAM-

UML stands for Unified Modeling Language. It’s a rich language to model software
solutions, application structures, system behavior and Business Processes.

UML Diagram Types-

There are two main categories:

1. Structure diagrams

• Class Diagram
• Component Diagram
• Deployment Diagram
• Object Diagram
• Package Diagram
• Profile Diagram
• Composite Structure Diagram
2. Behavioral diagrams

• Use Case Diagram


• Activity Diagram
• State Machine Diagram
• Sequence Diagram
• Communication Diagram
• Interaction Overview Diagram
• Timing Diagram

Class Diagram

Class diagram are the backbone of almost every object-oriented method, including
UML. They describe the static structure of a system.

Package Diagram

Package diagrams are a subset of class diagrams, but developers sometimes treat
them as a separate technique. Package diagrams organize elements of a system into
related groups to minimize dependencies between packages.

Object Diagram

Object diagrams describe the static structure of a system at a particular time. They can
be used to test class diagrams for accuracy.

Composite Structure Diagram

Use case diagrams model the functionality of a system using actors and use cases.

Activity Diagram

Activity diagrams illustrate the dynamic nature of a system by modeling the flow of
control from activity to activity. An activity represents an operation on some class in the
system that results in a change in the state of the system.

Sequence Diagram

Sequence diagrams describe interactions among classes in terms of an exchange of


messages over time.
Interaction Overview Diagram

Interaction overview diagrams are a combination of activity and sequence diagrams.


They model a sequence of actions and let you deconstruct more complex interactions
into manageable occurrences.

Timing Diagram

A timing diagram is a type of behavioral or interaction UML diagram that focuses on


processes that take place during a specific period of time.

Communication Diagram

Communication diagrams model the interactions between objects in sequence. They


describe both the static structure and the dynamic behavior of a system. In many ways,
a communication diagram is a simplified version of a collaboration diagram introduced
in UML 2.0.

State Diagram
State chart diagrams, now known as state machine diagrams and state diagrams
describe the dynamic behavior of a system in response to external stimuli. State
diagrams are especially useful in modeling reactive objects whose states are triggered
by specific events
OUTPUT-
EXPERIMENT-2

AIM:

Write down the problem statement for library management system and design the
system using UML diagram on Star UML.
Software Used: Star UML

Theory:

Library Management System-


A library management system is ERP software that is designed & developed to
manage all the in-house functions of a library. A librarian requires maintaining a
database of new books and the books that are borrowed by users along with their
due dates. This system completely automates all your library’s activities.

Problem statement- A library database system is an infrastructure that allows users


to search books and book content, add/remove, and download selected books. The
problem faced is that library users require an efficient method to find a specific book
or keyword(s) within a book given a continuously expanding library.
OUTPUT:
EXPERIMENT-3
AIM: Draw the sequence, collaboration, activity, component, deployment diagram for library
management system.

Software Used: Star UML


Theory:
Sequence diagram: This diagram, as the name suggests, contains the sequence of flow of
actions that are processed through a system and the life lines of the entities, when and how are
they accessed. It also contains the security like which entity can process which entity and which
one is visible, etc. There can be many number of sequence diagrams per each activity being
done.

Collaboration diagram: This diagram is a polymorphic form of the sequence diagram in which
the representation is different but application is the same. If we are able to create one
sequence diagram, then its very simple to create its collaboration diagram with a single key
click that varies from to software. There can be many number of collaboration diagrams per
each activity being done because there can be many number of sequence diagrams.

Activity diagram: This diagram denotes the structural flow of the activities in the form of flow
chart with decision boxes enhanced and hence is also used for troubleshooting like raising
exceptions when a particular action is done and the alternative to be done when something
abnormal is done. There can be only one activity diagram for the entire system including all the
activities that a system can perform.

Component diagram: Component diagram represents the components in which the particular
application needs to be installed or implemented on. It also shows the type of relation that
exists among the various components that are represented. Hence, only a single component
diagram representing all the components and their relations is needed for the entire system.

Deployment diagram: Deployment diagram is employed when we need to deploy the


application we developed. A single deployment diagram is possible for a single system.
Problem Statement:
Library Management System is library management software for the purpose of monitoring and
controlling the transactions in a library. Library management system gives us the complete
information about the library and the daily transactions done in a Library. We need to maintain
the record of new s and retrieve the details of books available in the library which mainly
focuses on basic operations in a library like adding new member, new books, and up new
information, searching books and members and facility to borrow and return books. It features
a familiar and well thought-out, an attractive user interface, combined with strong searching,
insertion and reporting capabilities.
The following are the brief description on the functions achieved through this system:
End-Users:
•Librarian: To maintain and update the records and also to cater the needs of the users.
•Reader: Need books to read and also places various requests to the librarian.
•Vendor: To provide and meet the requirement of the prescribed books.

SEQUENCE
DIAGR
COLLABORATION DIAGRAM

ACTIVITY DIAGRAM
COMPONENT DIAGRAM

DEPLOYMENT DIAGRAM
Experiment: 4
Aim: To perform the function orientation diagram: ER diagram

Software Used: Star UML

Theory:

An entity relationship diagram (ERD) shows the relationships of entity sets stored in a
database. An entity in this context is an object, a component of data. An entity set is a
collection of similar entities. These entities can have attributes that define its properties.

By defining the entities, their attributes, and showing the relationships between
them, an ER diagram illustrates the logical structure of databases.
ER diagrams are used to sketch out the design of a database.

An ER diagram is a means of visualizing how the information a system produces is


related. There are five main components of an ERD:

• Entities, which are represented by rectangles. An entity is an object or


concept about which you want to store information. A weak entity is an
entity that must defined by a foreign key relationship with another entity as
it cannot be uniquely identified by its own attributes alone.

• Actions, which are represented by diamond shapes, show how two entities
share information in the database. In some cases, entities can be self-linked.
For example, employees can supervise other employees.

• Attributes, which are represented by ovals. A key attribute is the unique,


distinguishing characteristic of the entity. For example, an employee's social
security number might be the employee's key attribute.

A multivalued attribute can have more than one value.


For example, an employee entity can have multiple skill values.

A derived attribute is based on another attribute. For


example, an employee's monthly salary is based on the employee's annual

salary.
• Connecting lines, solid lines that connect attributes to show the relationships
of entities in the diagram.
• Cardinality specifies how many instances of an entity relate to one instance of
another entity. Ordinality is also closely linked to cardinality. While
cardinality specifies the occurrences of a relationship, ordinality describes
the relationship as either mandatory or optional. In other words, cardinality
specifies the maximum number of relationships and ordinality specifies the
absolute minimum number of relationships.

Entity Relationship Diagram:


EXPERIMENT - 5

Software Requirements
Specification
for

Hotel Management System


Software Requirements Specification for Hotel Management System

1. Introduction
The regular hotel management system project entirely in an android app. This android application
allows the hotel manager to handle all hotel activities in his android phone. Interactive guy and the
ability to manage various hotel bookings and rooms from an android phone makes this hotel
management system very flexible and convenient. The hotel is a very busy person and does not
have the time to sit and manage the entire thing sitting at a single computer. This application gives
him the power and flexibility to manage the entire system from a single android phone. Hotel
management android project provides room booking, staff management and other necessary hotel
management features top make it a complete portable hotel management solution.

1.1 Purpose

The Software Requirements Specification (SRS) will provide a detailed description of the
requirements for the Hotel Management System (HMS). This SRS will allow for a complete
understanding of what is to be expected from the newly introduced system which is to be
constructed. The clear understanding of the system and its’ functionality will allow for the correct
software to be developed for the end user and will be used for the development of the future stages
of the project. This SRS will provide the foundation for the project. From this SRS, the Hotel
Management System can be designed, constructed, and finally tested.
This SRS will be used by the system development team which is constructing the HMS and the
hotel end users. The Project team will use the SRS to fully understand the expectations of this HMS
to construct the appropriate software. The hotel end users will be able to use this SRS as a “test” to
see if the constructing team will be constructing the system to their expectations. If it is not to their
expectations the end users can specify how it is not to their liking and the team will change the SRS
to fit the end users’ needs.
Software Requirements Specification for Hotel Management System

1.2 Document Conventions

The document is prepared using Microsoft Word 2016 and has used the font type 'Times New
Roman'. The fixed font size that has been used to type this document is 12pt with 1.5 line spacing. It
has used the bold property to set the headings of the document. Use case scenario is written
according to Alistair Cockburn’s template. UML diagrams have been created according to UML 2.0
standards. Standard IEEE template is the template used to organize the appearance of the document
and its flow.

1.3 Project Scope


The software product to be produced is a Hotel Management System which will automate the major
hotel operations. The first subsystem is a Reservation and Booking System to keep track of
reservations and room availability. The second subsystem is the Tracking and Selling Food System
that charges the current room. The third subsystem is a General Management Services and
Automated Tasks System which generates reports to audit all hotel operations and allows
modification of subsystem information. These three subsystems’ functionality will be described in
detail in section 2-Overall Description.
There are two end users for the HMS. The end users are the hotel staff (customer service
representative) and hotel managers. Both user types can access the Reservation and Booking
System and the Food Tracking and Selling System. The General Management System will be
restricted to management users.

The Hotel Management System’s objectives is to provide a system to manage a hotel that has
increased in size to a total of 100 rooms. Without automation the management of the hotel has
become an unwieldy task. The end users’ day-to-day jobs of managing a hotel will be simplified by
a considerable amount through the automated system. The system will be able to handle many
services to take care of all customers in a quick manner. The system should be user appropriate,
easy to use, provide easy recovery of errors and have an overall end user high subjective
satisfaction.
Software Requirements Specification for Hotel Management System

1.4 References
Books References:
1. lanSommerville, Software Engineering 8th edition.
2. ElmasriNavthe, Foundation of database system 3rd edition.
3. RaguRamakrishnan/johnesGehrke, Database management system 3rd edition.
4. Gerald W. Latin, Modern hotel management, W.H. Freeman 2011.
5. Michael J. O'Fallon, Denney G. Rutherford, Hotel Management and Operations illustrated
edition John Wiley & Sons, 2001

Internet References:
1. www.softwareadvice.com /hotel management
2. http://ww.high-level-software.com /features
3. ” Hotel Management Case Study”, March.6, 2010. [Online]. Available:
http://www.scribd.com/doc/27927992/Hotel-Management-Case-Study, [Accessed: June.28,
2014]
4. ” High-Level-Software Features”, [Online]. Available:
http://www.high-level-software.com/features/, [Accessed: June.25, 2014]
5. Lauesen, S, (2003), Task Descriptions as Functional Requirements, IEEE Computer Society,
Retrieved from http://www.itu.dk/~slauesen/Papers/IEEEtasks.pdf

2. Overall Description
2.1 Product Perspective

The Hotel Management System is a new self-contained software product which will be produced by
the project team in order to overcome the problems that have occurred due to the current manual
system. The newly introduced system will provide an easy access to the system and it will contain
user friendly functions with attractive interfaces. The system will give better options for the
Software Requirements Specification for Hotel Management System

problem of handling large scale of physical file system, for the errors occurring in calculations and
all the other required tasks that has been specified by the client. The outcome of this project will
increase the efficiency of almost all the tasks done at the Hotel in a much convenient manner.

2.2 User Classes and Characteristics

2.2.1 User Classes

There are three user levels in Hotel Management System.

1. Owner

2. Manager

3. Receptionist

2.2.2 Characteristics of User Classes

Owner: -
Hotel owner has the privilege of Monitoring and authorization of all the tasks handle by the system.
He can access every function performed by the system. Owner of the company as well as the system
can access to the administration panel which is consider the core of the system. As the main
authorized person of the company owner gets the ability to manage the other users including their
user levels and privileges. Taking backups of the system and restoring system can also be done by
the Owner. Meanwhile he will be able to take all the kinds of reports available in the system. As the
owner of the system and the company he has the power to set room rates as well. Hotel owner has
the sole right of deleting a staff member from the system database.

Manager:
Manager is responsible for managing resources available in hotel management system. Manager
also has most of the privileges mentioned above except the things regarding the payment handling.
The reason for using a Manager is to reduce the workload done by the owner that cannot be
assigned to the receptionist, as those tasks seem much responsible. The user level, Manager has the
authority to take all the reports available in the system but here also except the reports related to
Software Requirements Specification for Hotel Management System

financial stuff, hotel income. Manager has other abilities that receptionist, user level has. Such as,
adding new staff member to the system, modifying them or removing them, adding new guests to
the system, modifying them and removing them from the system, adding new inventory to the
system, modifying them and removing them. Adding new room types to the system, modifying
them and removing them.

Receptionist:
As a hotel receptionist, he or her role will be to attain the goals of bookings and to ensure that all
guests are treated with a high standard of customer service. Hierarchically receptionist role has the
least accessibility to the system functions. Receptionist plays the boundary role of the system. He or
she can perform limited functions such as registering new guest to the system, make reservations,
Sending e-mail reminders to clients for booking confirmation. Management of hotel will prefer to
hire receptionist who have a good standard of general education and possibly in subjects such as
English, math and IT.

2.3 Operating Environment


Hardware and software requirements
Hardware: -
1. Operating System Supports all known operating systems, such as Windows, Linux, Mac
2. Computer 512MB+ RAM, monitor with minimum resolution of 1024x768, keyboard, and
mouse
3. Hard Drive should be in NTFS filesystem formatted with minimum 10 GB of free space
1. A Laser printer will need to be used to print these reports and notes

Software: -
1. Software is designed to run on any platform above Microsoft Windows 7 (32bit).
2. Microsoft .NET Frameworks 4.0 or above.
3. Microsoft SQL Server Management Studio Express 2010.
Software Requirements Specification for Hotel Management System

2.4 Design and Implementation Constraints

Software development crew provides their best effort in developing the system. In order to maintain
the reliability and durability of system, some design and implementation constraints are applied.
Availability of an android app for hotel management system could make the system portable but
due to time constraint it is not possible. System will need a minimum memory of 512MB. But it is
recommended to have a memory of 1GB. When designing interfaces of system, we had the
capability of work with new tools such as Dev Express. Considering the client’s budget, we decided
to create those interfaces in a simple realistic manner using affordable technology.

2.5 Assumptions and Dependencies


Some software used in implementing the system is with high cost and the client has agreed to afford
the amount of money needed to purchase them. It’s assumed that client won’t change that decision
on the next phases of the software development. Although we assume that client is using windows 7
or windows 8. Otherwise if client use an open source operating system, there is a need of changing
the SRS accordingly.

3. System Features
1. Sometimes it happens that the rooms get booked soon when one visits the place therefore
user can make advance booking using this system.
2. It saves user time in search of rooms.
3. The system is useful as it calculates an exact cost for requested number of days.
4. It saves organization resources and expenses.
5. This system is effective and saves time and cost of users.
6. The system is portable i.e. cab ne used from anywhere.
7. Easy registration.

3.1.1 Functional Requirements

1. Make Reservation
2. Search Room
Software Requirements Specification for Hotel Management System

3. Add Payment
4. Issue Bills
5. Manage Guest (Add, Update Guest)
6. Manage Room Detail (Add, Update, Delete)
7. Manage Inventory (Add, Edit, Delete)
8. Manage Staff (Add, Update, Delete, View)
9. Set Rates
10. Retrieves reports (Staff payment, Income)
11. Manage Users (Add, Update, Delete)
12. Taking Backups
13. Email notification

4. Data Requirements
The logical database requirements include the retention of the following data elements. This list is
not a complete list and is designed as a starting point for development.

1. Booking/Reservation System
2. Customer first name
3. Customer last name
4. Customer address
5. Customer phone number
6. Number of occupants
7. Assigned room
8. Default room rate
9. Rate description
10. Guaranteed room (yes/no)
11. Credit card number
12. Confirmation number
13. Automatic cancellation date
Software Requirements Specification for Hotel Management System

14. Expected check-in date


15. Expected check-in time
16. Actual check-in date
17. Actual check-in time
18. Expected check-out date
19. Expected check-out time
20. Actual check-out date
21. Actual check-out time
22. Customer feedback
23. Payment received (yes/no)
24. Payment type
25. Total Bill

5. External Interface Requirements


5.1 User Interfaces

Screen Name Description


Login Log into the system as a CSR or Manager
Reservation Retrieve button, update/save reservation, cancel reservation, modify
reservation, change reservation, adjust room rate, accept payment
type/credit card
Check-in Modify room stay (e.g., new credit card), check-in customer (with or
without a reservation), adjust room rate, special requests, accept
payment type/credit card
Checkout Checkout customer, generate bill
Hotel Payment Accept payment for room and food
Room Service/Restaurant Create order, modify order, view order, cancel order, generate meal
bill
Software Requirements Specification for Hotel Management System

Screen Name Description


Customer Record Add or update customer records
Administer Rooms Availability and rates
Administer User Create, modify, and delete users; change password
Administer Meals Create, modify, and delete meal items and prices
Reports Select, view, save, and delete reports

User friendly dashboard of system

Login interface is used to login to the system using username and password for three different
users.

Copyright © 2019
Software Requirements Specification for Hotel Management System

Adding new guest to the system


Software Requirements Specification for Hotel Management System

Adding new property to the system

5.2 Software Interfaces


The computer this software going to be install need to have Windows Operating System equal or
above, Windows 7. On that Windows platform .Net 4.0 will be installed and that will be the
platform the software will be run. There will be an ADO.NET data transmission with the Microsoft
SQL Server Management Studio Express 2010 R2 edition that will be installed in the same
computer.
Software Requirements Specification for Hotel Management System

5.3 Hardware Interfaces

A specific computer must match with the above-mentioned requirements in order to gain the
maximum benefits from the system in an efficient manner.
Reservation alerts will be sent to the one of the members of hotel staff as an e-mail notification. So,
there is a need of broadband internet connection. Client should able to keep a stable internet
connection. A laser printer will be needed when printing bills and several reports

5.4 Communications Interfaces

When a specific reservation reserved at the same time an e-mail notification will be sent to both
relevant staff member’s e-mail account and guest’s account. Guest will be notified in the check-out
date. To achieve that functionality, it requires having a stable internet connection. Mostly a
broadband connection with the client’s computer will provide the efficient service.

5.4.1 USE CASE DIAGRAM


Software Requirements Specification for Hotel Management System

View Profile
& Gallery

User Login

Check Room
Availability

Make
Booking

Make
Payment

Cancel
Booking
Customer

Ask for room Administrator


& check
Booking

Check in
Time

Check out
Time
Recipients
Admin Login

Manage and
Update
Database

Copyright © 2019
Software Requirements Specification for Hotel Management System

5.4.2 CLASS DIAGRAM


Software Requirements Specification for Hotel Management System

5.4.3 SEQUENCE DIAGRAM

Copyright © 2019
Software Requirements Specification for Hotel Management System

6. Quality Attributes
1. Availability: - The system shall be available during normal hotel operating hours
2. Correctness: - extent to which program satisfies specifications, fulfills user’s mission
objectives
3. Efficiency: - How much less number of resources and time are required to achieve a
particular task through the system.
4. Flexibility: - Ability to add new features to the system and handle them conveniently.
5. Integrity: - How the system would insecure the information in the system and how it avoids
the data losses. Referential integrity in database tables and interfaces
6. Maintainability: - How easy is to keep the system as it is and correct defects with making
changes.
7. Portability: - The Hotel Management System shall run in any Microsoft Windows
environment
8. Reliability: - Specify the factors required to establish the required reliability of the software
system at time of delivery. Mean time between failures and mean time to recovery
9. Reusability: - What is the ability to use the available components of the system in other
systems as well.
10. Testability: - Effort needed to test to ensure performs as intended
11. Usability: - How easily a person can be taken the benefits of the system and the user
friendliness.
12. Robustness: – Strength of the system to handle system functions accurately and maintain
the database without facing to unexpected failures
13. Maintainability: – What design, coding standards must be adhered to exclusions created
Software Requirements Specification for Hotel Management System

7. Other Requirements
When the system is completely developed and submitted to the client, few sessions will be required
to make the users of the system understand about the functionality of it and some time to adapt to
the system. After those sessions, it’s required that a member from the development team should
spend sometime in the system background for an agreed time period. That time period will be used
in identifying new bugs that could not be reached in the earlier phases of the development process.
Client should have a valid e-mail account in order to receive reservation e-mail notifications.

Appendix A: Glossary
Check-out – settle one’s hotel bill before leaving
Check-in – the process whereby a guest announces their arrival at the hotel
Experiment-6

AIM

To perform the function oriented diagram: Data flow Diagram (DFD).

SOFTWARE USED

THOERY

Function Oriented Design is an approach to software design where the design is decomposed into a
set of interacting units where each unit has a clearly defined function.

Data Flow Diagram

A data flow diagram (DFD) maps out the flow of information for any process or system. It uses defined
symbols like rectangles, circles and arrows, plus short text labels, to show data inputs, outputs, storage
points and the routes between each destination.

Rules for creating DFD


• The name of the entity should be easy and understandable without any extra assistance(like
comments).
• The processes should be numbered or put in ordered list to be referred easily.
• The DFD should maintain consistency across all the DFD levels.
• A single DFD can have maximum processes upto 9 and minimum 3 processes .
DFD uses hierarchy to maintain transparency thus multilevel DFD’s can be created. Levels of DFD are
as follows:
• 0-level DFD
• 1-level DFD
• 2-level DFD

0-level DFDM

It is also known as fundamental system model, or context diagram represents the entire software
requirement as a single bubble with input and output data denoted by incoming and outgoing arrows.
Then the system is decomposed and described as a DFD with multiple bubbles. Parts of the system
represented by each of these bubbles are then decomposed and documented as more and more detailed
DFDs.

1-level DFD

In 1-level DFD, a context diagram is decomposed into multiple bubbles/processes. In this level, we
highlight the main objectives of the system and breakdown the high-level process of 0-level DFD into
subprocesses.

2-Level DFD

2-level DFD goes one process deeper into parts of 1-level DFD. It can be used to project or record the
specific/necessary detail about the system's functioning.
Experiment-7

AIM

To draw the Behavioral Diagram: State Chart Diagram.

Software used

StarUML

Theory

Behavioral Diagrams
A behavioral diagram shows how the system works ‘in motion’, that is how the system interacts with external entities and
users, how it responds to input or event and what constraints it operates under.

Behavioral Diagram Brief Description

It is a graphical representations of workflows of stepwise activities and actions with


Activity Diagram
support for choice, iteration and concurrency

It describes a system’s functional requirements in terms of use cases that enable you
Use Case Diagram
to relate what you need from a system to how the system delivers on those needs.

It shows the discrete behavior of a part of a designed system through finite state
State Machine Diagram
transitions.

It shows the sequence of messages exchanged between the objects needed to carry
Sequence Diagram
out the functionality of the scenario.

It shows interactions between objects and/or parts (represented as lifelines) using


Communication Diagram
sequenced messages in a free-form arrangement.

Interaction Overview Diagram It depicts a control flow with nodes that can contain other interaction diagrams.

It shows interactions when the primary purpose of the diagram is to reason about time
Timing Diagram
by focusing on conditions changing within and among lifelines along a linear time axis.

State Chart Diagram

State chart diagram is one of the five UML diagrams used to model dynamic nature of a system. They
define different states of an object during its lifetime. And these states are changed by events. So State
chart diagrams are useful to model reactive systems. Reactive systems can be defined as a system that
responds to external or internal events.

State chart diagram describes the flow of control from one state to another state. States are defined as
a condition in which an object exists and it changes when some event is triggered. So the most
important purpose of State chart diagram is to model life time of an object from creation to termination.

Statechart diagrams are also used for forward and reverse engineering of a system. But the main
purpose is to model reactive system.
Following are the main purposes of using Statechart diagrams:

• To model dynamic aspect of a system.


• To model life time of a reactive system.
• To describe different states of an object during its life time.
• Define a state machine to model states of an object.

Result

The experiment was studied and performed successfully.

You might also like