0% found this document useful (1 vote)
1K views

Railway Reservation in Ooad

The document describes developing a railway reservation system using Rational Rose software and Visual Basic. It discusses analyzing the requirements and refining the process to allow efficient online reservation. The key modules are login, checking availability, booking tickets, and payment details. UML diagrams including use case, class, sequence, collaboration, state chart, activity, component, deployment, and package diagrams are created to model the system. The project aims to allow passengers to reserve tickets by logging in, searching for trains, booking seats if available, and paying for tickets.

Uploaded by

tamil selvan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views

Railway Reservation in Ooad

The document describes developing a railway reservation system using Rational Rose software and Visual Basic. It discusses analyzing the requirements and refining the process to allow efficient online reservation. The key modules are login, checking availability, booking tickets, and payment details. UML diagrams including use case, class, sequence, collaboration, state chart, activity, component, deployment, and package diagrams are created to model the system. The project aims to allow passengers to reserve tickets by logging in, searching for trains, booking seats if available, and paying for tickets.

Uploaded by

tamil selvan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

EXNO:6 RAILWAY RESERVATION SYSTEM

DATE:

AIM :
To develop the Railway Reservation System using Rational Rose
Software and to implement the software in visual basic.
PROBLEM ANALYSIS AND PROJECT PLANNING :
In the Railway Reservation system ,the purpose of this source is to
describe the railway reservation system which provides the train timing
details ,reservation, billing and cancellation . In detail, the main process is
that the passenger first have to log in to the system and then he can choose
his destination by filling the source and destination textfield . Then he
wants to know about all the trains and their timings for the decided
destination and this should be listed on the screen .Then he needs to know
the seat availability and also to decide which type of class . Then only the
passenger can pay for the tickets he booked or else he can cancel the tickets.

PROBLEM STATEMENT:
The Railway Reservation System is the initial requirement to
develop the project about the mechanism of the Online Railway
Reservation System what the process do at all.
a. The requirement are analyzed and refined which enables the
end users to efficiently use the online Railway Reservation
System.
b. The complete project is developed after the whole project
analysis explaining about scope and project statement is
prepared.
c. The main scope for this project is the applicant/passenger
should reserve for the train ticket.
d. First the applicant wants to login to the database after that
the person wants to fill their details.
e. Then the database will search for ticket or else the person
will cancelled the ticket if he/she no need.

MODULES:
Modules in this Project are,
1. Login
2. Check Availability
3. Booking Tickets
4. Payment Details.
The module descriptions for this project are successfully defined below.
LOGIN:
Before entering the system,users have to login. Get the user name
and password from existing users. Give the new users the option to sign
up.
CHECK AVAILABILITY:
Get the source and destination. Provide a drop down list box for
the date. Check Availability of Tickets.

BOOKING TICKETS:
If tickets are available, get the number of passengers. Get the name
and age of all passengers. If tickets are not available then reschedule.

PAYMENTS DETAILS:
Print the cost of the tickets. Get the payment details from the user.
Confirm the details and the tickets. Display Confirmed ticket to the user.
DESIGN PHASE:
USE CASE DIAGRAM:
A use case is a methodology used in system analysis to identify,
clarify, and organize system requirements. The use case is made up of a set
of possible sequences of interactions between systems and users in a
particular environment and related to a particular goal. It is represented
using ellipse. Actor is any external entity that makes use of the system
being modelled. It is represented using stick figure .The use case diagram
for the railway reservation system is shown below .

CLASS DIAGRAM:
A class diagram in the unified modelling language (UML) is a type
of static structure diagram that describes the structure of a system by
showing the system's classes, their attributes, and the relationships between
the classes. It is represented using a rectangle with three compartments.
Top compartment have the classname, middle compartment the attributes
and the bottom compartment with operations. .The class diagram for the
railway reservation system is shown below .
SEQUENCE DIAGRAM:
A sequence diagram in Unified Modelling Language (UML) is a
kind of interaction diagram that shows how processes operate with one
another and in what order. It is a construct of a Message Sequence Chart.
There are two dimensions.
1. Vertical dimension-represent time.
2. Horizontal dimension-represent different objects.
The Sequence diagram for the railway reservation system is shown below
.
COLLABRATION DIAGRAM:
A collaboration diagram, also called a communication diagram or
interaction diagram. A sophisticated modelling tool can easily convert a
collaboration diagram into a sequence diagram and the vice versa. A
collaboration diagram resembles a flowchart that portrays the roles,
functionality and behavior of individual objects as well as the overall
operation of the system in real time.
The collaboration diagram for the railway reservation system is shown
below .
STATE CHART DIAGRAM :
The purpose of state chart diagram is to understand the algorithm
involved in performing a method. It is also called as state diagram. A state
is represented as a round box, which may contain one or more
compartments. An initial state is represented as small dot. A final state is
represented as circle surrounding a small dot.
The state chart diagram for the railway reservation system is shown below
.
ACTIVITY DIAGRAM:
Activity diagrams are graphical representations of workflows of
stepwise activities and actions with support for choice, iteration and
concurrency. In the Unified Modelling Language, activity diagrams can be
used to describe the business and operational step-by-step workflows of
components in a system. An activity diagram shows the overall flow of
control. An activity is shown as an rounded box containing the name of the
operation.
The Activity diagram for the railway reservation system is shown below .
COMPONENT DIAGRAM:
The component diagram's main purpose is to show the structural
relationships between the components of a system. It is represented by
boxed figure. Dependencies are represented by communication
association.
The component diagram for the railway reservation system is shown below
.
DEPLOYMENT DIAGRAM:
A deployment diagram in the unified modelling language serves to
model the physical deployment of artifacts on deployment targets.
Deployment diagrams show "the allocation of artifacts to nodes according
to the Deployments defined between them. It is represented by 3-
dimentional box. Dependencies are represented by communication
association.
The deployment diagram for the railway reservation system is shown
below .
PACKAGE DIAGRAM :
A package diagram in unified modelling language that depicts the
dependencies between the packages that make up a model. A Package
Diagram (PD) shows a grouping of elements in the OO model, and is a
Cradle extension to UML. PDs can be used to show groups of classes in
Class Diagrams (CDs), groups of components or processes in Component
Diagrams (CPDs), or groups of processors in Deployment Diagrams
(DPDs).
There are three types of layer.
They are,
1. User interface layer
2. Domain layer
3. Technical services layer

The package diagram for the railway reservation system is shown below .
RESULT:
Thus the UML diagrams for E-Book management system is
drawn and the implementation is done successfully.

You might also like