8/4/2019 Railway Reservation 1
1/16
LOVELY
PROFESSIONAL
UNIVERSITY
TERM PAPER CSE-202
Submitted to: Submitted by:
Amandeep kaur SURENDRA
MCA 2ND sem
*roll no D3804B51
*Regd. no 10806601
ACKNOWLEDGEMENT
8/4/2019 Railway Reservation 1
2/16
I have the admiration to express our gratitude to our teacher
Amandeep Kaur for their timely help, support encouragement, valuablecomments, suggestions and many innovative ideas in carrying out this project. Itis great for me to gain out of their experience.
I also owe overwhelming debt to my classmates for their constantencouragement and support throughout the execution of this project.
Above all, consider it a blessing of theAlmighty Godthat i have been able tocomplete this project. His contribution towards every aspect of ours throughoutour life would always be the supreme and unmatched.
SURENDRA SINGH
8/4/2019 Railway Reservation 1
3/16
CONTENTS:
INTRODUCTION
DESCRIPTION
PROJECT REQUIREMENT
REQUIREMENT ANALYSIS
SYSTEM DESIGN
SOUCE DESIGN
SOURCE CODE
FUTURE SCOPE
DATA FLOW DIAGRAM
REFRENCES
8/4/2019 Railway Reservation 1
4/16
Introduction
Travel agencies make extensive use ofrailway reservation systems (RRS) to book
seats for passengers. Web users are able to employ online and web-basedreservation systems to perform this task on their own. All these systems have in
common that they leverage database systems to cope with the enormous flood of
railway data. An RRS database system handles all information relating to the
operations of the RAILWAYS.
The task of this project is to take the role of an application developer and
programmer, study and analyze available RRS and design and implement parts of
their functionality with an emphasis on the railway reservation component.
DESCRIPTION The TRAIN Details
It includes the originating train terminal and destination terminal, along with
stops in between, number of seats booked/available seats between two
destination etc.
Customer Description
It includes customer code, name, address and phone number. This
information may be used for keeping the records of customer for any
emergency or for any other kind of information
8/4/2019 Railway Reservation 1
5/16
Reservation Description
It includes ticket number, seats number, date of booking, date of traveling,
(You may assume any other fild/relation, if needed).
.
Project requirements
[ REQ-1] Each train has a limited number of available seats. There are number oftrains that go from/to different cities at different dates and time.
[ REQ-2] The Program shall maintain a table for the list of available train where
each row within the table has the following fields: train number, Departure city,
Destination City, Departure date, Departure time,
Arrival date, Arrival Time, Capacity, and Available seats. The values
within this table will be hard coded.
[ REQ-3] The Program shall maintain a table for the customers where each row
within the table has the following fields: Confirmation number,
Customer Name, Customer Address.The values within this table will be created when the user makes a
reservation.
[ REQ-5] Assume the customers are interested always in one-way trip
[ REQ-7] For the user interface, You have to give an option for departure city
[ REQ-8] For the user interface, You have to give an option for arrival city
[ REQ-9] For the user interface, You have to give an option for departure date
[ REQ-10] For the user interface, You have to give an option for departure time
[ REQ-11] Once the user makes the selection for departure/arrival city and and
press enter the program should check and see if there aresuch train available in the system, and if there are, then the program
will calculate the fare and send them to the client that will display
them for the user along with departure/arrival time from/to
departure/destination cities.
[ REQ-12] Then it will be displayed that the user to enter the
following: Customer Name, Customer Address,
8/4/2019 Railway Reservation 1
6/16
8/4/2019 Railway Reservation 1
7/16
page and spreads out into a number of successive pages that are appropriately
linked with each other.
As for the conceptual database design, you should identify the important loops,
functions.
Note that the emphasis is not on producing a high gloss pamphlet with nice
pictures. Please give an overview and introduction of your ideas first before you
describe the user interface design and then the conceptual design.
Please also note that it is not the task of this phase to determine the database
schema of your solution.
SOURCE CODE
#include
#include
#include
8/4/2019 Railway Reservation 1
8/16
DATA FLOW DIAGRAM
8/4/2019 Railway Reservation 1
9/16
8/4/2019 Railway Reservation 1
10/16
8/4/2019 Railway Reservation 1
11/16
8/4/2019 Railway Reservation 1
12/16
8/4/2019 Railway Reservation 1
13/16
8/4/2019 Railway Reservation 1
14/16
8/4/2019 Railway Reservation 1
15/16
8/4/2019 Railway Reservation 1
16/16