Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Delhi Public School

Dwarka

COMPUTER SCIENCE

NAME:
CLASS:
ROLL NO:
BOARD ROLL NO:
ACADEMIC YEAR: 2021-22
CERTIFICATE

This is to certify that __________________________ of class


XII-C has successfully completed the Computer Science
project on the topic Airline Ticket Reservation System under
the guidance of MR AMIT DUA during the academic year
2021-22.

__________________
MR AMIT DUA
(Subject Teacher)

2
ACKNOWLEDGEMENT

I would like to express my special thanks to my teacher MR.


AMIT DUA as well as our principal MS. SUNITA TANWAR
ma’am who gave me the golden opportunity to do this project of
Computer Science, which also helped me in doing a lot of
research and I came to know new things about it. Without their
help, guidance and support it would be impossible to complete
this project.

Secondly, I would also like to thank my parents and friends who


helped me a lot in finishing this project within limited time. I am
making this project not only for marks but also to increase my
knowledge.

Once again thanks to all who helped me in doing this project.

3
INDEX
S.No Particulars Page
1. Topic of the Project 5

2. Background of the 6
project
3. Modules 10

4. Functions 11

5. Use of Technology 13

6. Flow of Project 16

7. Bibliography 19

4
TOPIC OF THE PROJECT

AIRLINE TICKET
RESERVATION SYSTEM

Group Members:
1) Abhiraj Kumar Koslia
2) Gunbir Singh Baveja

5
BACKGROUND OF THE
PROJECT

6
The world has seen the greatest technological boom in
the last fifty years, with innovations in all areas now
possible to make human life easier and more
comfortable. The aviation industry has become one of
the most demanding and fascinating industries today.
made the dream of the flying man a reality in less than a
century. Today, millions of people fly every day. This not
only strengthened the economy of places, but also
connected people and cultures.

Technological advances over the years have resulted in


a breakthrough in the reservation system for airline
tickets. Tickets are the documents that confirm the
purchase and guarantee a seat on the plane for the
chosen trip. They are required as proof to receive the
boarding pass. at the airport, which is required to board
the aircraft. Traditional tickets in the early days of air
travel were made of paper and had to be picked up at
travel agencies or at the airline's office after purchase.

With globalization and the development of the aviation


industry, the ticket buying process has also changed.
Since the rapid growth and use of the Internet since the
2000s, it has been possible to buy tickets online.Fewer
and fewer people are using the traditional paper ticket,
while almost all major airlines offer the option of online
tickets, commonly known as e-tickets. Origin of the trip,
tariff, cancellation and returns.

7
The main purpose of this vision document is to list the
project's requirements for the flight ticket reservation
system. This document also helps us to collect and
analyze the ideas gathered for the project. The primary
purpose of this document is to lay the foundation for
your design. Project phase. The document in
preparation is the first version of the vision document for
the Airline Ticket Reservation System project.

8
MODULES AND
FUNCTIONS

9
MODULES

import pymysql:
By importing this package, we are able to establish the
connection between SQL and Python.

import datetime:
This package provides basic functions for display date
related values in the program.

import random:
This package has functionality to generate random
numbers and select numbers within a range.

10
FUNCTIONS

connect():
This function establishes a connection between Python
and MySQL.

cursor():
It is a special control structure that facilitates the
row-by-row processing of records in the result set.
The syntax is:
<cursor object>=<connection object>.cursor()

execute:
This function is used to execute the sql query and
retrieve records using python.
The syntax is:
<cursor object>.execute(<sql query string>)

fetchall():
This function will return all the rows from the result set in
the form of a tuple containing the records.

11
commit():
This function provides changes in the database
physically.

12
USE OF TECHNOLOGY

13
A number of software and programs were used to develop the
model on-line reservation system. The types of programs and
software used were programming languages ​such as Python
and database programs such as MySQL. The proper
installation of all programs used was necessary and
fundamental. The understanding of the programs was used in
carrying out the project. If there was insufficient knowledge
during the development process, reference was made to
sources such as tutorial videos and official documentation.

MySQL:
Databases are collections of similar data. The databases are
used for the orderly collection and storage of similar data, which
is then used for a specific purpose. A database contains tables
with rows and columns filled with objects showing the
connection between them. share for programs that can use the
information in the database. Today, many companies rely on
databases to systematically store a wide variety of information.

Python:
Python is a script programming language. Although system
programming languages ​like C ++, Java, etc. are very popular

14
in school and university curricula, Python is an advanced
scripting programming language that can be used in many
types of applications, is easy to learn, and has simpler syntax
and semantics. Script languages ​are particularly suitable for
introductory programming sequences. Script languages ​also
usually have simpler syntax and semantics than system
languages. Because Python has smooth syntax rules, it
encourages building advanced applications in no time.

15
FLOW OF THE
PROJECT

16
➔Choose Route: The place of departure and arrival
should be chosen to get the details of flights
connecting them.

➔Type of Trip: A Round Trip(two-way) or a


single(one-way) trip can be booked. The dates must
be given along with the preference of trip by the
user.

➔Date of flying: The dates for departure and arrival


are to be filled. If the customer chooses a round trip,
he/she will get the option to fill the date for the
return trip.

➔Select Airline: The user will choose the airlines it


would like to fly with from the available airlines for
that route. If the customer chooses a round trip,
they can select a different airline for their return, if
they wish so.

➔Select Flight: The user can choose by which


airplane of the selected airline they would like to
travel by. If the customer chooses a round trip, they
must also tell by which flight they would like to
return, scheduled on their preferred date.

➔Class of Seat: The user can fly either in Economy,


First-Class or Business Class , as per their choice.

17
➔Type of Seat: They can choose to have a Window
seat or an Aisle seat, as per their choice.

➔Seat Number: A seat number will be allotted to the


user with the generated ticket.

➔Cancellation of Reservations: Sometimes, after


making a reservation,customers might cancel the
reservation he/she/they have made.

18
BIBLIOGRAPHY

19
To develop this project, the following references were
used:-

1. Computer Science with Python: Textbook for


Class XII (By Sumita Arora)
2. https://www.google.com
3. https://www.python.org.in
4. https://www.mysql.org

20

You might also like