Computer Final Final Sdsd (1)
Computer Final Final Sdsd (1)
FLIGHT MANAGEMENT
BY:
ANJISHNU SHOME, PRANAV, MOHAMMED AZEEM
CENTRAL BOARD OF SECONDARY EDUCATION
Shiksha Kendra, 2, Community Centre, Preet Vihar, Delhi-110 092 India
CERTIFICATE
This bonafide work carried out by ANJISHNU SHOME, PRANAV, MOHAMMED AZEEM
in Fulfillment prescribed by the CENTRAL BOARD OF SECONDARY EDUCATION for
CBSE+2 CHEMISTRY during the academic year 2024-2025. The project report has been
approved as it satisfies the academic requirements in respect of Project prescribed for CBSE+2.
BHAVANI N NEERAJA
2) ……………………..
ACKNOWLEDGEMENT
The Satisfaction and euphoria that accompany the successful completion of any task would be
incomplete without the mention of the people who made it possible and whose constant
encouragement and guidance crowned our efforts with success.
I wish to thank our Principal Mam N NEERAJA for her encouragement and support.
Deadlines play a very important role in successful completion of the seminar report on time,
efficiently and effectively. I convey my regards and thanks to Mr./Ms. BHAVANI for having
constantly monitored the development of the seminar report.
Finally, a note of thanks to the NARAYANA EDUCATION SOCIETY’s NARAYANA
Bangalore, Karnataka-560067) the staff both teaching and non-teaching for their co-operation
extend to Me.
PRANA
V
ANJISHNU SHOME
MD AZEEM
HARDWARE AND SOFTWARE
REQUIRED
HARDWARE
1.PC
2.MOBILE PHONE
SOFTWARE
2.MYSQL
3.PYTHON CONNECTOR
FLIGHT
System (EFIS), Navigation Display (ND), or Multifunction Display (MFD). The FMS can be
summarised as being a dual system consisting of the Flight Management Computer (FMC), CDU
and a cross talk bus.
The modern FMS was introduced on the Boeing 767, though earlier navigation computers did exist.
[1] Now, systems similar to FMS exist on aircraft as small as the Cessna 182. In its evolution an
FMS has had many different sizes, capabilities and controls. However certain characteristics are
common to all FMSs.
NEED OF FMS
obj=mysql.connector.connect(host="localhost",user="root",passwd="admin")
#here obj is connection object
mycursor=obj.cursor()
#CREATING DATABASE
Mycursor.execute(“create database if not exists airlines”)
mycursor.execute("use airlines")
obj.commit()
else:
print(" **************** PLEASE ENTER A VALID OPTION
**************************** ")
food()
obj.commit()
#TO UPDATE THE INFORMATION OF FOOD DETAILS
def food():
print("what do you want to do?")
print("1. add new items")
print("2. update price") print("3.
delete items")
x=int(input("enter your choice: ")) if
x==1:
fname=input("enter food name: ")
fprice=int(input("enter food price: "))
mycursor.execute("insert into food_items
values({},'{}',{}".format('null',fname,fprice))
elif x==2:
fid=int(input("enter food id: ")) fprice=int(input("enter
new price: ")) mycursor.execute("update food_items set
price={} where
food_id={}".format(fid,fprice))
elif x==3:
fid=int(input("enter food id: ")) mycursor.execute("delete
from food_items where where
food_id={}".format(fid))
else:
print(" **************** PLEASE ENTER A VALID OPTION
**************************** ")
food()
obj.commit()
def fooditems():
print(" ")
print(" ")
print("
")
user()
elif x==2:
print("1. classtype")
print("2. food")
print("3. luggage")
print("4. records")
y=int(input("from which table: "))
if y==1:
mycursor.execute("select * from classtype") else:
mycursor.execute("select * from customer_details")
z=mycursor.fetchall()
for i in z:
print(i)
print("**************** THESE ABOVE PEOPLE HAVE BOOKED
TICKET *****************************")
break
#Admin Interface
def admin():
while True:
sec=input("enter the password: ")
if sec=="admin":
admin1()
else:
print("************YOUR PASSWORD IS INCORRECT*********")
print("***********PLEASE TRY AGAIN*****************") admin()
break
obj.commit()
print("
")
user()
#USER INTERFACE
def user():
while True:
print("************** MAY I HELP YOU? *****************")
print("1. flight details")
print("2. food details")
print("3. book ticket")
print("4. my details")
print("5. exit")
x=int(input("enter your choice: "))
if x==1:
flightavailable()
elif x==2:
fooditems()
elif x==3:
ticketbooking()
elif x==4:
records()
else:
print("************ PLEASE CHOOSE A CORRECT OPTION
************")
user()
break
#Main Interface
def menu1():
print("**************** YOUR DESIGNATION? *******************")
print("1. admin")
print("2. user")
print("3. exit") x=int(input("choose
a option: ")) while True:
if x==1:
admin()
elif x==2:
user()
else:
print("************PLEASE CHOOSE A CORRECT
OPTION******************")
menu1()
break
menu1()
#mysql
● Tables in database airlines:
● www.google.com
● www.wikipedia.org
● www.yahoo.com