0% found this document useful (0 votes)
580 views8 pages

Railway Reservation

The document describes an online railway reservation system that allows users to reserve and inquire about tickets. It includes entity relationship diagrams, UML diagrams including use case, class, sequence, and activity diagrams. The system maintains passenger and reservation records, updates availability based on bookings, and ensures security of payment details. It also allows for adding or removing trains and stations over time.

Uploaded by

Amita Manaktala
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 (0 votes)
580 views8 pages

Railway Reservation

The document describes an online railway reservation system that allows users to reserve and inquire about tickets. It includes entity relationship diagrams, UML diagrams including use case, class, sequence, and activity diagrams. The system maintains passenger and reservation records, updates availability based on bookings, and ensures security of payment details. It also allows for adding or removing trains and stations over time.

Uploaded by

Amita Manaktala
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/ 8

`

ONLINE RAILWAY RESERVATION SYSTEM

PROBLEM DEFINITION : The Railway Reservation System is basically developed in order to perform Online ticket reservation and enquiry. Every time a ticket is booked there must be a proper record to be maintained and also the ticket status, availability status must be updated time to time. There may be any new addition of trains and train being deleted or a station added or deleted which must be updated prior in the database. The reservation option enables a person to reserve for a ticket in an easier and efficient manner. Once the train is available the person will be asked to enter his personal details and his requirements regarding the coach and berth. After this the reservation database is updated with the person details, train name and also the source and destination place and a unique PNR number is generated and given as the reference number for the user. The availability status is changed according to the number of tickets booked. The enquiry option allows the user to enter the PNR number and get the current details about the ticket. The software ensures safety and security of details about the passengers, his payment details and ensures integrity of the data being processed

DATA FLOW DIAGRAM

[Invalid customer] Verifying User

Reserve Tickets

PNR Enquiry

Check for Availabilit y

Display the Ticket status

Book the tickets

ENTITY RELATIONSHIP DIAGRAMS:

UML DIAGRAMS:

CLASS DIAGRAM:
Class Diagram ONLINE TICKET RESERVATION

# SOURCE #DESTINATION

DISPLAY TRAINS

BOOK TICKETS # NAME

ADMINISTRATOR # NAME # AGE # SEX # NO OF TICKETS Update()

# SOURCE # DESTINATION

# AGE # SEX # NO OF TICKETS

Display() Get details() Get details()

Delete()

USE CASE DIAGRAM

Use case: Railway Reservation system

Login using Valid User ID , Password

Check for Train Availability

Reserve the Ticket User Check for PNR status Server

Display the confirmation status

Activity Diagram: Enter User Id and Password

Valid ID Yes

No

Logout

PNR Enquiry

Reserve Tickets

Enter the PNR Number

Enter Train name, No and check for Availability

Display the confirmation status

Yes

Train Availability

No

Reserve Ticket

Logout

`
SEQUENCE DIAGRAM Database

User

Train

Enter train Details

Details are registered View the list

Trains are selected Train details are displayed

No of seats required No of seats Available No of seats Displayed

Train is registered

Registration is Confirmed

TEST CASES :
1. To check the availability of the train and status details using the Pnr No. 2. To reserve for the tickets for travel using the Identity proofs.

RESULT : Thus the project to implement Online railway reservation system and to model the data using UML diagram has been executed.

You might also like