Professional Documents
Culture Documents
Modelproject12th 2022
Modelproject12th 2022
A PROJECT REPORT ON
SUBMITTED BY
ROLL NO :
NAME : SRI KRISHNA.B
CLASS : XII
SUBJECT : COMPUTERSCIENCE
SUB CODE : 083
SALEM.
1
JAIRAM PUBLIC SCHOOL SALEM
CERTIFICATE
LINE RESERVATION ” in the subject Computer Science (083) laid down in the
regulations of CBSE for the purpose of Practical Examination in Class XII to be held in
2
ACKNOWLEDGEMENT
Apart from the efforts for me, the success of my project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my
gratitude to the people who have been instrumental in the successful completion of this
project.
I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
The guidance and support received from all the members who contributed and who
are contributing to this project, was vital for the success of the project. I am grateful for
their constant support and help.
3
CONTENTS
ABSTRACT
1. INTRODUCTION …………………………………… 6
5. OUTPUT …………………………………………………. 13
6. CONCLUSION …………………………………………… 15
7. BIBLIOGRAPHY ……………………………………. 16
4
FOOD ORDER PROCESSING SYSTEM
ABSTRACT:
The Airline reservation Processing Management is very useful in ordering tickets, food
and keeping the record of ordered tickets well as the record of the customer of your
service. It helps the customer also to keep check on their own account.
5
INTRODUCTION
1.INTRODUCTION
customers to book the tickets online and to check the testimony online. This
system will help company to dispose of the flight tickets online. Before the
ARS people find many problems that the people come to the airport and
save their seats and as well as inquire the time of flight from representative.
introduced.
6
SYSTEM REQUIREMENTS
MOTHERBOARD : H110M-S2-CF
RAM : 4.00 GB
MONITOR
PRINTER
BACK-END : My SQL
7
3.WORKING DESCRIPTION
8
4.SOURCE CODE
air.py
import mysql.connector
con = mysql.connector.connect(host="localhost", user="root", passwd="",
database="air")
mycursor=con.cursor()
def registercust():
L=[]
L.append(custno)
Name=input(‘Enter name:’)
L.append(name)
Addr=input(‘Enter address:’)
L.append(addr)
L.append(jr_date)
Source=input(‘Enter source:’)
9
L.append(source)
Destination=input(‘Enter destination:’)
L.append(destination)
Cust=(L)
Mycursor.execute(sql,cust)
Mydb.commit()
Def ticketprice():
L=[]
L.append(cno)
10
X=int(input(‘Enter your choice:’))
If x==1:
S=6000*n
L.append(s)
Elif x==2:
S=4000*n
L.append(s)
Elif x==3:
S=2000*n
L.append(s)
Else:
11
Print(‘Extra luggage charge 100 rs per kg’)
Z=y*100
L.append(z)
Tkt=(L)
Print(‘Your Totalbill:’,s+z,’\n’)
G_tot=s+z
L.append(g_tot)
Mycursor.execute(sql,tkt)
Mydb.commit()
Def dis():
Rl=(custno,)
12
Mycursor.execute(sql,rl)
Res=mycursor.fetchall()
For x in res:
Print(x)
Def dispall():
Mycursor.execute(sql)
Res=mycursor.fetchall()
For x in res:
Print(x)
Def Menuset():
13
Print(‘Enter 4: Display All Details.’)
Print(‘Enter 5: Exit’)
If userinput==1:
Registercust()
Elif userinput==2:
Ticketprice()
Elif userinput==3:
Dis()
Elif userinput==4:
Dispall()
Elif userinput==5:
Quit()
Else:
Menuset()
14
Def runagain():
While runagn==’y’:
If platform.system==’windows’:
Print(os.system(‘cls’))
Else:
Print(os.system(‘clear’))
Menuset()
Runagain()
15
5.OUTPUT
16
17
6.CONCLUSION
18
7.BIBLIOGRAPHY
19