+ All Categories
Home > Documents > c++ Term Paper on Railway Reservation System

c++ Term Paper on Railway Reservation System

Date post: 12-Apr-2015
Category:
Upload: chitransh-rajat
View: 113 times
Download: 3 times
Share this document with a friend
Description:
help in algorithm and source code
19
L OVELY P ROFESSIONAL U NIVERSITY TERM PAPER CSE-202 Submitted to : Submitted by : 2 ND sem *roll no *Regd. no
Transcript
Page 1: c++ Term Paper on Railway Reservation System

L OVELY

P ROFESSIONAL

U NIVERSITY

TERM PAPER CSE-202

Submitted to: Submitted by:

2ND sem

*roll no

*Regd. no

ACKNOWLEDGEMENT

Page 2: c++ Term Paper on Railway Reservation System

I have the admiration to express our gratitude to our teacher for their timely help, support encouragement, valuable comments, suggestions and many innovative ideas in carrying out this project. It is great for me to gain out of their experience. I also owe overwhelming debt to my classmates for their constant encouragement and support throughout the execution of this project.

Above all, consider it a blessing of the Almighty God that i have been able to complete this project. His contribution towards every aspect of ours throughout our life would always be the supreme and unmatched.

Page 3: c++ Term Paper on Railway Reservation System

CONTENTS:INTRODUCTION

DESCRIPTION

PROJECT REQUIREMENT

REQUIREMENT ANALYSIS

SYSTEM DESIGN

SOUCE DESIGN

SOURCE CODE

FUTURE SCOPE

DATA FLOW DIAGRAM

REFRENCES

Page 4: c++ Term Paper on Railway Reservation System

IntroductionTravel agencies make extensive use of railway reservation systems (RRS) to book seats for passengers. Web users are able to employ online and web-based reservation 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

Page 5: c++ Term Paper on Railway Reservation System

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 of trains 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 valueswithin 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 areservation. [ 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 programwill calculate the fare and send them to the client that will displaythem for the user along with departure/arrival time from/todeparture/destination cities. [ REQ-12] Then it will be displayed that the user to enter the

Page 6: c++ Term Paper on Railway Reservation System

following: Customer Name, Customer Address, Number, and press ENTER Botton.[ REQ-13] Once the user presses Enter button of the previous requirement, then the client will send the information to the program .[ REQ-14] The user should be provided with a panel that will allow the user to cancel certain reservation.[ REQ-15] Once the user enters a confirmation number to cancel the client will send this confirmation number and the program will delete thisreservation from its customer table.[ REQ-16] The user shall provide a valid confirmation number or slip in order to cancel certain reservation..

REQUIREMENTS ANALYSIS

In the first phase, your task as an application developer and programmer is to identify the main data management needs and the user functionality of an RRS. You have to ask yourself questions like

What are the main functions that the program should provide? Examples are the possibility to find out which airlines offer flights from location A to B, which airlines still have seats, and so on.

How do the different functions work together? For example, one can only make a flight reservation if there are enough seats available for that flight.

Which data are needed to support the functions identified before? Examples are data about airports, flights, flight legs, fares, seat reservations, and so on.

SYSTEM DESIGNBased on the requirements analysis of phase 1, the second phase is to describe the overall conceptual design and solution approach of your RRS system. This incorporates the two aspects of user interface design and program design.As for the user interface design, the task is to the promised functionality of the whole system to the user at the user interface. You should give a clear description

Page 7: c++ Term Paper on Railway Reservation System

about the flows of action the user can expect. It starts with the entry or welcome 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<iostream.h>#include<conio.h>#include<stdio.h>

Page 8: c++ Term Paper on Railway Reservation System

DATA FLOW DIAGRAM

Page 9: c++ Term Paper on Railway Reservation System
Page 10: c++ Term Paper on Railway Reservation System
Page 11: c++ Term Paper on Railway Reservation System
Page 12: c++ Term Paper on Railway Reservation System
Page 13: c++ Term Paper on Railway Reservation System
Page 14: c++ Term Paper on Railway Reservation System
Page 15: c++ Term Paper on Railway Reservation System
Page 16: c++ Term Paper on Railway Reservation System
Page 17: c++ Term Paper on Railway Reservation System

Recommended