0% found this document useful (0 votes)
3 views37 pages

Edited Visvesvaraya Technological University - HH

The document is a mini project report on the 'Railway Reservation System' submitted by students Anisha and Amandeep at Visvesvaraya Technological University. It outlines the project's objectives, features, and system requirements, emphasizing the software's ability to facilitate train ticket booking, management, and real-time tracking. The report includes acknowledgments, an introduction to the system, and details on the technologies used, such as PHP and MySQL.

Uploaded by

dummi8163
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views37 pages

Edited Visvesvaraya Technological University - HH

The document is a mini project report on the 'Railway Reservation System' submitted by students Anisha and Amandeep at Visvesvaraya Technological University. It outlines the project's objectives, features, and system requirements, emphasizing the software's ability to facilitate train ticket booking, management, and real-time tracking. The report includes acknowledgments, an introduction to the system, and details on the technologies used, such as PHP and MySQL.

Uploaded by

dummi8163
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 37

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI-590018

MINI PROJECT REPORT ON


“RAILWAY RESERVATION SYSTEM”
A Mini Project Report Submitted in Partial Fulfilment of Requirement for
the 6th Semester B.E Course during the academic year 2023-2024

Submitted by:
Anisha(3GN22CS080)
Amandeep(3GN22CS094)

Under the guidance of: Prof.V.S.PADMINI

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Accredited by NBA, New Delhi,Accredited by NAAC with A+ Grade
GURU NANAK DEV ENGINEERING COLLEGE BIDAR-585401,
KARNATAKA
Approved by AICTE, New Delhi and Affiliated to VTU, Belagavi
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE
This to certify that mini project report entitled”RAILWAY RESEVATION SYSTEM” is a
Bonafide work carried out by Anisha(3GN22CS080),Amandeep(3GN22CS094).In
partial fulfillment of the requirements for 6 th semester for the award of Degree Bachelor of
Engineering in COMPUTER SCIENCE & ENGINEERING by VIVESVARAYA
TECHNOLOGICAL UNIVERSITY,BELAGAVI during the year 2023-2024.
The mini project report has been approved as it satisfies the academic requirements in
respect of mini project work prescibed for the Bachelor of Engineering Degree

---------------------- -----------------------------
Prof: V.S.Padmini Prof: Dr. Anuradha S.

SIGNATURE OF GUIDE SIGNATURE OF HOD

Name of Examiner: Signature with Date


1.
2.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

ACKNOWLEDGEMENT

I am highly intended to my project guide Prof.V.S.Padmini, for guiding and


giving me timely advices and suggestions in successful completion of project work
“AMUSEMENT PARK”. My sincere thanks to Prof. Anuradha A HOD of Computer
Science and Engineering department for her whole hearted support in completion of
project.

I would like to express my deep sense of gratitude to principal Dr.Suresh R Reddy


GURU NANAK DEV ENGINEERING COLLEGE, BIDAR for his motivation and
for creating the inspiring atmosphere in the college providing state of art facilities for
preparation and delivery of project. Finally, I thank all the staff members who directly
or indirectly helped me to complete this project.

Anisha (3GN18CS034)
Amandeep(3GN18CS034)
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

ABSTRACT
The mini project report on “RAILWAY RESERVATION SYSTEM” is the outcome of
guidance, moral support and devotion bestowed on us throughout our work. For this we
acknowledge and express our profound sense of gratitude and thanks to everybody who
have been a source of inspiration during the project work. First and foremost, we offer our
sincere phrases of thanks with innate humility to our Principal Dr. SURESH R REDDY
who has been a constant source of support and encouragement. We feel deeply indebted to
our H.O.D. Dr. ANURADHA A, for help provided from the time of inception till date. I
would take this opportunity to acknowledge our Guide Prof.V.S.PADMINI, who not only
stood by us as a source of inspiration, but also dedicated her time to enable us to present
the mini project on time. We would be failing in endeavour, if we do not thank our parents
who have helped us in every aspect of our life.

Anisha (3GN18CS034)
Amandeep(3GN18CS034)
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

INTRODUCTION
The railway reservation system facilitates the passengers to enquiry about the trains available
on the basis of source and destination, 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 passengers. This project contains
introduction to the railways reservation 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. 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 in 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.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

SL.NO. TITLE PAGE NO.

1 INTRODUCTION

2 SYSTEM REQUIREMENT

3 TECHNOLOGY

4 SYSTEM DESIGN

