0% found this document useful (0 votes)
39 views36 pages

Wa0007.

This document appears to be a project report for developing a movie reservation system. It includes sections on system requirements, an introduction to Python and MySQL, and the coding for the movie reservation system. The coding section includes the Python code to build the core functionality of allowing users to select a movie, number of seats, seat numbers, snacks, and payment method to display the amount due and output. The purpose is to help students learn coding skills in a fun way by building this movie reservation application using Python and potentially connecting it to a MySQL database.

Uploaded by

k4505475
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views36 pages

Wa0007.

This document appears to be a project report for developing a movie reservation system. It includes sections on system requirements, an introduction to Python and MySQL, and the coding for the movie reservation system. The coding section includes the Python code to build the core functionality of allowing users to select a movie, number of seats, seat numbers, snacks, and payment method to display the amount due and output. The purpose is to help students learn coding skills in a fun way by building this movie reservation application using Python and potentially connecting it to a MySQL database.

Uploaded by

k4505475
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 36

A PROJECT REPORT ON

MOVIE RESERVATION SYSTEM


FOR

AISSCE 2022 EXAMINATION


As a part of the Informatics Practices Course (065)

SUBMITTED BY:

Name of the Student: Bharath


reddy j

under the guidance of

Mrs. S h r u t i D G u g g a l i
PGT in Informatics Practices

DEPARTMENT OF INFORMATICS PRACTICES

SRI CHAITANYA TECHNO SCHOOL

Page 1
Sri chaitanya school uttrahalli 4th Main road, near AGS layout
Arehalli uttrahalli hobli banglore karnataka-560061

CERTIFICATE

This is to certify that the Project entitled _____project name______is a


bonafide work done by Mr.Student name of class XII in
partial fulfillment of CBSE’s AISSCE Examination 2022-2023 and has
been carried out under my direct supervision and guidance. This
report on the topic has not been submitted for any other examination
and does not form a part of any other course undergone by the
candidates.

Signature of the student: Signature of the teacher:

Name:Shreyas.mr Name: Mrs.Shruti D Guggali


Roll Number:Scs1218763 Designation: PGT in IP

Page 2
ACKNOWLEDGEMENT

We would like to thank our Informatics Practices teacher Mrs. Shruti D Guggali
for having patience to guide us at every step in the project.

We are also grateful to the CBSE BOARD for challenging and giving us this
project.

We would also like to thank our parents and friends who helped us in getting
the right information for this Project.

Page 3
INDEX

SL. NO. TOPIC NAME PAGE NO.

1. Abstract 5

2. System 6
Requirements

3. Python Introduction 7

4. MySQL Introduction 9

5. Coding 10

4. Graph 24

5. Output Screenshots 25

6. Bibliography 34
ABSTRACT

The Movie Reservation System is a form of Online Requirement or


entertainment requirement in which customers will be given the option
to choose a Movie, No of Seats wants to book, Seat Numbers and
option to choose the comfortability level and need Snacks or not etc.,
Based on the Customers input, amount to be paid will be displayed and
the customer needs to select the option as 1. Paypal or 2. Credit Card. It
displays the output according to the users choice and their input. It
displays Wrong Input, if given invalid data.

Page 4
The purpose of this project is to help improve our knowledge of coding
in a fun and creative way. The Movie Reservation System has been
coded on Python. Python is an interpreter, high-level, general-purpose
programming language. It’s language constructs and object-oriented
approach aim to help programmers write clear, logical code for small
and large-scale projects.
Our program can be extended to show the use of MySQL and Python.
MySQL can be used as the back end to store the data in form of database
and Python can be used as the connecting programming language.
SYSTEM REQUIREMENTS

HARDWARE COMPONENTS
1. VGA Monitor
2. Qwerty Keyboard
3. 4 GB RAM
4. 2.6 GHz Processor
5. Graphics Card

SOFTWARE COMPONENTS
1. Windows 7
2. Python 3.0 with suitable modules
3. MYSQL 8.0 Command Line Client
Python Introduction

It is widely used general purpose, high level and Object-Oriented Programming


Language. Developed by Guido van Rossum in February 1991.

Page 5
It is used for:
Software development, web development (server-side), system scripting, Mathematics.

