HFG HGM
HFG HGM
HFG HGM
FILE
PROJECT REPORT
ON
MOVIE TICKET RESERVATION SYSTEM
COMPUTER SCIENCE
FOR
CLASS XII
(2023-24)
Submitted in partial fulfillment of the requirement of CBSE, Delhi
VIKASH.V
UNDER THE GUIDANCE OF
Mrs. D. SAKTHI PRIYA M.C.A., M.E., B.Ed.,
(P.G.T Computer Science)
I would also like to thank my parents and friends who always inspired
and helped me to complete this project.
TOPIC
1 System Requirements
2 Feasibility Study
3 Errors and its Types
4 Testing
5 Maintenance
6 Abstract
7 Modules used
8 Flow Chart
9 Source code
10 Output
11 Database Details
12 Bibliography
SYSTEM
REQUIREMENTS
1. HARDWARE:
✓ Keyboard
✓ Minimum memory -2GB
✓ Processor
2. SOFTWARE:
✓ Operating System –OS7,OS8
✓ Python IDLE
✓ MYSQL
FEASIBILITYSTUDY
Feasibility study is a system proposal according to its work,
ability, impact on the operation ability to meet the needs of users
and efficient use of resources. An important outcome of
preliminary investigations the determination of that system
requested feasible.
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 ANDITSTYPES
Random module
Sql.connector
Start
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',passwor
d='abisql')
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)
print("Select Shows (a.Morning Show /b.Noon Show/c. Night
Show")
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("**********************************************CUS
TOMER 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_se
x,v_fname,vv_lname,v_Email_ID,v_mpayment)
mycursor.execute(v_ins)
mydb.commit()
ifch ==1:
print
("******************************************************
*WELCOME 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
("******************************************************
*WELCOME TO IMAX TICKET BOOKING
*******************************************************
***************")
ifch == 3:
print
("******************************************************
*****WELCOME 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
1. Showtables
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/