Professional Documents
Culture Documents
"1
ABSTRACT
The railway reservation system facilitates the passengers to enquiry
about the trains available on the basis of source and destination,
booking and cancellation of t ickets, enquiry about the status of the
booked ticket, etc. The aim of case study is to design and develop a
data base maintaining r ecords of different t rains, train status and
passengers. This project conta ins introdu ction to the r ailways
r eservation system. It is the computerized system of reserving the
seats of train seats in advance. It is mainly used for a long route.
Online reservation has made the process for the reservation of seats
very much easier than ever before.
i
I~ In our country India, there are number of counters for the reservation
of the seats and one can easily make reservations and get tickets .
I
I '--
Railway reservation system, has described above, can lead to error
free, secure, reliable and fast management system. It can a ssist the
user to concentrate on then- other activities rather to concentrate on
the record keeping. Thus, it will help organization its bett er
utilization of resources. Administrator of the project, with the h elp of
a password, can enter new train record, display all train records,
modify train r ecords and delete t rain records. The record of train
includes its nu mber, name, source, destination, and days on which it
is available, wherea s record of train status includes dates for which
tickets can be booked, total number of seats available, and number of
seats already booked .
L
L
Page I 1
...i: I
~
l
r ,
l.
\
\. ABSTRACT
The railway reservation system facilitates the passengers to enquiry
\...
about the trains available on the basis of source and destination,
I....
booking and cancellation of tickets, enquiry about the status of the
\.. booked ticket, etc. The aim of case study is to design and develop a
data base maintaining records of different trains, train status and
I__
passengers. This project contains introduction to the railways
\.. 1·eservation system. It is the computerized system of reserving the
'---
seats of train seats in advance. It is mainly used for a long route.
Online reservation has made the process for the reservation of seats
I....
very much easier than ever before.
I...
In our country India, there are number of counters for the reservation
\. of the seats and one can easily make reservations and get tickets.
\.. Railway reservation system, has described above, can lead to error
free; secure, reliable and fast management system. It can assist the
\..
user to concentrate on their other activities rather to concentrate on
'--- the record keeping. Thus, it will help organization its better
\....
utilization of resources. Administrator of the project, with the help of
a password, can enter new train record, display all train records,
\...
modify train records and delete train records. The record of train
\.__ includes its number, name, source, destination, and days on which it
is available, whereas record of train status includes dates for which
\..
tickets can be booked, total number of seats available, and number of
(____
seats already booked.
\....
(_
L
L
L
I
'-
L
L
L
\._,
Page I 1
\ ..
11.
I
'-
l
""11111
'1 J
Cun\l'n h
1. Int roduclion .................................................................................. 3
2. Pu11>0Hc ............... .......................................................................... 4
3. Advantage of this Project ............................................................. 4
4. Data Dictiona1·y ............................................................................ 5
5. Pre·rcqui sites ................................................................................ 6
a. Soft,varc .................................................................................. 6
b. Hardwar e ................................................................................ 6
6. Function table ............................................................................... 7
7. System Design .............................................................................. 8
a. Welcome Page ........................................................................ 8
b. Booking of Ticket ................................................................... 8
'- c. E·Ticket ................................................................................... 11
'-
e. Postpone ment of Ticket .............................. ............................. 13
8. System Design Flow Diagram ............... ............... ...................... 14
'-
9. Conclusion ................................................................................... 15
'-
10. Bibliography ............... ............................................................. 16
\.
'---
.. \..
\..
\..
'-
I...
'-
\..
'-....
I-
I
'-
Page I 2
I
I
l.
-
..
\
,
'
.. ( · J •
C
L
\.
\... 2.Purpose
\.....
The purpose of the source is to describe the railway reservation
system which provides the train timing details, reservation, billing
L
and cancellation on various types of reservation mainly,
L
• Online reservation
\..... • Confirm reservation & e·Tickets
\..... • Cancellation of reservation or postponemen t of reservations
\.....
L
3. Advanta ge of this Project
( .. '
• Security of data.
L • Ensure data accm·acy.
• Proper control of the higher official.
l
• Minimize manual data entry.
'-' • Minimum time needed for the various processing.
L'· • Greater efficiency.
,n
• Better service.
,,i
;,
L
-·
• User friendliness and interactive.
~! L
c.
(_
C
C
i
I: C
Ii
Ii:I L
q
,,,,I! \.....
ii
;,
:• \.....
i: ,- ,.
,." l_,
I•
Page I 4
i'
,: c·
l
4. Data Dictionary
( Page I 5
'-
\ ....
5. Pre-requisites
a. Software
SOFTWARE DESCRIPTION
Windows 10 Professional Operating system
b. Hardware
HARDWARE DESCRIPTION
Device name Laptop - ODE4SKND
l
Primary Memory (RAM) 8.00 GB (7. 79 GB usable)
64-bit operating system, x64-
System type
based processor
l.
(_
l
Page I 6
\..
6. Function table
SL
No.
Function Name Type Size Description
l
l.
Page I 7
7. System Design
In the system design process, the primary objective is to identify user
requiremen ts and to build a system that satisfies these requirements.
a. Welcome Page
In this the customer will get options for what they want to
\_
do like:
1. To Book Ticket
11. For cancelation of tickets
iii. To postponement of Ticket
When they will select option, they need our program will
proceed according to selected option
Welcome to
Railway Reservation System
1. Book Ticket
2. Cancel Ticket
3. Postpone Ticket/ Change Reservation Date
l
ENTER YOURCHOICE
11 I
b. Booking of Ticket
CASE-I · To Book Ticket
First customers will be provided the destination list.
L (The customer needs to select the destination)
e.g.
SL No. From To
l 1. Howrah Delhi
l 2. Delhi Mumbai
3. Guwahati Kolkata
Page I 8
l.
I
'"
I ·~-
I
'
!
i
; '-
'--
,. , I
i:.~-tber= desi-:
I. : Howrah Delhi
be
I
Train List
l. SL
Train name Train Time to Timet.o
No. number Departure Reach
1. Howrah Rajdhani Express 012301 4:50pm 10:05pm
2. Duranto Express 234698 12:30pm 9:00am
3. PurvaExpre ss 817250 10:00am 8:30am
C 4. Superfast Express 102986 6:00pm 12:00
pm
.
.. Page I 9
tL
'' \
1
1 Customer login
(Customer need to log in to create account for booking
ticket.)
'
Welcome to
Railway Reservation System
Phone Number
Your Email
Set Password
'- I t -,,,:· I
'-
Welcome to
\..
Railway Reservation System
'--
Name of Passenger
I....
Age Gender
''-- Date of Journey
\.. Nos. of Seat(z) (y>=z)
l_
,, ~I
\..
,.._
\.
l
Page I 10
c. E-Ticket
(The e·Ticke t will get genera ted from the above selecte d
and mentio ned details )
~'"-"-'"- M\lf:
KRISH RAJ
I'\... 12301 IRAJDHANI EXP COA..">4 8-4
f lO(l',I HOWRAH !HWH) <t•T 16
TO NEW DELHI (NDLS) OPAAT 16:$0
__________________.....,._____
25 OCT 2022 10.05
I)<"!, AAOM
Then the Ticket bookin g form page will open where the
custom er can only be able to change the date or person al
details .
Welcome to
Railway Reservation System
Page I 11
Thon thl' c·ticko t will get will be genera ted after payme nt
of oxtrn charge s
Jm/;1111 Raih:i,q•s
MS\ANvtANA Mt
KRISH RAJ
11"1N 12301 /RAJDHANI EXP COACII 8-4
fMOM HOWRAH (HWH) \f.AT 16
m NEW DELHI (NDLS) DfPART 16:50
OATt 25 OCT 2022 AARM 10:05
d. Cancellation of Ticket
CASE·II
For cancellation of ticket
In this page custom er need to provide the following details
to cancel their confirm ticket
Welcome to
Railway Reservation System
RESERVATION CANCELATION
Enter Ticket No
Phone Number
Your Email
Enter Password
Page I 12
\
e. Postponement of Ticket
CASE-ID
To Postponement of Ticket
In this page again customer need to provide the following
to change the date of confirm Ticket.
Welcome to
Railway Reservation System
POSTPONE TICKET/ DATE CHANGE
Enter Ticket No
New Date of Travel . I
l
Your Email
Enter Password
l f
I
P.
I
I
[
[
I
Page I 13
8. System Design Flow Diagram
'
'
L
(
C
l.
L
Page I 14
\...
'-
:r
, I
'-
I... 9. Conclusion
\. The main of developing reservation system is to provide all
information that is required by the users. User friendliness is a must
\...
that is the user must gel the details without complicated searching
\.. procedures Other important requirements of software are:
''-
\..
\..
\..
I
'-
''-·
'-
~
l.
L
L
L
l,
l
L
\..
\..
i.... Page I 15
a.
\.
,
10. Bibliography
• https://github.com/krishraj·gupta/rrs·python
• https;//www.google.com
• https://en.wikipedia.org
• Sumita Arora Computer Science book
\_
l
'--
"-
I
I.
\..
l
(
'-
\....
"-
l.....
l.....
L
L
L
(._
l.
I....
\.
(._ Page I 16
II~
Content
1. Source Code
2. Outputs
3. Bibliography
mycon.autocommitsTrue
cursor . execute(s1)
cursor.execute (sl)
elif ch1==2:
a=checking_l ()
if a==True:
main()
else:
c=checking_2 ()
if C==True:
1
IF CHOICE IS (TICK ET BOOKING)
ente r ur choi ce : 1
ente r your nam e:vin u kant h
· ente r your phon e numb er:97 8788 3628
ente r your age: 16
t-1.=M ALE
F=FE MALE
N NOT TO MENT ION
ente r your gend er:m
ente r ur star ting poin t : chen nai
ente r your dest inat ion. : mad urai
ente r date (dd) :23
ente r mont h(mm ) : 04
ente r year (yyy y) :2 020
BOOK ED SUCC ESSF ULLY
1 . TICK ET BOOK ING
2 . TICK ET CHEC KING
3.TIC KET CANC ELLIN G
4 . ACCO UNT DETA ILS
5.LO G OUT
ente r ur choi ce :
IF CHOICE IS .2(TIC KET CHECKING)
L~ . . _.. ··:,,·,. :!.:.. ·'.:-: .: ~·::.__ · _'; ~: .'.: .·,}_.-·_:;: \1.t/L/{:f;:£i)i/f/\.ti(/:."f;-;f:~,-~:~\ :;f
F_ile, Edit Shell De,bu~ Op_t ion e. \ol/in _d o~ - ___1-iel_~ ...
..
IF CHO ICE IS : i
CHOICE WINDOW
l.YES
,2 .NO
DO YOU WANT TO CONTINUE OR NOT:l
WELECOME TO ONLINE RAILWAY RESERVATION SYSTEM
l.SIGN IN
2.SIGN UP
3.DELETE ACCOUNT
4.EXIT
ENTER YOUR CHOICE:
1.YES
2.NO
DO YOU WANT TO CONTINUE OR NOT:1
WELECOME TO ONLINE RAILWAY RESERVATION SYSTEM
l.SIGN IN
2.SIGN UP
3.DELETE ACCOUNT
4.EXIT
·ENTER YOUR CHOICE:1
USER NAME:vinu kanth
PASS WORD:vinu1234
HII vinu kanth
WELCOME
:1.yes
·: 2 .no
do you want to continu e or not: