Uploaded by kamla

Airline Ticket Reservation System

advertisement
POKHARA COLLEGE OF MANAGEMENT
GYAN MARG, NADIPUR, POKHARA-3, NEPAL
A Project Report on
AIRLINE TICKET RESERVATION SYSTEM
SUBMITTED BY:
Alina Gurung (19080117)
Anusha Bhandari (19080119)
Kamala Gurung (19080122)
Manisha Bhandari (19080125)
Sarita Bhujel (19080133)
SUBMITTED TO:
Er. Hari Prasad Baral
BCIS Coordinator
July, 2021
1
ACKNOWLEDGEMENT
We would like to take this opportunity to express our gratitude toward all the people who
have in various ways helped in this project.
We must convey our gratitude to Mr. Hari Prasad Baral for giving us the constant source
of inspiration and help in preparing the project, encouraging us and providing guidelines
in elaborating views of studying the project details and getting the right vision of the
project.
2
Table of Contents
ACKNOWLEDGEMENT .................................................................................................... 2
1. INTRODUCTION ............................................................................................................ 4
1.1 About Project............................................................................................................... 4
1.2 Objectives .................................................................................................................... 4
2. FEASIBILITY STUDY .................................................................................................... 5
2.1 System Requirements .................................................................................................. 6
3. SYSTEM ARCHITECTURE ........................................................................................... 8
3.1 Block Diagram: ........................................................................................................... 8
3.2 Use-case Diagram ....................................................................................................... 9
3.3 ER-Diagram: ............................................................................................................. 10
3.4 Flowchart .................................................................................................................. 11
3.5 DFD Diagram ............................................................................................................ 12
4. METHODOLOGY .......................................................................................................... 15
4.1 Creating a Database and Inserting Data using XAMPP............................................ 15
5. SNAPSHOT .................................................................................................................... 18
6. SYSTEM IMPLEMENTATION .................................................................................... 27
7. CONCLUSION ............................................................................................................... 27
8. REFERENCES................................................................................................................ 28
3
1. INTRODUCTION
This project on Airline Ticket Reservation System is the automation of registration
process of airline system. The system is able to provide much information like passenger’s
information, criminal’s, list of all passengers etc. The system also allows us to add records
when a passenger reserves a ticket. For data storage and retrieval we use the file-handling
facility. It enables us to add any number of records in our database. But for intrinsic nature
of file handling, the retrieval process is slow when we search a particular record in the
database, because record is searched sequentially.
1.1 About Project
The project named “Airline Ticket Reservation System” is an integrated passenger
processing system developed in Java as a web-based project. The system
includes reservation of tickets, cancelation of tickets, adding new records, modifying
records and deleting records. This project will also show the attitute of the management
that they are aware to the newly introduced technology and ready to adopt them.
1.2 Objectives
 To provide some amount of automation in airlines mangement.
 To provide accurate information about the addition, deletation and modified record.
 To provide efficient, accurate, reliable, fast and robust structure that can handle any
number of passenger’s transactions.
 To help airlines system in making their business more efficient,
4
2. FEASIBILITY STUDY
Feasibility is the determination of whether or not a project is worth doing. The process
followed in making this determination is called a feasibility study. This type of study
determines if a project can and should be taken.
Operational Feasibility:
Operational analysis is a measure to identify how well a solution meets the system
requirements to solve the problems and take advantage of the opportunities envisioned for
the system. Define the urgency of the problem and the acceptability of any solution, If the
system is developed. It ask us the question like what is now known about the problem and
the cost of the solution, and if the problem is still worth solving so that there won’t be any
operational problems later on.
Economic Feasibility:
Economic feasibility analyze if a project or solution is cost-effective or not. It is count as
the most important measure for management. It includes Cost-Benefit Analysis which
answers questions like:
•
•
•
How much will the system cost?
What benefits will the system provide?
Is the proposed system cost-effective?
The Cost-Benefit Analysis is the procedure to determine the benefits and savings that are
expected from a system and compare them with cost. . Earlier in Computer Craft the work
has been done manually which takes lot of time as well as man power which is more
economical, effective and efficient and less time consuming.
Technical Feasibility:
Technical Feasibility centers on the existing computer system (hardware/ software) and
also it can support the modification. In manual processing, there is more chance of errors,
creating lot of complications, less technical or logical. Through proposed system we can
set this process in a very systematic pattern, which is more technical, full proof, authentic,
safe and reliable.
5
2.1 System Requirements
Functional Requirements:
Admin
 Create, login to the system
 Fill customer detail, view customer details
 Ticket booking
User
 View flights
 Ticket Booking
Non- Functional Requirements:
 Security Requirement: Only the admin or ticket manager can update and delete the
customer record in the system.
 Availability: The system is available for every registered user anytime.
 User Friendly: The system has a friendly user interface.
Hardware Requirements:
 Compatible and higher processor
 Minimum 2 GB RAM
