Documente Academic
Documente Profesional
Documente Cultură
Name
Enrolment
Seat Number
Samra Shaukat
2013/comp/BS(SE)/15479
1315543
17-Dec-2015
DEPARTMENT
OF
COMPUTER SCIENCE
AND
INFORMATION TECHNOLOGY
OOPST
Page 1
ACKNOWLEDGEMENT
I take this opportunity to present our votes of thanks to all those who guide me and acted as
lightening pillars to enlighten our way throughout this project that has led to successful and
satisfactory completion of this study.
I am really grateful to my subject teacher Miss Anum for providing us with an opportunity to
undertake this project in this university and providing us with all the facilities and knowledge. I
am highly thankful for her active support, valuable time and advice, whole-hearted guidance,
sincere cooperation and involvement during the study and in completing the preparation of our
project within the time stipulated.
Lastly, I am thankful to all those, particularly the various friends , who have been instrumental
in creating proper, healthy and conductive environment and including new and fresh innovative
ideas for me during the project, their help, it would have been extremely difficult for me to
prepare the project in a time bound framework.
Thank You.
SAMRA SHAUKAT
ACKNOWLEDGEMENT......................................................................1
2
Table Of
Content
.1
TABLE OF
FIGURES
.3
CHAPTER 1: INTRODUCTION...........................................................1
4.1ADD Employee
4.2 Passeneger
4.3 Train
4.4 Train Seat
4.5 Train Schedule
4.6 Reservation
CHAPTER 5: Conclusion
Table of figure
FIGURE 3.1..................................................................................... 8
FIGURE 4.1..................................................................................... 4
FIGURE 4.2
FIGURE 4.3
FIGURE 4.4
FIGURE 4.5
FIGURE 4.6
FIGURE 4.7
CHAPTER 1
INTRODUCTION
1.1 Project Overview
This project will help in solving all the problems in existing system of Railway Reservation
System. In existing system all data is stored in files which is awkward method and many
problems are faced by the users and passengers, so this project will help to enter data easily in
computer database then no problems will be faced by the users and passengers. The user can
easily find any data at any time in a few seconds. It includes modules required to successfully
operate railway reversion process smoothly. It has train master to add modify train information,
Train schedule to enter train schedule details include all the source and destination station names,
arrival time and departure time. It includes automatic fare calculation as per the distance between
two stations. Reservation modules consist of automatic seat no and train no allocation system.
Daily scheduling and updating of not available seats in train can be done easily. All master like
train master, train schedule, reservation fees, can be modified individually from front end and
changes reflect in all modules immediate. Therefore proposed Online Railway Reservation
System has been designed to automate the process of railway for ticket reservation and back
office activities. System can make the daily activities efficient and providing the fast response.
CHAPTER 2
SYSTEM DESIGN
2.1 Data Dictionary
Following are the tables along with their attributes and Meta data
Table name
Add Employee
Passenger
Column name
Emp_ID
Full_Name
Gender
Joinning_Date
Shit_Postion
Address
Password
Mobile_No
Null\not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Data type\size
Int
Char(49)
nvarchar(40)
nvarchar(20)
Varchar(40)
Varchar(60)
Varchar(40)
int
Primary key
yes
No
No
No
No
No
No
No
Foreign key
P_ID
Full_Name
Gender
City
Mobile
Not null
Not null
Not null
Not null
Not null
Int
Varchar(40)
Varchar(50)
Varchar(30)
Char(60)
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Train
Train_ID
Train_Name
Source_Station
Destination_Station
Price_ticket
Not null
Not null
Not null
Not null
Not null
Int
Varchar(40)
Varchar(40)
Varchar(40)
Varchar(40)
Yes
No
No
No
No
Yes
Yes
No
Train_Seat
Seat_ID
Train_ID
Seat_Status
Not null
Not null
Not null
int
int
nvarchar(40)
Yes
No
No
No
Yes
No
Train_Schedule
T_SID
Train_ID
Arrival_Time
Depature_Time
Date
Not null
Not null
Not null
Not null
Not null
int
int
Datetime
Datetime
DateTime
Yes
No
No
No
Yes
No
Yes
No
No
No
Reservation
Ticket_No
Train_ID
Train_Name
Station_From
Station_To
Arrival
Depature
Seat_No
Current_Date
Reservation_Date
Emp_ID
Passenger_Name
Price_Ticket
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
Varchar(50)
Varchar(30)
Varchar(40)
Varchar(20)
Varchar(40)
DateTime
DateTime
Varchar(60)
DateTime
DateTime
Int
Varchar(70)
Varchar(40)
yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
CHAPTER 2
8
The NetBeans IDE is primarily intended for development in Java, but also supports other
languages, in particular PHP, C/C++ and HTML5.
The NetBeans Team actively support the product and seek feature suggestions from the
wider community. Every release is preceded by a time for Community testing and
feedback
10
Database System
3.2
Project Report
TECHNOLOGY
3.2.1 Java
Java is a general-purpose computer programming language that is concurrent, classbased, object-oriented, and specifically designed to have as few implementation dependencies as
possible. It is intended to let application developers "write once, run anywhere"
(WORA), meaning that compiled Java code can run on all platforms that support Java without
the need for recompilation. Java applications are typically compiled to byte code that can run on
any Java virtual machine (JVM) regardless of computer architecture. As of 2015, Java is one of
the most popular programming languages in use, particularly for client-server web applications,
with a reported 9 million developers. Java was originally developed by James Gosling at Sun
Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a
core component of Sun Microsystems' Java platform. The language derives much of
its syntax from C and C++, but it has fewer low-level facilities than either of them.
The original and reference implementation Java compilers, virtual machines, and class
libraries were originally released by Sun under proprietary licenses. As of May 2007, in
compliance with the specifications of the Java Community Process, Sun relicensed most of its
Java technologies under the GNU General Public License. Others have also developed
alternative implementations of these Sun technologies, such as the GNU Compiler for Java (byte
code compiler), GNU Class path (standard libraries), and Iced Tea-Web (browser plug-in for
applets).
The latest version is Java 8, which is the only version currently supported for free by Oracle,
although earlier versions are supported both by Oracle and other companies on a commercial
basis.
3.3.1 SQL
26th December 2014
Database System
Project Report
Use sql for database Through sql we can insert and update our data
stands for Structured Query Language. SQL is used to communicate with a database. According
to ANSI (American National Standards Institute), it is the standard language for relational
database management systems. SQL statements are used to perform tasks such as update data on
a database, or retrieve data from a database. Some common relational database management
systems that use SQL are: Oracle, Sybase, Microsoft SQL Server, Access, Ingres, etc. Although
most database systems use SQL, most of them also have their own additional proprietary
extensions that are usually only used on their system. However, the standard SQL commands
such as "Select", "Insert", "Update", "Delete", "Create", and "Drop" can be used to accomplish
almost everything that one needs to do with a database. This tutorial will provide you with the
instruction on the basics of each of these commands as well as allow you to put them to practice
using the SQL Interpreter.
CHAPTER 4
SNAPSHORTS
4.1 Login Page:
Database System
Project Report
Database System
4.3 Passenger
Project Report
Database System
4.4 Train
Project Report
Database System
Project Report
Database System
Project Report
Database System
Project Report
Database System
4.7 Reservation
Project Report
Database System
Project Report
CHAPTER 5
CONCLUSION
This project is used to keep a track on reserving the seat to the passenger. It helps
managing the system very efficiently and conveniently.
Database System
Project Report
Finally,This gives us a lot of mental satisfaction that the project i have worked upon
is a real time project, which will be installed at the customer site after some more
session of regress testing.
Although the project work has been done in a complete and detailed manner but
due to the constraint of time, i could not include some more features I wanted to.i
left these features as a part of the future future development