Features of Python:
1. Easy to use : Due to simple syntax rule
2. Interpreted language : Code execution & interpretation line by line.
3. Cross-platform language : It can run on Windows, Linux, Macintosh etc. equally 4.
Expressive language : Less code to be written as it itself express the purpose of
the code.
5. Completeness : Support wide range of library.
6. Free & Open Source : Can be downloaded freely and source code can be modify for
improvement.
Shortcomings of Python:
1. Lesser libraries : as compared to other programming languages like c+
+,java,.net
2. Slow language : as it is interpreted languages, it executes the program slowly.
3. Weak on Type-binding : It will not pin point on use of a single variable for
different data types.

Object Oriented Programming

Object Oriented Programming is an approach that provides a way of


modularizing programs by creating partitioned memory area for both data
and functions that can be used as templates for creating copies of such
modules on demand.
Objects and Classes - An object is a software bundle of variables and
related methods. Objects are key to understanding object-oriented
technology. Real-world objects share two characteristics: They all have
state and behavior.
Software objects are modeled after real-world objects in that they too have
state and behavior Classes can also define class variables.
A class variable contains information that is shared by all instances of the
class. A class can also declare class methods. You can invoke a class method

Page 6
directly from the class, whereas you must invoke instance methods on a
particular instance.

Abstraction - Hiding the Unnecessary details from the user and providing
only the required details, is called Data Abstraction.

Encapsulation - Wrapping of data and methods into a single unit is known as


encapsulation. It is the most striking feature of class. The data is not
accessible to outside world and only those methods which are wrapped in the
class can access it. The insulation of the data from direct access by the
program is called data hiding.

Inheritance - Inheritance is the process by which objects of one class


acquire the property of objects of another class. Each subclass inherits
state. However, subclasses are not limited to the states and behaviors
provided to them by their superclass. Subclasses can add variables and
methods to the ones they inherit from the superclass. It supports the
concept of hierarchical classification it also provides the use of reusability.

Polymorphism - This means the ability to take more than one form. An
operation may exhibit different behavior in different instances. The
behavior depends upon the types of data used in the operation. It plays an
important role in allowing objects having different internal structures to
share external interface.
MYSQL Introduction

MySQL is currently the most popular open-source database software. It is a multi-


user, multithreaded database management system. MySQL is especially popular on the
web. It is one of the most popular LAMP platforms (Linux, Apache, MySQL and PHP) or
WAMP platform (Windows, Apache, MySQL and PHP). MySQL AB was a Swedish
software company founded by Michael Widenius (Monty), David Axmark and Allan Larsson
in Sweden in year 1995. It was acquired by Sun Microsystems in 2008.

Page 7
Features of mysql:

Open Source & Free of Cost:


It is Open Source and available at free of cost.

Portability: Small enough in size to install and run it on any types of Hardware and OS
like Linux, MS Windows or Mac etc.

Security : Its Databases are secured & protected with password.

Connectivity : Various APIs are developed to connect it with many programming


languages.

Query Language : It supports SQL (Structured Query Language) for handling


database.