SYSTEM IMPLEMENTATION
5

6
PROGRAM CODE

7 RESULTS

CONCLUSION
8

9 REFERENCES

TABLE OF CONTENTS
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 1
INTRODUCTION
1.1 : Introduction

The Railway Reservation System is a software application designed to facilitate railway


ticket booking and management. The system allows passengers to search for available
trains, select their desired seats, and book tickets with ease. The system also provides
railway administrators with tools to manage train schedules, track passenger bookings,
and generate reports. The system comprises three core classes: Train, Station, and
Ticket. The RailwayReservationSystem class serves as the main controller for the
application, providing methods for users to search for trains, book tickets, and manage
bookings.

1.2 : Purpose
The purpose of this software is to describe the Railway Reservation System which
provides the rail timing details, reservation, enquiry, billing and cancellation on various
types of reservation namely: -
 Confirm reservation for confirm seat
 Reservation against cancellation
 PNR generation

1.3 : Key features

 Add/Edit/Delete trains, stations, and passengers


 Book a ticket (insert booking details)
 Cancel a booking
 Display train schedules
 Display booking details (by train or passenger)
 Check availability
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

1.4 :Objective

Our project introduces railway reservation system with an objective to make the reservation
system more efficient, easier and fast. This project explores how computer technology can be
used to solve the problem of user.

The main objectives provided by this software are as follows:


 We can enquire about availability of trains
 We can reserve and cancel their seats
 We can modify the information related to
 Trains
Time table
Train Name
Train Number
 Ticket Fare

This project is dedicated to model existing railway reservation systems that aim at
development of Railway Reservation System that facilitates the railway customer to
manage their reservations andthe railway administrator to modify the backend database in
a user-friendly manner.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 2

SYSTEM REQUIREMENT

2.1 Software requirements


Operating system :Window 200, XP

Database :MY SQL

Documentation Tool :Ms Office

Compiler :XAMPP

2.2 Hardware requirements

Process : Standard processor with a speed of 1.6 GHz or more

RAM : 512 MB RAM or more

Hard Disk : 160 GB or more

Monitor : Standard color monitor

Keyboard : Standard Keyboard

Mouse : Standard mouse


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 3

TECHNOLOGY

3.1 :PHP:-

 PHP files can contain text, HTML, CSS, JavaScript, and PHP code
 PHP code is executed on the server, and the result is returned to the browser as plain
HTML
 PHP files have extension ".php"

3.2 :XAMPP:-
XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl.
It also comes with a number of other modules, including OpenSSL, phpMyAdmin, Media
Wiki,Joomla, WordPress and more. Self-contained, multiple instances of XAMPP can exist
on a single computer, and any given instance can be copied from one computer to
another.XAMPP is offered in both a full and a standard version (Smaller version).

3.3 :CSS: -
 CSS stands for Cascading Style Sheets
 CSS describes how HTML elements are to be displayed on screen, paper, or in other
media
 CSS saves a lot of work. It can control the layout of multiple web pages all at once
 External stylesheets are stored in CSS files

3.4 :MYSQL: -
 MySQL is a relational database management system
 MySQL is open-source
 MySQL is free
 MySQL is ideal for both small and large applications
 MySQL is very fast, reliable, scalable, and easy to use
 MySQL is cross-platform
 MySQL is compliant with the ANSI SQL standard
 MySQL was first released in 1995
 MySQL is developed, distributed, and supported by Oracle Corporation
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 4

SYSTEM DESIGN

4.1 :ER-DIAGRAM: -
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Fig 4.1 Railway Reservation System E-R Diagram

4.2 : BLOCK DIAGRAM: -

Passenger: -

Age Name Gender Phone no Authentication proof

Ticket: -

Train detail Date No of passenger Source Destination Reservation general

Payment: -

Total amount Online payment

Train Details: -

Train no Train name Compartment ReservationRAC, Train half at station Reservation chart
waiting
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Technical Supervisor: -

Name Phone no Email

4.3:DATA FLOW DAIGRAM 0-LEVEL DFD

Railway Reservation System data flow diagram 0-level DFD

DATA FLOW DAIGRAM 1-LEVEL DFD


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Railway Reservation System Data Flow Diagram Level 1

DATA FLOW DAIGRAM LEVEL 2


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Railway Reservation System Data Flow Diagram Level 2

4.4 USE CASE DAIGRAM: -

4.5 SEQUENCE DIAGRAM: -


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 5

