Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

A

PROJECT REPORT

ON

RAILWAY RESERVATION SYSTEM

Bachelor of Computer Application

Submitted to

Purbanchal University

Biratnagar,Nepal

Submitted By

SRIJANA BHATTA

AAKRITI POKHAREL

NIRAJAN GHATAL

KANTIPUR CITY COLLEGE

Putalisadak, Kathmandu Nov 28, 2018


A

PROJECT REPORT

ON

RAILWAY RESERVATION SYSTEM

Bachelor of Computer Application

Submitted to

Purbanchal University
Biratnagar,Nepal

Submitted By
SRIJANA BHATTA
AAKRITI POKHAREL
NIRAJAN GHATAL

Project Supervisor
Mr. DIPAK PAUDEL
Ass.LECTURER

KANTIPUR CITY COLLEGE

Putalisadak, Kathmandu
TOPIC APPROVAL SHEET

It is hereby informed that the topic selected by Nirajan Gahtal, Aakriti Pokharel
and Srijana Bhatta of Bachelor of Computer Application, II semester for their
semester project has been found suitable and as per the credit assigned by
Purbanchal University (PU), Biratnagar, Nepal.

The Project Committee has approved the following topic for the above mentioned
students.

Topic Approved: Railway Reservation System

________ ________
Dipak Paudel BikashNeupane
Ass.Lecturer, Department of Project Coordinator
IT

CERTIFICATE FROM THE SUPERVISOR

This is to certify that the project entitled “Railway Reservation System”


submitted by Nirajan Ghatal, Aakriti Pokharel and Srijana Bhatta to the
Department of Information Technology, School of Science and Technology at
Kantipur City College, Kathmandu, Nepal towards the requirement for
(BCA179CO) of is an original work carried out by them under my supervision
and guidance.

Signature: _ _ _ _ _ _ _ _ _ _ _

Mr. Dipak Paudel

Department of Information Technology

Kantipur City College

(Project Supervisor)
Place: Kantipur City College, Putalisadak, Kathmandu.

Date: 2075/8/12

Acknowledgement

The project members would like to express the deepest appreciation to our teacher
Mr. Bikash Neupane, who has the attitude and the substance of a genius; he
continually and convincingly conveys a spirit of adventure in regard to guiding to
study and preparing this project.

The project members are deeply grateful to the Project Supervisor Mr. Dipak
Paudel for supervising, motivating and being co-operative throughout this project
work, who gave me the golden opportunity to do this wonderful project on the
topic Railway Reservation System, which also helped us doing a lot of Research
and The project members came to know about so many new things for which we
are really thankful to them.

Without his/her guidance and persistent help this project would not have been
possible. The project members are grateful to all the teachers who had helped us
directly and indirectly throughout this project.
Abstract
This project enables us to choose the train even there is no necessary to fill a form
at the railway reservation counter. If there is any concession we can also avail it
and then program gives us the final output as train ticket with the amount to be
paid. Railway ticket reservation will help the passengers to book their
tickets for their journey, search train between two stations and get details of
particular t r a i n   s c h e d u l e s   i n c l u d i n g   t h e i r   f a r e   d e t a i l s . The
administrator is responsible for dealing in crucial role for keeping records and for
the secrecy of the Railway Reservation System. This project attempts to Railway
Reservation easily and adequately.
Table of Contents

Chapter 1 Introduction.............................................................................................1

1.1 Background....................................................................................................1

1.2 Significance....................................................................................................1

1.3 Objectives.......................................................................................................1

1.4 Features..........................................................................................................1

1.4 Organization of project..................................................................................2

Chapter 2 Project Specification................................................................................3

2.1 Functional Requirements...............................................................................3

2.3 Implementation Plan......................................................................................4

2.3.1 Library function.................................................................................................4


2.3.2 User-defined Function.......................................................................................5
2.3.3 Methods............................................................................................................5
2.4 Gantt Chart.....................................................................................................6

Chapter 3 Software Design and Development.........................................................7

3.1 Tools and Technologies.................................................................................7

3.2 Algorithm.......................................................................................................7

3.3 Flowchart......................................................................................................10

Chapter 4 Testing...................................................................................................17

Chapter 5 Limitation:.............................................................................................18

Chapter 6 Future Enhancement:.............................................................................19

Chapter 7 Conclusion.............................................................................................20

Chapter 8 References.............................................................................................21
List of Tables

Table 1: Organization of project

Table 2: Functional Requirements

Table 3: Team structure

Table 4: Library Function

Table 5: User-defined Function

Table 6: Data structure

Table 7: Testing Status


Chapter 1 Chapter 1 Introduction

1.1 Background
This project keeps the track of Name and number of Rail, start time and
reached time, start place and reached place, distance and contact number
systematic manner. In this project, record of both the Rail station and costumer
can be added, viewed and deleted.

1.2 Significance
 It helps to reduce the complexity of Railway Ticket Reservation.
 Redundancy of data can avoid.
 It helps to reduce time and cost for reservation .

1.3 Objectives
 To provide better and efficient service to the passenger well as train worker.
 To save the information for future and to Perform multiple tasks in short time.

1.4 Features
 Add passenger
 View Ticket
 Available seat
 Cancelling Ticket
 Fair structure

1
1.4 Organization of project
Table 1: Organization of project

Chapters Heading
Chapter 1 Introduction
Chapter 2 Project Specification
Chapter 3 Software design and development
Chapter 4 Testing
Chapter 5 Conclusion

Chapter 2 Project Specification

2.1 Functional Requirements


Table 2: Functional Requirements

S. N. Function Name Description


1. Passenger To add passenger ' records, view and fee
structure along with different place.
2 Security To protect the data from unauthorized person,
changing username and password.
3 Administrator To delete and view the records of a particular
rail station s and costumers.
4 Closing To exit the application.

2
2.2 Team structure
Table 3: Team structure
Members Name Symbol Number Task Performed
Nirajan Ghatal 324886 Designing, Coding and
Documentation
Aakriti Pokharel 324875 Designing, Coding and
Documentation

Srijana Bhatta 324901 Designing, Coding and


Documentation

2.3 Implementation Plan

2.3.1 Library function


Table 4: Library function
S.N. Name of the header file Description
1. iostream.h To input output functions like cin, cout, etc.
2. conio.h Console input output which includes built in
function such as clrscr(), getch(), gotoxy(),
textcolor() etc.
3. stdlib.h Functions for handling errors such as exit(0)
4. string.h For string manipulation such as strlen(), strcmp(),
strcpy() etc.
5. time.h To get the system time
6. fstream.h For file operation

2.3.2 User-defined Function


Table 5: User-defined Function

S. N. Function Name Description


1. Data To add passenger’ records, view and delete.
2. Passenger Data To add passenger records, view and delete.
3. Change_username To change the username
4. Change_password To change the password
5. Closing To exit the application.
6. Clear To clear the specific area on the screen.

3
2.3.3 Methods
2.3.3.1Data Structure
Table 6: Data structure
Class Name Data Types
Passenger char, int,string
Record Char, int
Home char, int,string
Train char, int,string

2.3.3.2File Structure

Adding, cancelling and view the record of train seat.

2.4 Gantt Chart

Duration (4WEEKS)
S.N. Tasks
1 2 2 2 2 1 2 1
1. Concept Submission

2. Resource Collection

3. Research and Analysis

4. System Design

5. Coding

6. Debugging & Testing

7. Documentation

4
Tasks Total Time: 30days
Completed
Tasks
Remaining Chapter 3 Software Design and
Development

3.1 Tools and Technologies


Front End: CodeBlocks

Back End:Text File

3.2 Algorithm
Step 1: Start

Step 2: Display “Welcome Railway Reservation System.

step3: Display option of main menu

Step3.1:display “A-sign in”B-sign up”,press choice”

Step4:”is entered choice is A or B”,

Step4.1:”choice ==A”,then go to step 5.1 else to 6.1

