Professional Documents
Culture Documents
5 Movie Ticket Booking
5 Movie Ticket Booking
PROJECT REPORT
GRADE – XII
PROJECT PREPARED BY:
“……………………………………………………………………………………
…….”
Date:
Registration No.:
Signature of Principal
ACKNOWLEDGEMENT
I would like to take this opportunity to express my deep sense of
gratitude to all those people without whom this project could have never
been completed. First and foremost I like to thank God for giving me such a
great opportunity to work on this project, and I would like to express my
special thanks and gratitude to the Management, the Directors and the
Correspondent of Hosur Public School, for their constant guidance and
providing a very nice platform to learn.
I would also like to thank our Principal – Dr. V. Bindhu Hosur Public
School, for her constant encouragement and moral support without which I
would have never be able to give my best.
I would also like to thank Mr. A.M. Balakrishna, Computer Science
Teacher, Hosur Public School, who gave me the wonderful opportunity to
do this project, which also helped me in doing a lot of research and I came
to know about so many new things from this study I am really thankful to
all.
COMPUTER
SCIENCE
PROJECT
ECONOMICAL FEASIBILITY:
Economics analysis is the most frequent use method for evaluating the
effectiveness of the candidates the benefits and savings that are
expected from system and compare them with cost. This software is
not very costly. It just worth Rs.5500/-.So users records can be
maintained at a cheaper cost and every school would like to use this
software so that the student’s records can be managed easily.
TECHNICAL FEASIBILTY:
Technical feasibility center on the existing computer system and to
what extent it can support the proposed task. This involves financial
consideration to accommodate technical enhancements. It is
technically feasible because whatever technology is needed to develop
this software is easily available.
ERRORS
ANDITSTY
PES
An error, sometime called “A BUG” is anything in the code that
prevents a program from compiling and running correctly. There are
broadly three types of errors as follows:
2. Run time Errors: Errors that occur during the execution of program
are run time errors. These are harder to detect errors. Some run-time
error stop the execution of program which is then called program
“Crashed”.
1. Customers can give short and brief customer details for booking
tickets.
2. The firm can get instant details about the customers in their
database.
3. Customers can go through the show details and choose the screen
gateway they want. Popflix Cinema has Gold 4dx, IMAX and Silver
screen booking.
4. Each of them has peculiar details with different prices; customers
can choose anyone of them.
5. Then the customer can finally reserve the tickets they want and get
a total for their purchase.
6. Only the payment mode is specified in the booking process,
customer has to pay for their tickets at the booking center directly.
MODULES USED
Random module
Sql.connector
Show
details
Yes No
Insertion (insertion
of booking details)
Exit
SOURCECODE
importmysql.connector
import random
db=input("Enter name of the database: ")
mydb=mysql.connector.connect(host='localhost',user='root',password='abis
ql')
ifmydb.is_connected():
print("Connection Succesful..")
mycursor=mydb.cursor()
mycursor=mydb.cursor()
mycursor.execute("Use "+db)
TableName=input("Name of Table to be created:")
TableName1=input("Name of Table to be created:")
TableName2=input("Name of Table to be created:")
TableName3=input("Name of Table to be created:")
ifmydb.is_connected():
print("*"*150)
ifsh=='a':
print("Time: 9:00 A.M")
print("*"*30," Movies","*"*30)
print("Screen 1. Ava")
print("Screen 2. AquaMan")
ifsh=='b':
print("Time: 1:00 P.M")
print("*"*30," Movies","*"*30)
print("Screen 1. After")
print("Screen 2. Lucy")
ifsh=='c':
print("Time: 10:00 P.M")
print("*"*30," Movies","*"*30)
print("Screen 1. Ava")
print("Screen 2. Baywatch")
print("**********************************************CUSTOMER
DETAILS
GATEWAY******************************************************
****")
if m=='OK'or m=='ok':
choices = list(range(1000))
random.shuffle(choices)
print("Your Member_ID is",choices.pop())
v_ins="insert into theatre values( '{}',{},
{},'{}','{}','{}','{}','{}')".format(v_mname,v_phone,v_tic,v_sex,v_fname,vv_lna
me,v_Email_ID,v_mpayment)
mycursor.execute(v_ins)
mydb.commit()
ifch ==1:
print
("*******************************************************WELCO
ME TO GOLD 4DX CINEMA
BOOKING******************************************************
*********")
a = input("Enter your one time Customer ID: ")
c = input ("Enter your movie name :")
d = int(input("Enter the number of tickets: "))
total=d*1500
print("Bill for the tickets:",total)
pswd= input("Your payment OTP :")
sks = input("your complimetary snacks(chips/popcorn/no):")
dd=input("your complementary drink(coke/pepsi/no): ")
v_dx="insert into 4dx values( '{}','{}',{})".format(a,c,total)
mycursor.execute(v_dx)
mydb.commit()
print ("*********************TICKET
BOOKED***********************")
ifch ==2:
print
("*******************************************************WELCO
ME TO IMAX TICKET BOOKING
**************************************************************
********")
ifch == 3:
print
("***********************************************************W
ELCOME TO SILVER TICKET
BOOKING******************************************************
**********")
aaa = input("Enter your one time Customer ID: ")
ccc = input ("Enter your movie name :")
ddd = int(input("Enter number of Tickets: "))
tttotal=ddd*500
print("Bill for the tickets:",tttotal)
pswd= input("Your payment OTP :")
v_dz="insert into silver values( '{}','{}',{})".format(aaa,ccc,tttotal)
mycursor.execute(v_dz)
mydb.commit()
print ("*********************TICKET
BOOKED**************************")
print ("//////////////////////////////////////////////ENJOY THE MOVIE
AND HAVE FUN///////////////////////////////////////////////////////////")
else:
print("Thanks for visiting")
OUTPUT
1. Tablecreation
2. Show Details
3. Customer Details Gateway
2. DescribeTables
3. Select all details fromtables
BIBLIOGRAPHY
Textbooks:
Computer Science with python by SumitaArora
Computer Science with python by PreetiArora
Websites:
https://en.wikipedia.org/
http://python.mykvs.in/