The project report on Railway Reservation, submitted by Umang, outlines the need for computerization in train ticket booking, highlighting its efficiency and ease of access. It details the program's functionality, including ticket reservation, cancellation, and status checking, along with the use of a database management system (DBMS) for data handling. The report also includes source code, output screens, and future enhancement proposals for system performance improvement.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0 ratings0% found this document useful (0 votes)
13 views17 pages
Railway Management System Project (UMANG) XII
The project report on Railway Reservation, submitted by Umang, outlines the need for computerization in train ticket booking, highlighting its efficiency and ease of access. It details the program's functionality, including ticket reservation, cancellation, and status checking, along with the use of a database management system (DBMS) for data handling. The report also includes source code, output screens, and future enhancement proposals for system performance improvement.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
PROJECT REPORT
RAILWAY
RESERVATION
SUBMITTED TO:
Mr. Shivam Singh
(PGT COMP.SCI)
SUBMITTED BY:
NAME: Umang
CLASS: XII (SCIENCE)
ROLLNO.:
SUBJECT: COMPUTER SCIENCECERTIFICATE
This is to certify that __UMANG ___ of
class XI (SCIENCE).of GRM PUBLIC
SCHOOL , SHIVRAMPARK , has done her
project on RAILWAY RESERVATION
under my supervision.
She has taken interest and has shown at
mostly sincerity in completion of this
project.
I certify this project up to my expectation
& as per guidelines issued by CBSE,
NEW DELHI.
Internal Examiner External ExaminerACKNOWLEDGM-
ENT
It is with pleasure that I acknowledge my
sincere gratitude to our teacher,
Mr. SHIVAM SINGH who taught and
undertook the responsibility of teaching
the subject computer science. I have
been greatly benefited from his classes.
My sincere thanks goes to our Principal
Mrs. RENU SHOKEEN who has
always been a source of encouragement
and support and without inspiration,
this project would not have been a
successful. Finally, | would like to
express my sincere appreciation for all
the other students of my batch for their
friendship & the fine times that we all
shared together.
UMANG (XII SCIENCE)INDEX
. Need for Computerisation
. Software and Hardware requirement
. Source Code of Project
. Output Screens
. Future Enhancement of project
. BibliographyNEED FOR
COMPUTERISATION
No one can easily plan the journey
comfortably as the process is efficient
and fast with being easy to access.
Reservations can be made through the
Indian railways site or at the ample
reservation centers all over the country.
Also now there are authorized agencies which
provide reservation facility
on behalf of India railways and without
waiting in long line one can easily
book a ticket. The booking is done through
an E- Ticket issue which has a
PNR number of which one has to take a print
and just have to show at the
station.
It not only provides reservation but
cancellation can also be done through
this system at ease and one can use a credit
card to complete the process.This being a big step in terms of
improvement in the railway system it is
widely accepted across the country.
OVERVIEW OF THE PROGRAM:
This is a project based on train reservation.
The program helps us to enter,
display or alter the details of different trains.
Moreover & most importantly the
program helps us to reserve or cancel a
train ticket.
The program also helps us to know the
present status of a reserved ticket,
i.e. whether the ticket is confirmed or not.
It includes various function programs to do
the above-mentioned tasks.
Data file handling has been effectively used
in the program.
The database is a collection of interrelated
data to serve multiple
applications. That is database programs
create files of information. So, we
6 [Pagesee that files are worked with most, inside
the program.
DBMS
The software required for the management of
data is called as DBMS. It
has3 models
* Relation model
¢ Hierarchical model
¢ Network model
RELATIONAL MODEL It’s based on the
concept on relation. Relation is the
table that consists of rows and columns. The
rows of the table are called
tuple and the columns of the table are called
attribute. Numbers of rows in
the table is called as cardinality. Number of
columns in the table is called
as degree.
HIERARCHICAL MODEL: In this type of
model, we have multiple records
for each record. A particular record has one
parent record. No chide record
7|Pagecan exist without parent record. In this, the
records are organized in treelike structure
NETWORK MODEL: In this, the data is
represented by collection of
records and relationship ARE represented by
(ink or association.
# CHARACTERISTICS OF DBMS: -
¢ It reduces the redundancy
* Reduction of data in inconsistency
¢ Data sharing
* Data standardization
DIFFERENT TYPES OF FILES: -
BASED ON ACCESS:
* Sequential file
* Serial file
* Random (direct access) file: BASED ON
STORAGE:
* Text file
¢ Binary File
8|PageSOURCE CODEint (input(
SEE rae)
slp = int(input(
SPE es)
train = (1[@], 1[1], 1[2], 1[3]
era
Con eR CR CRESS
Deri ee ert)
mydb. commit ()
Pit
ctr
SIC PLES
eur ise
Pistrde * 12)
print(
railresmenu()
lief reservation)
Paced
cree G]
LeU nse
cE
append (age)
PST oE eae os ts
Seneca)
feet
ERE
print(
print
otis
Png
eta
eee
ct
Sree
See
rey
Eon ee)
Cee
see
Poor iEU ean ae
ee
SEB Tests)
Potige
11. append (amount)
eee
print (
print(
sts =
11. append(sts)
SeBE aes)
Corre ert (PSE ES MECI eS Ee ESE CORBETT
Eee
Pon ee oe
CN aoa Ter Oe TO)
TR
Potige
Pot
eta
print (
eee e}
erie st6)
print (
Peau Tse
Pence
ry
DSc
Dre
Potige
Png
eta
Pita
railresmenu()
railresmenu()
PSE LO)
Pista
eineet rane
CUED)
sql-OUTPUT SCREEN
Railway Reservation
1.Train Detail
2.Reservation of Ticket
3.Cancellation of Ticket
4.Display PNR status
5.Quit
enter your choicel
Train Details
enter train name: Madurai Chennai
enter train number :22206
enter number of AC 1 class seats200
enter number of AC 2 class seats200
enter number of AC 3 class seats200
enter number of sleeper class seats¢000
insertion completed
Do you want to insert more train Detail N
SCREEN 2
Railway Reservation
1.Train Detail
2.Reservation of Ticket
3.Cancellation of Ticket
4.Display PNR status5.Quit
enter your choice2
enter passenger name=JOHN
enter age of passenger =23
enter train number22206
Enter number of passanger:2
select a class you would like to travel in
1.AC FIRST CLASS
2.AC SECOND CLASS.
3.AC THIRD CLASS
4.SLEEPER CLASS.
Enter your choice:2
Total amount to be paid: 1600
PNR Number: 1025
status: confirmed
SCREEN 3
Railway Reservation
1.Train Detail
2.Reservation of Ticket
3.Cancellation of Ticket
4.Display PNR status
5.Quit
enter your choice 3Ticket cancel window
enter PNR for cancellation of Ticket1025
Deletion completed
Go back to menu
SCREEN:4
Railway Reservation
1.Train Detail
2.Reservation of Ticket
3.Cancellation of Ticket
4.Display PNR status
5.Quit
enter your choice+
PNR STATUS window
enter PNR NUMBER1025
PNR STATUS are as follows :
(pname,age,trainno, noofpas,cls,amt,status, pnrno)
(JOHN’, 23, 22206, 2,’ac2’, 1600,’deleted’, 1025)
Go back to menuFUTURE
ENHANCEMENTS
1. The solutions are given asa
proposal. The suggestion is revised
on user request and optimal
changes are made. This loop
terminates as soon as the user is
gratified with the proposal.
2. So, on the whole, system analysis is
done to improve the system
performance from it. Therefore,
system analysis plays a crucial role
in designing any system.WNrR
BIBLIOGRAPHY
. http://www.google.com
. http://en.wikipedia.or
. Computer science with python
by Sumita Arora.