Professional Documents
Culture Documents
FYP OBTRS Documentation
FYP OBTRS Documentation
To
The Controller of Examinations
Government College University
Faisalabad.
We, the project evaluation committee, certify that the contents and form of this project
submitted by have been found satisfactory and thus recommended for the award of Degree.
Page | 1
DECLARATION
The work reported in this Documentation was carried out by us under the supervision of “Sir Umar
Hayat”, proficient teacher of department of Computer Science, Govt. Post Graduate College Jhang,
Pakistan. We hereby declare that the title of the project “Online Bus Ticket Reservation System”
and the contents of project is our own and no part has been copied from any project source code. We
further declare that this work has not been submitted for any award of any other degree diploma. The
college may take action for incorrect information.
Page | 2
ACKNOWLEDGEMENT
No one alone can make such kind of project. The contributions of many people, in different ways,
have made it possible. We would like to extend our appreciation especially to the following. Thank
ALLAH for the wisdom and perseverance that he has been bestowed upon me during this project,
and indeed, throughout my life:
"I can do everything with His help who gives me strength in all my dealings."
Last but not least, we would like to thank my parents for their unconditional support not only
financially but also emotionally throughout our degree.
Page | 3
ABSTRACT
Online bus reservation system is “web-based” project which provides a portal for bus ticket
reservation. This system will allow users to book bus tickets from anywhere and anytime. It
will provide the facility to reserve seats, cancellation of reservation and different types of
route enquiries used on securing quick reservations.
The user can easily book their tickets and cancel tickets. The user can view all the details of
the website, bus, and route. We observed the working of the Bus reservation system and after
going through it, we get to know that there are many operations, which they have to do
manually. It takes a lot of time and causes many errors. Due to this, sometimes a lot of problem
so occur and they were facing many disputes with customers . To solve the above problem,
and further maintaining records of items, seat availability for customers, price of per seat, bill
generation and other things, we are offering this proposal of online bus reservation system.
Page | 4
Table of Contents
INTRODUCTION ............................................................................................ 10
2.5 Tools………………………………………………………………………………………18
SYSTEM REQUIRMENETS…………….......................................................... 19
Page | 5
SYSTEM DESIGN..................................................................................................... 28
MANUAL................................................................................................................ 46
6.3 References……………………………………………………………………….57
Page | 6
List of Figures
FIGURES ..........................................................................................................
Page | 7
List of Tables
TABLES ............................................................................................................
Page | 8
CHAPTER 1
INTRODUCTION
Page | 9
What are we aim for through this idea? The main objective of the project entire activity is to
automate the ticket booking process of day to day activities of system like:
1. Ticket activities.
4. Advance bookings.
6. Feedbacks.
Page | 11
1.5 Project risk
Page | 12
CHAPTER 2
SYSTEM ANALYSIS
Page | 13
2.1 SYSTEM ANALYSIS
System Analysis is a management technique, which helps in designing a new system or
improving an existing system. System Analysis is the process of gathering and
interpreting facts, diagnosing problems (if any), using information to recommend
improvements to the system. There are four basic elements of system analysis: - Output,
Input, Files, processes. For computerization of any system, the existing system must be
thoroughly being understood to determine ³how the computer can be best used to make
its operation most effective´. This is acquired by analyzing existing system.
Technical feasibility
Behavioral Feasibility
Economical feasibility
Technical Feasibility deals with the hardware as well as software requirements. Technology is not a
constraint to type system development. We have to find out whether the necessary technology,
the proposed equipments have the capacity to hold the data, which is used in the project, should
be checked to carry out this technical feasibility.
The proposed system can run on any machines supporting Windows and Internet services and works
on the best software and hardware that had been used while designing the system so it would be
feasible in all technical terms of feasibility
This software is running in windows Operating System, which can be easily installed.
The hardware required is Pentium based server.
Page | 14
The system can be expanded.
This feasibility test asks if the system will work when it is developed and installed. Operational
feasibility in this project:
Economical Feasibility deals about the economical impact faced by the organization to implement
a new system. Financial benefits must equal or exceed the costs. The cost of conducting a full
system, including software and hardware cost for the class of application being considered should
be evaluated. Economic Feasibility in this project:
Existing system refers to the system that is being followed till now. In the present Bus Ticket
Reservation System, the work is maintained by the manual process, so the user needs to contact the
person related to each branch for the inquiry to get the details such as the schedule of a bus, seat
availability, bus facility, cost, etc. In the current Bus Ticket Reservation System, the time is limited
by the working hour of the branch and the person who want to buy the ticket has to go to the
branch. The company keeps all the records related to bus ticket manually to calculate the income
which is not an easy process. While there will be a probability of error in calculation.
So, a detailed study of existing system is carried along with all the steps in system analysis.
Page | 15
2.3.1 Draw backs of existing system:
Lack of security of data.
Time consuming.
To avoid all these limitations and make the working more accurately the system needs to
be computerized.
Page | 16
2.5 Tools
Tools are the backbone of any system. If there is no tool to develop the system, there is no meaning
of any system. Tools are very necessary for any system. That’s why we also have a combination of
tools like:
Windows X
XAMPP
HTML/CSS
PHP (My Sql for DB)
Sublime Text
Visual Paradigm
Page | 17
CHAPTER 3
SYSTEM REQUIRMENT
Page | 18
3.1 Objectives of the Project
Online bus reservation system is web-based project which provides a portal for bus ticket
reservation. This system will allow users to book bus tickets from anywhere and anytime. It
will provide the facility to reserve seats, cancellation of reservation and different types of
route enquiries used on securing quick reservations. The user can easily book their tickets
and cancel tickets. The user can view all the details of the website, bus, and drive. The user
can also view the details of the journey and the details of the journey timings. We observed
the working of the Bus reservation system and after going through it, we get to know that
there are many operations, which they have to do manually. It takes a lot of time and causes
many errors. Due to this, sometimes a lot of problem so occur and they were facing many
disputes with customers. To solve the above problem, and further maintaining records of
items, seat availability for customers, price of per seat, bill generation and other things, we
are offering this proposal of online bus reservation system.
In the existing system, all the booking process and the maintenance of the records is done
manually. Users who are interested in inquiring about the bus type, tickets price, available
seats, facility of the bus etc. have to walk to the booking office. This creates a lot of time
waste for the users. The proposed system is a new system which is helpful to employees as
well as the users. This system provides help to the users as they can inquire about the bus
model, its ticket price, available Seats, facility of the bus etc. and they don’t need to walk to
the office. There are login and password service for employee and regular customers to use
this system.
Page | 19
3.2 Available Models
Waterfall model
V-shaped model
Evolutionary prototyping mode
Spiral method
Iterative and Incremental method
Agile development
Page | 20
It is developed to overcome the weakness of waterfall model. It starts with an
initial planning and ends with deployment with the cyclic interactions in
between.
Page | 21
3.3.1 The sequential phases in Waterfall model are −
Page | 22
3.4 System Functional Requirements
Page | 23
Notification Automated Any type of notification is sent
automatically
User can cancel booking User System will allow the customer
to cancel their bookings
Admin can cancel booking Admin System will allow admin to
cancel bookings if soiled weather
or any type of disaster
User can reschedule their User System will allow user to
tickets reschedule their tickets
according to their needs
Report Automated System will generate the report
about user ticket status
User can give feedback Customer System will allow customer to
add feedback
User can view travel Customer System will show history
history
The Interface Requirements Specification (IRS) specifies the requirements imposed on one or
more systems, subsystems, Hardware Configuration Items (HWCIs), Computer Software
Configuration Items (CSCIs), manual operations, or other system components to achieve one or
more interfaces among these entities. Interface design often assumes the status of
requirements when the design is baselined, e.g. prior to release into production or purchasing.
This is a unique phenomenon, brought about because, once a product is released into
production or purchasing, any replacement will need to retain the interface design
characteristics of the original (fully or partly), not just satisfy the interface requirements.
This is because the thing at the other end of the interface is relying an mutual consistency from
the SoI.
Page | 24
3.7 Hardware requirements
A literature review is a survey of scholarly sources (such as books, journal articles, and thesis)
related to a specific topic or research question. It is often written as part of a thesis, dissertation, or
research paper, in order to situate your work in relation to existing knowledge. The purpose of
a literature review is to Identify areas of prior scholarship to prevent duplication and give credit to
other researchers. ... Identify need for additional research (justifying your research) Identify the
relationship of works in context of its contribution to the topic and to other works. Over the years,
numerous types of literature reviews have emerged, but the four main types are traditional or
narrative, systematic, meta-analysis and meta-synthesis.
We did literature survey and found these websites related to our project
BOOKME.PK
This website is easily available on google. We have studied a lot about this website. We have
attached picture of this website interface. This website helps you find schedule and to book ticket.
You can contact them through phone number or email address. This information is added on their
website. It will give us the list of all schedules and available tickets.
Page | 25
Daewoo
This website is also easily available on google. We have studied a lot about this website. We
have attached picture of this website interface. This website helps you find schedule and to
book ticket. You can contact them through phone number or email address. This information
is added on their website. It will give us the list of all schedules and available tickets.
Page | 26
CHAPTER 4
SYSTEM DESIGN
Page | 27
4.1 Use-Case Diagram (Customer):
Page | 28
4.1.1 Use-Case Diagram (Admin):
Page | 29
4.2 Class Diagram:
Page | 30
4.3 Activity Diagram (User):
Page | 31
4.3.1 Activity Diagram (Admin):
Page | 32
4.4 Sequence Diagram (User):
Page | 33
4.4.1 Sequence Diagram (Admin):
Page | 34
4.5 Entity-Relationship Diagram (ERD):
Page | 35
CHAPTER 5
IMPLEMENTATION & TESTING
Page | 36
5.1 IMPLEMENTATION
After you have carefully planned your project, you will be ready to start the project implementation
phase, the third phase of the project management life cycle. The implementation phase involves
putting the project plan into action. That’s what happens in the implementation phase of the project
life cycle: you follow the plan you’ve put together and handle any problems that come up. The
implementation phase is where you and your project team actually do the project work to produce
the deliverables. The word “deliverable” means anything your project delivers. The deliverables for
your project include all of the products or services that you and your team are performing for the
client, customer, or sponsor, including all the project management documents that you put
together. The steps undertaken to build each deliverable will vary depending on the type of project
you are undertaking, and cannot therefore be described here in any real detail. For instance
computer software projects may require the development and implementation of software code
routines to produce each project deliverable. The activities required to build each deliverable will
be clearly specified within the project requirements document and project plan. The
implementation phase keeps the project plan on track with careful monitoring and control
processes to ensure the final deliverable meets the acceptance criteria set by the customer. This
phase is typically where approved changes are implemented.
Most often, changes are identified by looking at performance and quality control data.
Routine performance and quality control measurements should be evaluated on a
regular basis throughout the implementation phase. Gathering reports on those
measurements will help you determine where the problem is and recommend changes
to fix it.
Page | 37
Their assistance in parallel testing will help them prepare for when the system goes live. End users
are good at using the system in more of a "real world" situation and can judge when process flows
are not working. When everyone involved with using the system is included in the training, they
will feel more confident about using it as they go into production and the user community will view
the implementation as successful.
The system may have been tested for functionality and all customizations are working accurately,
but if the end users do not know how to use it or feel comfortable with it, then the launch of the
new system will be viewed as unsuccessful. Therefore, the timing of the end user training is critical
and must be planned for and implemented prior to the start of the parallel test phase to ensure a
successful implementation.
There are two possible solutions for training. The first is to use project team members to
develop and deliver the end user training and the second is to identify a training partner
to support the development and delivery of end user training, including a train the
trainer component.
5.3.1 Security
A considerable amount of applications and systems have been faced serious security
threats due to the large number of new available technologies and the lack of
knowledge and investigation about them. In the past, security concerns were basically
Page | 38
around network infrastructure layers. Currently, due to the growing use of networks and
the Internet concept dominance, such as cloud computing, Software as a Service (SaaS),
serious vulnerabilities are being discovered by attackers in the application layer.
Therefore, the concept of application security layer emerged as an essential task in the
development process.
According to Federal Information Processing Standard (FIPS) (The National Institute of
Standards and Technology (NIST), 2010) there are three security core principles that
guide the information security area:
Page | 39
5.4 SYSTEM TESTING
5.4.1 Unit testing:
This is the testing process which we can do manually because in this testing program is a
tested individually using dummy record to see whether that program produce satisfied
output.
System testing is actually a series of different test whose primary purpose is to full
exercise the computer base system. Where the software and other system elements are
tested as whole. To test computer software, we spiral out along streamlines that
broadens the scope of testing with each turn.
The last higher-order testing step falls outside the boundary of software Engineering and
in to the broader content of computer system engineering. Software , once validated
,must be combining with order system elements(e.g. hardware , people
,databases).System testing verifies that all the elements Mesh properly and that overall
system function/performance is achieved.
Recovery testing
Security testing
Stress testing
Page | 40
5.5 Test cases:
Page | 41
9 View customer information View successfully This
customer function
information works
properly effectively
Integration testing is the phase of software testing in which individual software modules are
combined and tested as a group. It occurs after unit testing and before validation testing.
Integration testing takes as its input module- that have been unit tested- groups them in larger
aggregate, applies tests defined in an integration test plan to those aggregates and delivers its
output that integrated system ready for system testing.
Page | 43
Top down
All top-level integrated modules are tested first and its sub modules tested from top to
bottom step by step.
Bottom up
All bottom level integrated sub modules are tested first and its main modules are tested
from bottom to up step by step.
Page | 44
CHAPTER 6
USER MANUAL
Page | 45
Manual
1. Signin & Signup:
Page | 46
Page | 47
2. Home & Add Post Activity:
Page | 48
3. Select route and Booking activities:
Page | 49
4. Select seat:
Page | 50
5. Generate & Download Receipt:
Page | 51
6. Admin panel & Dashboard:
Page | 52
7. Confirm/Approve Bookings:
Page | 53
8. About Us & Contact Us:
Page | 54
9. Conclusion and Possible Extensions in Future:
ALS Travels is a company online system, which enable customer to check availability of bus ticket,
buy bus ticket & pay bus ticket online.
It makes the customer easy to get bus ticket online instead of queue up to buy the bus ticket.
Page | 55
References:
https://daewoo.com.pk/
https://bookme.pk/
https://www.redbus.in/
https://www.flaticon.com/
https://www.wikipedia.org/
https://www.lovelycoding.org/bus-reservation-system/
https://www.slideshare.net/stejinpaulson/online-bus-booking-system
https://www.google.com/
https://www.researchgate.net/publication/326468848_Online_Bus_Ticket_Reservat
ion_System
Page | 56