Online Railway Reservation System: Project by Miss. Ashwini Biradar Miss. Prajakta Tingre FOR T.Y.B.Sc. (Computer Science)
Online Railway Reservation System: Project by Miss. Ashwini Biradar Miss. Prajakta Tingre FOR T.Y.B.Sc. (Computer Science)
PROJECT BY
Miss. Ashwini Biradar
Miss. Prajakta Tingre
FOR
T.Y.B.Sc.(Computer Science)
YEAR 2018-2019
1
CERIFICATE
Department of Computer Science
Miss. Ashwini Biradar and Miss. Prajakta Tingre student of T.Y.BSc (Computer
Science) examination of University of Pune.
It is original software carried out under the supervision & guidance of Prof.
Mandar Parale and undergoes for the project work.
Date:
2
DECLARATION
As far as I know this project has not been carried out by anybody else in the
partial fulfillment of syllabus T.Y.BSc (Comp.Sci.) Course.
Projectee:
1. Ashwini Biradar
2. Prajakta
Tingre
3
ACKNOWLEDGEMENT
I extend our sincere and heartfelt thanks to our esteemed guide, Prof.
Mandar Parale for providing me the right guidance and advice, which helps me to
take up the responsibilities with courage and determination.
I extend our sincere thanks to our respected head of the department Mrs.
Rashmi Lad, for guidance and facility for the report.
Projectee:
1. Ashwini Biradar
2. Prajakta
Tingre
4
INDEX
1. Introduction 6
2. Problem Definition 7
9. System Design 22
Class Diagram 24
Component Diagram 30
Deployment Diagram 31
5
12. Conclusion 42
INTRODUCTION
In today’s fast improving world computers have become a part of all over
the world. The project “Online Railway Reservation Management System” is being
proposed for booking the train tickets in computerized. This system will provide a
user account for every user. The user can create for login the system and booking
any train tickets very quickly. Passenger can get the print-out of the tickets and
know the status of the booking.
The administrator should have the ability to perform operation like add a
new train, modify the tickets costs and update a particular train. The
administrator also has the privilege to view the reports of all the passengers.
1. User details
2. Train details
3. E-Ticket booking
4. Generating Reports
This system uses the well known resource. Where there is no need of any
special kind of resource. It uses only the required database.
6
PROBLEM DEFINITION
The main objective of railway reservation project is to maintain the records of
train details so that it could be easy for updating the reservation details. The train
details consist of train name, train no, source and destination to be reached,
number of seats available. The reservation details consist of passengers, name,
age, sex, destination to be reached by them, ticket numbers, and seat number.
7
NEED OF THE COMPUTERIZATION
The system includes the applications that are helpful to the passenger in
many different ways. The different applications used in system are:
8
5. It has the ADD, REMOVE or UPDATE features for all the different
construction like train, passenger etc.
Thus the system shows us different ways to perform tasks with less effort and
trouble and securing the data.
9
SCOPE OF SYSTEM
This system is helpful for the operations performed by the user. The system is
computer applications software which allows the user to get the things done very
easily and with less effort and also ensures the security of the data. Thus, the
scope of the system tells us about the striking features of the system.
1. Extensibility
This software is extensible in ways that its original developers may not
except. The following principles enhance extensibility like hide data
structure, avoid traversing multiple links or methods, avoid case statements
on object type and distinguish public and private operation.
2. Reusability
Reusability is possible as and when require in this application. Reusable
software reduces designs, coding and testing cost by amortizing effort over
several designs. Reducing the amount of code also simplifies
understanding, which increases the likelihood that the code is correct.
10
3. Understandability:
A method is understandable if someone other than the creator of the
method can understand the code (as well as the creator after a time lapse).
We use the method, which small and coherent helps to accomplish this.
4. Cost-effectiveness:
Its cost is under the budget and make within given time period. It is
desirable to aim for a system with a minimum cost.
11
OBJECTIVE OF THE SYSTEM
Every system is design to achieve one or more objectives; the main objective
of this system is to overcome some problems that come during existing system.
4. The system is very helpful in performing multiple tasks at the same time
without any wastage of time along with security of data.
12
8. Lots of paper work and storage space is saved.
10.The system has powerful validation and checking appropriate message are
generated wherever necessary.
13.System is very easy to use which will improve the system efficiency.
13
SYSTEM ANALYSIS
1. Questionnaires
2. Interviews
3. Record Views
4. Observation
Questionnaires:
We used this technique in the initial phase and final phase of our project.
In the initial phases we prepared questionnaires to get some basic information
about the current system. We could find out the work structure of the
organization and is its functioning. In the final stage we used the questionnaires
to get some new numerical data’s that was missing after all the observations.
Questions asked wear both open ended and closed ended. Which were related to
user interactions with current system. Updating and rules for records
maintenance, report generated by current system, complications in the system,
complications in the system as per user.
14
Interviews:
Records Review:
This was the most beneficial technique for us while making our database.
We studied the existing file structure, documents used and generated in the
organization. For every individual piece of information in this files or register we
tried to identify its significance, needs, relational with our data items and any
other features. This process contributed the most, in getting the data in the first
normal form.
Observation:
While finding the facts we keenly observed all the activities in the
organization. We paid attention to the transaction usage of file and document,
the records keeping and the handling of queries in the existing system.
Observation helped us in finding out actual way of functioning apart from the
ideal or desired.
15
Feasibility study:
1. Technical feasibility
2. Operational feasibility
3. Economical feasibility
Technical Feasibility:
This system has HTML as the front end the hardware and software
requirement are feasibility always and focus on the existing computer
hardware, software and personal requirements, the technical feasibility
also includes the need for more hardware and software and the possibility
of producing such facility.
16
Operational Feasibility:
Economical Feasibility:
17
ADVANTAGES OF THE SYSTEM
18
HARDWARE AND SOFTWARE REQUIREMENTS
Hardware Requirements:
1. PROCESSOR:
Oracle VM virtual box.
2. RAM:
System with at least 500MB.
3. HARD DISK:
Minimum 70GB or ABOVE.
Software Requirement:
1. OPERATING SYSTEM:
CentOS - JP.
2. FRONT END:
a. Java JDK 1.7
b. JDBC
c. JSP
3. BACK END:
a. PgSQL
19
DATA DICTIONARY
Train:
Column | Data Type | Modifiers
-----------+---------------------------+-----------
Passenger:
Column | Data Type | Modifiers
-----------+--------------------+-----------
Available Tickets:
Column | Data Type | Modifiers
--------------+---------------------+-----------
20
Reserved Tickets:
-------------+------------------+-----------
21
SYSTEM DESIGN
22
ER-DIAGRAM
Pname Age
Mob No
Tname Pid
Tno M
Has a Book
Otime Charge
Source M Bdate
Ticket Mb No
Tid
Intime
AC General
23
CLASS DIAGRAM
has +Request_Form ( )
+Modify_train ( ) + ADD_Ticket ( )
1 +Book_Ticket ( ) + Delete_Ticket ( )
+ Tid : int
+ Tname : string
+ Seat_no : int
+ Time : Time
+ Date : Date
+ Class : string
+ Display_list_of_train()
+ Confirmation ( )
24
USE CASE DIAGRAM
Timetable Database
Availability
Passenger Railway
Reservation
Database
25
ACTIVITY DIAGRAM
For Book Ticket
Login
Check if login No
Correct
Yes
If
Available No Quit
Yes
Fill details
Confirm Details
26
For Cancel Ticket
Login
If login
Correct
Fill details
Cancel Ticket
27
SEQUENCE DIAGRAM
For Book Ticket
P: Passenger R:Railway Reservation System T:Ticket
Submit Details
Create ticket
Send Details
Check
Create Ticket
Available()
Send print
28
Take print
Delete Ticket
Check
Return Status Database()
Store details
29
COMPONENT DIAGRAM
Home Page
Component
Book Ticket
Modify Form
Fill Form
Cancel Ticket
30
DEPLOYMENT DIAGRAM
DatabaseAdmin.exe
Userdatabase.exe Reservation.exe
Calculatefare.exe
P: Printer
Print.exe
31
INPUT OUTPUT SCREENS
Login Screen
Admin Login
32
Login successful
33
PASSENGER REPORT
Insert Passenger:
Update Passenger:
34
Passenger Report:
35
Train Report
Insert Train:
Train Report:
36
Timetable Report
Insert Time Table:
37
Ticket Report
Book Ticket:
38
Cancel Ticket:
39
Change Password:
40
LIMITATIONS
2. While adding the new data into the system, date redundancy
may occur.
41
FUTURE ENHANCEMENT
1. The system will reduce data redundancy and make the data
management more efficient.
42
CONCLUSION
The system can handle the passenger’s requirement. It can print the
ticket booked by passengers as the passenger will have some transcript
with him. The system successfully handles the database concepts.
So, the conclusion is that the system is useful but not perfect one.
43
BIBLOGRAPHY
References:
Wikipedia.
44