CODE
print(' |]***** #}}}}}}}}] ^^^ (((((((((( 0000000
&&&&&&& ')
print(' |] # } ^^^ (( 0**0&
')
print(' |]***** #********" ^^^ (( 0 *+*
0 &&&&&&& ')
print(' |] # ^^^ (( 0**0 &
')
print(' "--**** # ^^^ (((((((((( 0000000
&&&&&&& ')
g=[]
print('
')
print(' ')
print(' ')
print(' EPICOS theatre movie reservation

Page 8
site ')
print(' -------------------------------------
')
print(' @@
')
print(' *****
')
a=input("Enter Your Name:") print("Welcome ",a," to our Site.We wish
You have a good time ahead!") print("Movies running:")
print(" 1-Minions")
print(" 2-Jumanji")
print(" 3-Frozen")
print(" 4-Jurassic world")
print(" 5-Shin chan")
m1="Minions"

m2='Jumanji' m3='Frozen'
m4='Jurassic world' m5='Shin
chan' h=int(input("Enter Movie
Code:")) if h==1:
b=input("Enter Time:") c=input("Enter
Date:")
print("Please Select Your Seats: \n")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18
a19 a20") print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
b15 b16 b17
b18 b19 b20") print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16 c17 c18
c19 c20") print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14
d15 d16 d17
d18 d19 d20") print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15
e16 e17 e18

Page 9
e19 e20") print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
f18 f19
f20") print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 g16
g17 g18
g19 g20")
print(" ") print(" ")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17
h18 h19 h20") print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16
i17 i18 i19 i20") d=int(input("\nEnter No of Seats: ")) for e in range(d):
f=input("\nEnter Seat NO:") g.append(f)

i=input("Enter l for LUXURY and n for NORMAL:")

Page 10
MOVIE RESERVATION SYSTEM MARCH 2022

if i=='l':
j=500 elif
i=='n':
j=250
else:
print('Wrong Input!')
k=int(input("Enter 1 if SNACKS wanted and 2 for NO:") ) if
k==1:
print(" 1-POPCORN") print(" 2-
KFC Meal")
print(" 3-Mc Donalds Meal")
l=int(input("\nEnter No:")) if
l==1:
m=80 elif
l==2:
m=270
elif l==3:
S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 12

m=350
n=(j*d)+m
print("Your Ticket Cost is: ",n)
else: n=j*d
print("Your Ticket Cost is: ",n)
o=int(input('Enter PAYPAL- 1 or CREDIT CARD-2:')) if
o==1:
x=input("PAYPAL ID:")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")
print("| Name :",a," |")
MOVIE RESERVATION SYSTEM MARCH 2022

print("| Date :",c,' |')


print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")

print("| Movie :",h," |")


print("| Paypal Id:",x," |")
print(" ")
elif o==2: x=input("Credit
Card Id:") x1=input("CCV
NO:")
print('Amount Successfully Credited! Thank You!')
print("YOUR TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| CC ID :",x," |")
print("| CCV ID :",x1," |")
print(" ")
else:
print('Wrong Input"')

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 12
MOVIE RESERVATION SYSTEM MARCH 2022

if h==2:
b=input("Enter time:") c=input("Enter
date:")
print("Please Select Your Seats: \n")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18
a19 a20") print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
b15 b16 b17
b18 b19 b20") print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16 c17 c18
c19 c20") print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14
d15 d16 d17
d18 d19 d20") print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15
e16 e17 e18 e19 e20") print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14
f15 f16 f17 f18 f19
f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 g16 g17 g18
g19 g20")
print(" ") print(" ")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17
h18 h19 h20") print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16
i17 i18 i19 i20") d=int(input("\nEnter No of Seats: \n")) for e in range(d):
f=input("Enter Seat No: ") g.append(f)
i=input("Enter l for LUXURY and n for NORMAL:") if
i=='l':
j=500 elif
i=='n':
j=250
else:
print('Wrong Input!')
k=int(input("Enter 1 if SNACKS wanted and 2 for NO:") ) if
k==1:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 13
MOVIE RESERVATION SYSTEM MARCH 2022

print(" 1-POPCORN") print(" 2-


KFC Meal")
print(" 3-Mc Donalds Meal")
l=int(input("Enter No:")) if
l==1:
m=80 elif
l==2:
m=270
elif l==3:
m=350 n=(j*d)
+m print("\nYour
Ticket Cost is: ",n)
else: n=j*d
print("\nYour Ticket Cost is: ",n)
o=int(input('Enter Paypal- 1 or Credit Card-2: '))
if o==1: x=input("Paypal Id: ")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| Paypal Id:",x," |")
print(" ")
elif o==2: x=input("Credit
Card Id:") x1=input("CCV

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 14
MOVIE RESERVATION SYSTEM MARCH 2022

NO:")
print('Amount Successfully Credited! Thank You!')
print("YOUR TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| CC ID :",x," |")
print("| CCV ID :",x1," |")
print(" else: ")

else:
print('wrong input"')

if h==3:
b=input("Enter time:")
c=input("Enter date:")
print("Please Select Your Seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18
a19 a20") print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
b15 b16 b17
b18 b19 b20") print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16 c17 c18
c19 c20") print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14
d15 d16 d17

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 15
MOVIE RESERVATION SYSTEM MARCH 2022

d18 d19 d20") print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15
e16 e17 e18
e19 e20") print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
f18 f19
f20") print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 g16
g17 g18
g19 g20")
print(" ") print(" ")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17
h18 h19 h20") print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16
i17 i18 i19 i20") d=int(input("\nEnter No of Seats")) for e in range(d):
f=input("\nEnter Seat No:") g.append(f)
i=input("\nEnter l for LUXURY and n for NORMAL:") if
i=='l':
j=500 elif
i=='n':
j=250
else:
print('Wrong input!')
k=int(input("\nEnter 1 if SNACKS wanted and 2 for NO:") ) if
k==1:
print(" 1-POPCORN") print(" 2-
KFC Meal") print(" 3-Mc Donalds
Meal")
l=int(input("\nEnter No:")) if
l==1:
m=80 elif
l==2:
m=270
elif l==3:
m=350
n=(j*d)+m

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 16
MOVIE RESERVATION SYSTEM MARCH 2022

print("\nYour Ticket Cost is: ",n)


else: n=j*d
print("\nYour Ticket Cost is: ",n)
o=int(input('\nEnter Paypal- 1 or Credit Card-2:')) if
o==1:
x=input("Paypal Id:")
print('Amount Successfully Credited! Thank You!') print("\nYOUR
TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| Paypal Id:",x," |")
print(" ")
elif o==2: x=input("Credit
Ccard Id:") x1=input("CCV
NO:")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 17
MOVIE RESERVATION SYSTEM MARCH 2022

print("| Rate :",n," |")


print("| Seats :",g," |")
print("| Movie :",h," |")
print("| CC ID :",x," |")
print("| CCV ID :",x1," |")
print(" ")
else:
else:
print('Wrong Input"')

if h==4:
b=input("\nEnter time:") c=input("Enter
date:")
print("\nPlease select Your Seats: ")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18
a19 a20") print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
b15 b16 b17
b18 b19 b20") print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16 c17 c18
c19 c20") print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14
d15 d16 d17
d18 d19 d20") print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15
e16 e17 e18 e19 e20")
print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19
f20")
print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 g16 g17 g18
g19 g20")
print(" ") print(" ")

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 18
MOVIE RESERVATION SYSTEM MARCH 2022

print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17


h18 h19 h20") print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16
i17 i18 i19 i20") d=int(input("\nEnter No of Seats: ")) for e in range(d):
f=input("\nEnter Seat No: ") g.append(f)
i=input("\nEnter l for LUXURY and n for NORMAL:") if
i=='l':
j=500 elif
i=='n':
j=250
else:
print('Wrong Input!')
k=int(input("Enter 1 if SNACKS wanted and 2 for NO:") ) if
k==1:
print(" 1-POPCORN") print(" 2-
KFC Meal")
print(" 3-Mc Donalds Meal")
l=int(input("Enter NO:")) if
l==1:
m=80 elif
l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("\nYour Ticket Cost is: ",n)
else: n=j*d
print("\nYour Ticket Cost is: ",n)
o=int(input('Enter Paypal- 1 or Credit Card-2:'))
if o==1: x=input("Paypal Id:")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 19
MOVIE RESERVATION SYSTEM MARCH 2022

print("| Name :",a," |")


print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| Paypal Id:",x," |")
print(" ")
elif o==2: x=input("Credit
Card Id:") x1=input("CCV
NO:")
print('Amount Successfully Credited! Thank You!')
print("YOUR TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| CC ID :",x," |")
print("| CCV ID :",x1," |")
print(" ")
else: else:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 20
MOVIE RESERVATION SYSTEM MARCH 2022

print('Wrong Input"')

if h==5:
b=input("\nEnter time:") c=input("Enter
date:")
print("\nPlease select your seats:")
print("a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18
a19 a20") print("b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
b15 b16 b17
b18 b19 b20") print("c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
c16 c17 c18
c19 c20") print("d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14
d15 d16 d17
d18 d19 d20") print("e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15
e16 e17 e18
e19 e20") print("f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
f18 f19
f20") print("g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 g16
g17 g18
g19 g20")
print(" ") print(" ")
print("h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 h16 h17
h18 h19 h20") print("i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16
i17 i18 i19 i20") d=int(input("Enter no of seats")) for e in range(d):
f=input("\nEnter Seat No:") g.append(f)
i=input("\nEnter l for LUXURY and n for NORMAL:") if
i=='l':
j=500 elif
i=='n':
j=250
else:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 21
MOVIE RESERVATION SYSTEM MARCH 2022

print('Wrong input!')
k=int(input("Enter 1 if SNACKS wanted and 2 for NO:") ) if
k==1:
print(" 1-POPCORN") print(" 2-
KFC Meal") print(" 3-Mc Donalds
Meal")
l=int(input("Enter No:")) if
l==1:
m=80 elif
l==2:
m=270
elif l==3:
m=350
n=(j*d)+m
print("\nYour Ticket Cost is: ",n)
else: n=j*d
print("Your Ticket Cost is: ",n)
o=int(input('Enter Paypal- 1 or Credit Card-2:')) if
o==1:
x=input("Paypal Id:")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 22
MOVIE RESERVATION SYSTEM MARCH 2022

print("| Paypal Id:",x," |")


print(" ")
elif o==2: x=input("Credit
Card Id:") x1=input("CCV
NO:")
print('Amount Successfully Credited! Thank You!') print("YOUR
TICKET:")
print(" ")
print("| Name :",a," |")
print("| Date :",c,' |')
print("| Time :",b," |")
print("| Rate :",n," |")
print("| Seats :",g," |")
print("| Movie :",h," |")
print("| CC ID :",x," |")
print("| CCV ID :",x1," |")
print(" ")
else:
else:
print('Wrong Input"') print('\nThank You for Booking through our
Site. We Wish You back to book again!') l=input("Enter end to Exit") if
l=='end':
quit()
else:
print('Tryagain')

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 23
MOVIE RESERVATION SYSTEM MARCH 2022

l=input("\nEnter end to exit") if


l=='end':
quit()
else:
print('\nTryagain')

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 24
MOVIE RESERVATION SYSTEM MARCH 2022

DISPLAY GRAPH
#Plotting graph import numpy
as np import matplotlib.pyplot
as plt
data={
'Preetam':15,'Pruthvi':40,'Tejoradithya':10,'Sudarv
el':20}
S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 24

CustomerNames=list(data.keys())
NoOfTimesBooked=list(data.values())
fig = plt.figure(figsize=(10,5))
plt.bar(CustomerNames,
NoOfTimesBooked,color='maroon',width=0.5)
plt.xlabel("Customer Names") plt.ylabel("Total
Bookings") plt.title("Report on Movie
Reservations") plt.show()
MOVIE RESERVATION SYSTEM MARCH 2022

OUTPUT SCREENSHOTS

1) WELCOME SCREEN

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 26
MOVIE RESERVATION SYSTEM MARCH 2022

2.) Selecting the Movie:

3.) Choose the Movie Date and Time:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 27
MOVIE RESERVATION SYSTEM MARCH 2022

4.) Entering the No. of Seats and Selecting the Seats:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 28
MOVIE RESERVATION SYSTEM MARCH 2022

5.) Selecting the Comfortability of the Seats and Snacks: (If Your Option is l and
1):

(If Your Option is l and 2 ):

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 29
MOVIE RESERVATION SYSTEM MARCH 2022

(If Your Option is n and 1):

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 30
MOVIE RESERVATION SYSTEM MARCH 2022

(If Your Option is n and 2)

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 31
MOVIE RESERVATION SYSTEM MARCH 2022

6.) Selecting Mode of Payment:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 32
MOVIE RESERVATION SYSTEM MARCH 2022

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 33
MOVIE RESERVATION SYSTEM MARCH 2022

7.) Customer Enters Invalid Data:

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 34
MOVIE RESERVATION SYSTEM MARCH 2022

BIBLIOGRAPHY

❖ https://www.youtube.com/
❖ https://www.google.com/

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 35
MOVIE RESERVATION SYSTEM MARCH 2022

❖ https://dev.mysql.com/
❖ https://www.python.org/
❖ https://stackoverflow.com/
❖ https://github.com/
❖ https://www.geeksforgeeks.org/
❖ Class 12 – Informatics Practices Text Book
❖ Martin Brown and Martin C Brown, “Python: The Complete
Reference”,Mc-Graw-Hill,2001

S r i C h a i t a n y a T e c h n o S c h o o l , KUDLU , B a n g a l o r e Page 36

You might also like