FRONTEND DESIGN AND IMPLEMENTATION


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Requirement analysis for web applications encompasses three major tasks: formulation,
requirements gathering and analysis modelling. During formulation, the basic motivation and
goals for the web application are identified, and the categories of users are defined. In the
requirements gathering phase, the content and functional requirements are listed and
interaction scenarios written from end-user’s point-of-view are developed. This intent is to
establish a basic understanding of why the web application is built, who will use it, and what
problems it will solve for its users.

5.1 Scope

The scope of this project is limited to an engineering college. This project aims to
maintain passenger and train information. Other scopes of this project are as follows

 Freight Revenue enhancement


 Passenger Revenue enhancement
 Improved and optimised service

Product Features

 The system provides an extensive set of features catering to different user classes.
 Passengers can register, book tickets, receive real-time updates, and provide feedback.
 Administrators can manage user accounts, train schedules, and receive real-time
updates from conductors.
 Conductors can validate tickets and report train status.
 Key features include user authentication, real-time tracking, flexible booking options,
and comprehensive user management capabilities for administrators.

5.2 System Features


Designing a SRS for Railway Reservation System (RRS) would require a large range
of features and functionalities which are specifically made for the passenger,
administration and conductor’s needs.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Following are some of the main system features that are necessary for the system.

User Registration and Authentication (FRP)

5.2.1 Description:Enables users to create an account by providing personal information and


themselves for accessing the system.

5.2.2 Stimulus/Response Sequences:

o Stimulus: User selects the registration option.

o Response: System prompts for required information and validates entries.

o Stimulus: User agrees to terms and conditions.


o Response: System validates and registers the user.

o
5.2.3 Functional Requirements:
1. The system shall prompt the user to provide Name, Email-id, Password, Contact Number,
Date of Birth, and CNIC Number during the registration process.
2. Account creation shall not proceed unless all required fields are filled.
3. The system shall validate the provided information before registering the user.
4. Users must agree to the terms and conditions to complete the registration.
5. Users must be 18 years or older to create an account.

5.3 Train Schedule (FRP)

5.3.1 Description: Allows users to check train schedules, including stations, arrival/departure
times, and real-time seat availability.

5.3.2 Stimulus/Response Sequences:


o Stimulus: User selects a specific train.
o Response: System displays detailed information about the train schedule, stations, and
seat availability.
o Stimulus: User checks real-time seat availability.
o Response: System updates and displays current seat availability.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

5.3.3 Functional Requirements:


1. Users shall have the ability to view detailed train schedules, including stations, arrival, and
departure times.
2. The system shall provide real-time updates on seat availability.
3. The system shall display the number of available seats and booked/reserved seats for a
selected train.

5.4 Ticket Booking and Reservation (FRP)

5.4.1 Description: Enables users to book or reserve seats by entering destination, departure
date, and time, including selecting a preferred train, seat, fare calculation, and initiating online
payment.

5.4.2 Stimulus/Response Sequences:


o Stimulus: User enters destination, date, and time.
o Response: System displays a list of trains with available seats.
o Stimulus: User selects preferred train and seats.
o Response: System calculates fare and initiates the online payment process.

5.4.3 Functional Requirements:


1. Users shall enter destination, departure date, and time to search for available trains.
2. The system shall display a list of trains with available seats based on the entered criteria.
3. Users shall select a preferred train and seats.
4. The system shall calculate the fare for the selected booking.
5. The system shall initiate the online payment process.

5.5 Payment (FRP)


5.5.1 Description: Facilitates the payment process for booked or reserved tickets, offering
multiple payment options.

5.5.2 Stimulus/Response Sequences:


o Stimulus: User completes the booking process.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

o Response: System generates a payment slip.


o Stimulus: User chooses a payment method.
o Response: System processes the payment and generates a digital e-ticket.

5.5.3 Functional Requirements:


1. The system shall produce a payment slip after the booking process is completed.
2. Users shall have the option to pay using credit cards or any online banking app (e.g.,
Sadapay, Payoneer, and Easypaisa).
3. After successful payment, the system shall generate a digital e-ticket containing a QR code.

5.6 Real-Time Train Tracking (FRP)

5.6.1 Description: Allows users to track the real-time location of the booked train, stations
passed, and provides updates on any delays.

5.6.2 Stimulus/Response Sequences:

o Stimulus: User selects the train tracking option.

o Response: System displays the current location of the train, stations passed, and any