Software Requirements:
JAVA: The entire component has been developed using Java technology. Java has been
chosen as the platform because of its feature rich nature. The Java Platform provides
robust end-to-end solutions for networked applications as well as a trusted standard for
embedded applications. Java is object oriented to the truest sense of the word. Everything
in Java is represented as objects. Java is portable and platform independent so much that
they satisfy “write once; run anywhere, anytime, forever”. So Java was a natural choice for
development process.
MySQL: MySQL is a relational database management system (RDBMS) that runs as a
server providing multi-user access to a number of databases. MySQL is a popular choice
of database for use in web applications and is an open source product. The process of
setting up a MySQL database varies from host to host, however we will end up with a
database name, a user name and a password. Before using our database, we must create a
6
table. A table is a section of the database for storing related information. In a table we will
set up the different fields which will be used in that table.
XAMPP: XAMPP is a small and light Apache distribution containing the most common
web development technologies in a single package. Its contents, small size, and portability
make it the ideal tool for students developing and testing applications in PHP and MySQL.
XAMPP is available as a free download in two specific packages: full and lite. The light
version is a small package containing Apache HTTP Server, PHP, MySQL, phpMyAdmin,
Openssl, and SQLite.
7
3. SYSTEM ARCHITECTURE
3.1 Block Diagram
Figure 1 (Block diagram of the system)
8
3.2 Use-case Diagram
Use case diagrams consist of actors, use cases and their relationships. The diagram is used
to model the system/subsystem of an application. A single use case diagram captures a
particular functionality of a system.
Figure 2 (Use-case Diagram)
9
3.3 ER-Diagram
ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that
displays the relationship of entity sets stored in a database. In other words, ER diagrams
help to explain the logical structure of databases. ER diagrams are created based on three
basic concepts: entities, attributes and relationships.
Figure 3 (ER-Diagram)
10
3.4 Flowchart
A flowchart is a picture of the separate steps of a process in sequential order. It is a generic
tool that can be adapted for a wide variety of purposes, and can be used to describe various
processes, such as a manufacturing process, an administrative or service process, or a
project plan.
Figure 4 (Flowchart)
11
3.5 DFD Diagram
A data flow diagram (DFD) maps out the flow of information for any process or system. It
uses defined symbols like rectangles, circles and arrows, plus short text labels, to show
data inputs, outputs, storage points and the routes between each destination. Data
flowcharts can range from simple, even hand-drawn process overviews, to in-depth, multilevel DFDs that dig progressively deeper into how the data is handled.
Figure 5 (0 Level DFD)
12
Figure 6 (1 Level DFD)
13
Figure 7 (Login 2 Level DFD)
Figure 8 (Ticket 2 Level DFD)
Figure 9 (Customer 2 Level DFD)
14
4. METHODOLOGY
4.1 Creating a Database and Inserting Data using XAMPP
First having run and tested Apache and PHP in XAMPP, the next step is running MySQL
and creating a database and table which will hold information to be used by our system. In
order to start MySQL, navigate to the XAMPP directory and run the mysql_start.bat batch
file. The XAMPP package contains an application called phpMyAdmin which allows
developers to administer and maintain MySQL databases. We will be using phpMyAdmin
to create a database and table, and enter test data. We will be presented with a
phpMyAdmin start page similar to the one shown below.
Screenshot 1 (Database Creation)
15
Database Tables:
Table1: details
Sn: serial number.(Primary Key)
Name: name of the customer.
Nationality: nationality of the customer.
Ctzno: citizenship number of the customer.
Gender: specify the gender of the customer.
Age: age of the customer.
From: taking off place.
Destination: landing place.
Flight no: flight no for the customer.
Date: date of the flight.
Seat: seat number of the flight.
Time: time of the flight.
Cls: class of the flight.
Profile: profile picture of the customer.
Screenshot 2 (details table)
16
Table2: login
Sn: serial number.
Username: username for the login to the admin.
Password: password for the login to admin.
Screenshot 3 (login table)
Table3: sales
Sn: serial number.
Name: name of the customer.
Date: date of the flight.
Amount: amount to be paid for the flight.
Screenshot 4 (sales table)
17
5. SNAPSHOT
Seat Plan:
This window displays the seat planning of the flight. You can choose either premium seat
or economy seat. The booked seats are displayed red while the available seats are
displayed green.
Screenshot 5 (Seat Plan)
18
Login:
This is the login window, here the admin or the ticketing manager enter the username and
password. Only the admin or the ticketing manager has the username and can access the
system.
Screenshot 6 (Login)
19
On wrong username or password:
If the admin or ticketing manager enters the wrong password or wrong username, a new
window pops out telling that the username or password does not match.
Screenshot 7 (Wrong Password Message)
20
Main Menu:
The main menu consist of three options for the admin where she/he can book a flight
according to the customer requirements, view the details of the customer and view the sale
detail or how much the customers paid.
Screenshot 8 (Main Menu)
21
Customer Reservation:
In this window, we can see different fill up boxes which the admin is required to fill
according to the customer need like name, nationality, citizenship no, age, gender, from,
destination, class, date, time etc.
Screenshot 9 (Customer Reservation)
22
Payment:
Screenshot 10 (Payment)
23
Flight Reservation:
Screenshot 11 (Flight Reservation)
24
View Customer Details:
In this window, admin can view the details like how many customer records are recorded
in the system.
Screenshot 12 (Customer Details)
25
View Sales Details:
In this window, admin can view how many customers have paid how much money for
their flight.
Screenshot 13 (Sales Details)
26
6. SYSTEM IMPLEMENTATION
The implementation phase constructs, installs and operates the new system. The most
crucial stage in achieving a new successful system is that it will work efficiently and
effectively. The successful implementation of the new system will depend upon the
involvement of the officers working in that department. The officers will be imparted the
necessary training on the new technology.
7. CONCLUSION
Based on the preparation & analysis of Airline Ticket Reservation System, it can be
concluded that Airline Ticket Reservation system is better than the manual system. It can
be used by the ticketing manager to make transactions for the customers regarding flights
easier and more effective.
27
8. REFERENCES

https://www.javatpoint.com/

https://www.lucidchart.com/

https://www.guru99.com/

https://www.tutorialspoint.com/
28
Download