Step 5.1 :Display "Username (for the input)”

Step 5.2: Display”password for the input)”

Step 5.3:is entered user name and password correct or not”

5
Step5.4:username and password is correct go to step 7.1 else to 8.1”

Step8.1:display user name or password is incorrect”

Step7.1:display press your choice

Step7.2:display “A-my account”

Step7.3:display”V-view seats and book”

Step 7.4Display”X.cancel the ticket”

Step 7.5:Display”L.sign off”’

Step7.6:Display”C.contact us”

Step8.1:is choice ==A then goto 10.1

Step 8.2:is choice==V then goto step 11.1

Step 8.3:is choice ==X then goto step 12.1

Step8.4:is choice == L then go to step 13.1

Step 8.4:is choice ==C then goto step 14.1

Step 10: Step10.1:display”name

Step10.2:display”password

Step10.3:display”email

6
Step10.4:display”contact

Step 11

Step11.1:display”name

Step11.2:display”Type

Step11.3:display”class

Step11.4:display”seats

Step12

Step12.1:display”morning shift”

Step12.2:display”night coach”

Step13

Step13.1:display”phone number”

Step13.2:display”email”

Step14

Step14.1:display”Enter phone number”

Step14.2:display”Enter email”

Step6.1:”enter name”

Step6.2;” enter password”

Step6.3:” enter email”

Step6.4:” enter contact number”

7
Step9: Stop

Flow Chart

Start

Welcome To Railway Reservation


System

Sign off

Display”A-sign in or B-
signup”.Press choice

Display”A-sign in
Display”A-sign up

A-my account

V-view seat and book Resister

T-view time Name:

X-cancel ticket Password:

L-sign off Email:


8

C-contact us Contact:
Your account

Name

Password

Email

Contact

Train information
True
Name: Morning ride, Night coach

Type: Government

Class: Business and economy

Seat: 1

Timing

A=Morning ride

B= Night coach 9
Train initial

M-morning

N-night

Enter seat number to cancel

Contact us

Phone Number:

Email:

Press e to exit

End

10
Chapter 4 Testing

Input Expected Output Actual Output Status


To Rail station Name, address, Added True
Record contact no., email
,rail station open
time.
To Add passenger Name, address, Added True
Record contact no, email,
parent's name,
parent's contact n
start place and
reach place .
To Delete rail Rail station details Deleted True
station Record
To Delete passenger details Deleted True
passenger Record
To view Rail Rail station Displayed True
station Record Record
To view passenger passenger Record Displayed True
Record
To enter into the Username and Successfully True
admin interface password logged in
Exit Exits program Exit True

Chapter 5 Limitation:

There is no research work without any limitation. The objectives mentioned may not
be fully succeeded. So some limitation occurred during this project are:-

 The software is not able to reserve tickets for more than 10 people per train.

11
 The fare allotted for every reservation is independent of 5 Kilometer
travelled instead it is set for every mode (AC, Non-AC or General) of each
train.
 The software does not provide concession in fare rates for children, aged
people, armament etc.
 The software does not take into consideration the stations falling in between
the source and destination station

Chapter 6 Future Enhancement:

 Sorting the record of passenger and empty seat serially .


 Providing automatic ID when the new passenger add their records.
 Searching the record using ID.
 Daily entry system for the passenger

12
Chapter 7 Conclusion

The project members have a great experience designing and implementing the
Railway Reservation System by using C++ programming language and to work on its
documentation. From this project, the project members learned many new things.

This project helped us in getting the basic understanding of basic programming


concepts of C++ language such as loop, structure, arrays, file, functions etc.

The project members have used almost every concepts of C++ language we had
learned. After completing this project, the project members are in position to explain
C++language concepts and apply them to the modeling real world system.

13
Chapter 8 References

 E. Balagurusamy “Programming in ANSI C++”, Tata McGraw-Hill


Publishing.
 S.K Srivastava, DeepaliSrivastava "C++ in Depth", BPB Publication
 www.trainequiry.com
.

14

You might also like