delays.

5.6.3 Functional Requirements:

1. Users shall have the ability to track the real-time location of the booked train.

2. The system shall display the stations the train has passed through.
3. Users shall receive updates on any delays in the arrival of the train.

5.7 View and Modify Bookings (FRP)

5.7.1 Description: Provides users with the ability to view past bookings and modify existing

bookings, including changing departure times, seats, and cancelling bookings.


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

5.7.2 Stimulus/Response Sequences:

o Stimulus: User selects the bookings option.


o Response: System displays past bookings.
o Stimulus: User selects a booking to modify.
o Response: System allows changes to departure time, seats, or cancellation.

5.7.3 Functional Requirements:

1. Users shall have the ability to view their past bookings.

2. Users shall be able to modify bookings, including changing departure times and

seats.

3. Users shall be able to cancel a booking and book a new ticket if desired.

CHAPTER 6
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Backend design and implementation


A back-end database is the database that is accessed by users indirectly through an external
application rather than by application programming stored within the database itself or by
low level manipulation of the data (e.g., through SQL commands). Here we have used
MySQL for the backend

6.1 TABLES

TABLE: A table is collection of related data held in a table format within a database. It
contains columns and rows. In relational database, a table is set of data elements using a
model of vertical columns and horizontal

Creation of table

Create Train Table

CREATE TABLE TRAINS (


TRAIN_NO INT PRIMARY KEY,
TRAIN_NAME VARCHAR (50),
SOURCE VARCHAR (50),
DESTINATION VARCHAR (50),
SCHEDULE VARCHAR (50)
);

Fig 6.1.1 Create Train Table

Create Passenger Table

CREATE TABLE PASSENGERS (


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

PASSENGER_ID INT PRIMARY KEY,


NAME VARCHAR (50),
AGE INT,
GENDER VARCHAR (10)
);

Fig 6.1.2 CreatePassengers Table

Create Bookings Table

CREATE TABLE BOOKINGS (


BOOKING_ID INT PRIMARY KEY,
TRAIN_NO INT,
PASSENGER_ID INT,
CLASS VARCHAR (10),
STATUS VARCHAR (10),
FOREIGN KEY (TRAIN_NO) REFERENCES TRAINS(TRAIN_NO),
FOREIGN KEY(PASSENGER_ID)REFERENCES PASSENGERS(PASSENGER_ID)
);
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Fig 6.1.3 Creation of Booking Table

6.2 QUERIES

1.Retrive allBooking information:

Fig 6.2.1 All Booking Information


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

Display Booking Details:

SELECT * FORM book WHERE passenger_id= 004

Fig 6.2.2 display booking details

Cancel a Booking:

UPDATE book SET status=’cancelled’ WHERE booking_no =14;

Fig 6.2.3 cancel a booking


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

6.6 SOURCE CODE


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CHAPTER 7

RESULTS AND SCREENSHOTS

7.1 Railway Reservation System Home Page

Fig 7.1 Railway Reservation System Home Page

7.2 Login Page

Fig 7.2 Login Page


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

7.3 Dashboard

Fig 7.3 dashboard

7.4 List of Reservation

Fig 7.4 List of Reservation


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

7.5 List of Inquiries

Fig 7.5 List of Inquiries

7.6 List of Trains

Fig 7.6 List of Trains


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

7.7 List of Schedules

Fig 7.7 List of Schedules

7.8 List of System Users

Fig 7.8 List of system users


GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

CONCLUSION
Practical Training is a very important part of the curriculum as it strengthens the
conceptsand enhances knowledge about the practical implementation of all the theory
concepts,we have learnt so far in different subjects. This project is used to keep a track on
reservingthe seat to the passenger. It helps managing the system very efficiently and
conveniently.Finally, this gives us a lot of mental satisfaction that the project we have worked
upon isa real time project, which will be installed at the customer site after some more
sessionof regress testing.Although the project work has been done in a detailed manner but
due to the constraint of time, we could not include some more features we wanted to in these
2 modules of implementation. We left these features as a part of the future development. As
soon as we’ll get time we’ll try to add them to my project.
GURU NANAK DEV ENGINEERING COLLEGE,BIDAR-585401

REFERENCE
o www.w3school.com
o www.tutorialspoint.com
o www.geeksforgeeks.com
o www.irctc.co.in
o www. southernrailway.org
o www.wikipedia.org
o www.indianrailways.gov.in

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy