Computer Project Final
Computer Project Final
PROJECT REPORT ON
REGISTER NO. :
NAME : V.EMMANUEL
1
BETHANY NAVAJEEVAN SENIOR SECONDARY SCHOOL
Affiliated to CBSE Board, Affiliation No: 1931074
BETHANY NAGAR, VENCODE
DEPARTMENT OF COMPUTER SCIENCE
CERTIFICATE
2
STUDENT DECLARATION
I, V.Emmanuel, hereby declare that the project report entitled ' A FLIGHT
MANAGEMENT SYSTEM ' submitted to Bethany Navajeevan Senior
Secondary School is an original work carried out by me under the guidance of
Mr.James M.E,B.Ed . This report is the result of my independent research and
effort and has not been previously submitted for any examination or assessment. It
is submitted for the Practical Examination conducted by AISSCE, New Delhi,
during the academic year 2024-2025.
Date:
Place:
Signature of Candidate
3
ACKNOWLEDGEMENT
V.EMMANUEL
4
TABLE OF CONTENT
1. ABSTRACT 6
2. OBJECTIVES 7
3. INTRODUCTION 8
4. PROJECT REQUIREMENTS 9
6. OUTPUT 19-24
8. APPLICATIONS 27-28
10. BIBLIOGRAPHY 31
5
ABSTRACT
6
OBJECTIVES
7
INTRODUCTION
The FMS using MySQL provides a robust, reliable, and scalable database solution
for managing vast amounts of aviation data. It enables the efficient handling of
essential operations, such as:
8
PROJECT REQUIREMENTS
Technologies Used:
Project Modules:
9
SOURCE CODE
The source code for the flight management System using Python and
MySQL is given in this section.
#code:
import mysql.connector
# Establishing connection
mycursor = obj.cursor()
# Creating database
mycursor.execute("USE airlines")
# Creating tables
mycursor.execute("""
10
""")
mycursor.execute("""
""")
mycursor.execute("""
""")
mycursor.execute("""
cus_id INT,
flight_id INT
""")
11
# Inserting food items
def insert_food_items():
food_data = [
('pepsi', 150),
('coffee', 70),
('tea', 50),
('water', 60),
('omelette', 50)
mycursor.execute(
(food_name, price)
obj.commit()
insert_food_items()
12
# Luggage operations
def luggage():
if x == 1:
mycursor.execute(
(weight, price)
elif x == 2:
else:
print("Invalid option.")
obj.commit()
# Food operations
def food():
13
print("What do you want to do?")
if x == 1:
mycursor.execute(
(fname, fprice)
elif x == 2:
mycursor.execute(
(fprice, fid)
elif x == 3:
else:
print("Invalid option.")
14
obj.commit()
def fooditems():
for i in mycursor.fetchall():
# Admin interface
def admin():
while True:
if sec == "admin":
admin1()
else:
def admin1():
15
if x == 1:
print("1. Food")
print("2. Luggage")
if x1 == 1:
food()
elif x1 == 2:
luggage()
else:
print("Invalid option.")
elif x == 2:
print("1. Food")
print("2. Luggage")
if y == 1:
for i in mycursor.fetchall():
print(i)
elif y == 2:
for i in mycursor.fetchall():
print(i)
else:
print("Invalid option.")
16
# User operations
def user():
print("3. Exit")
if x == 1:
flightavailable()
elif x == 2:
fooditems()
elif x == 3:
print("Goodbye!")
exit()
else:
print("Invalid option.")
def flightavailable():
for i in mycursor.fetchall():
print(f"Flight ID: {i[0]}, Flight Name: {i[1]}, Departure: {i[2]}, Destination: {i[3]}")
17
# Main menu
def menu1():
print("\nMain Menu")
print("1. Admin")
print("2. User")
if x == 1:
admin()
elif x == 2:
user()
else:
print("Invalid option.")
menu1()
menu1()
18
OUTPUT
19
Description and datas in table class_details:
20
Description and datas in table customer_details:
21
Description and datas in table flight_details:
22
Description and datas in table food_items:
23
Description and datas in table luggage:
24
ADVANTAGES AND DISADVANTAGES
25
Disadvantages of a Flight Management System in SQL:
1. Complexity in Setup:
o Setting up and designing a relational database for a flight management
system requires skilled professionals and significant time investment.
2. Scalability Limits:
o Although SQL databases are scalable, handling extremely high loads
(e.g., during peak travel times) may require advanced database
optimization or migration to distributed systems.
3. Cost of Maintenance:
o Maintaining a robust SQL server with backups, security updates, and
performance tuning can be expensive.
4. Dependency on Structured Data:
o SQL databases are less suited for handling unstructured data like
multimedia content, which may also be part of modern flight systems.
5. Performance Bottlenecks:
o Poorly optimized queries or database design can lead to slow
performance, particularly with large datasets or complex joins.
6. Limited Flexibility for Advanced Features:
o Implementing real-time analytics or predictive features may require
integration with additional tools outside the SQL environment.
26
APPLICATIONS
• Baggage Handling:
27
• Track crew availability and assignments using SQL.
28
CONCLUSION AND FUTURE SCOPE
The Flight Management System (FMS) plays a crucial role in the aviation
industry by streamlining the operations of airlines, airport authorities, and other
stakeholders. SQL serves as a fundamental component in building the backend of
such systems, providing reliable and scalable solutions for managing vast amounts
of data. By organizing information related to flight schedules, bookings,
passengers, staff, baggage, food, and financial transactions in relational databases,
SQL ensures that all aspects of flight management can be accessed, updated, and
processed efficiently.
1. Data Centralization: SQL databases centralize all the critical data (e.g.,
flights, bookings, passengers, staff, etc.), ensuring accessibility, consistency,
and security.
2. Improved Efficiency: With automated queries for booking, cancellations,
check-ins, and updates, airlines can significantly improve operational
efficiency and reduce human errors.
3. Real-time Processing: The system facilitates real-time flight data
processing, enabling up-to-date information for both staff and passengers
(e.g., seat availability, baggage handling).
4. Better Decision Making: SQL allows airlines to extract valuable insights
from stored data, enabling better decision-making for flight scheduling,
resource allocation, and customer service enhancements.
5. Customer Satisfaction: Automation of flight management processes
enhances customer experience by offering timely bookings, real-time
updates, and fast check-ins.
While current flight management systems are highly effective, there are multiple
opportunities for growth and evolution. As technology advances, the following
improvements and innovations can further enhance Flight Management Systems:
29
o Implementing AI algorithms and machine learning models for
predictive analysis (e.g., forecasting demand for specific routes,
weather prediction impact, optimizing fuel usage).
o SQL databases could store historical data for AI systems to analyze
trends and provide dynamic pricing, personalized offers, and
improved flight scheduling.
2. Cloud Integration:
o Moving to cloud-based SQL databases (e.g., Amazon RDS, Microsoft
Azure SQL Database) will ensure better scalability, security, and
performance.
o Cloud-based systems could allow airlines to process large volumes of
data in real time and enable better disaster recovery.
3. Mobile and Web Application Integration:
o Enabling real-time access to flight schedules, ticket booking, and
customer support via mobile apps or web portals.
o SQL queries can be optimized for mobile interfaces, offering
customers direct access to services like online check-ins, seat
selection, and baggage tracking.
4. Blockchain for Data Integrity and Security:
o Integrating blockchain technology for secure, transparent, and
immutable flight data (e.g., passenger information, ticketing, and
flight logs).
o Blockchain can enhance fraud prevention and simplify the process of
verifying flight information.
30
BIBLIOGRAPHY
1. https://www.leadsquared.com/industries/healthcare/hospital-management-
system-hms/
2. https://www.shmsolutions.in/
3. https://docpulse.com/
4. Geekforgeeks.org
5. https://www.geeksforgeeks.org/
31