You are on page 1of 19

(AFFILIATED TO CBSE, NEW DELHI)

A PROJECT REPORT ON

“MOVIE RESERVATION SYSTEM”


FOR
AISSCE 2024 EXAMINATION

AS A PART OF THE COMPUTER SCIENCE COURSE(083)

SUBMITTED BY:
DIVYA GURU

UNDER THE GUIDENCE OF:

MR.RAMASHANKAR DWIVEDI

PGT (COMPUTER SCIENCE)


1 MOVIE RESERVATION SYSTEM
TABLE OF CONTENT:

• CERTIFICATE
• ACKNOWLEDGEMENT
• ABOUT PYTHON
• ABOUT MYSQL
• CODING
• REQUIREMENTS
• BIBLIOGRAPHY

2 MOVIE RESERVATION SYSTEM


CERTIFICATE

This is to certify that the Project Work entitled “MOVIE RESERVATION SYSTEM”
is a Bonafide work done by DIVYA GURU of Class XII Academic Session 2023-24 in Partial
fulfillment of CBSE’s AISSCE Examination 2024 and has been carried out under my direct
supervision and guidance.

………………………… ……………………………..

Signature of Student Signature of Teacher/Guide

Name: …………………….. Name:……………………..

Roll No:…………………….. Designation: ……………….

…………………………...

Signature of Principal

Name: …………………..

Date:……………………

Place:…………………..

3 MOVIE RESERVATION SYSTEM


ACKNOWLEDGEMENT

I wish to place on my record my deep sense of gratitude to my project guide,


Mr.Ramashankar Dwivedi ,PGT (Computer Science) for his constant Motivation And valuable
help through the Entire project work .Express my gratitude to Respected Principal Madam, for
his valuable suggestions and advice throughout the Senior Secondary Course .
I also extend my thanks to other Facilities for their Cooperation during my Course.

Student Name: Divya Guru Roll Number: 12002

Internal Examiner: External Examiner:

4 MOVIE RESERVATION SYSTEM


ABOUT PYTHON

Introduction: It is widely used general purpose, high level programming language. Developed by
Guido van Rossum in 1991.

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, and macinetosh etc. equally

4. Expressive language: Less code to be written as it it 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 modifying 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 not pin point on use of a single variable for different data
type.

5 MOVIE RESERVATION SYSTEM


ABOUT 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 parts of the very popular LAMP platform. Linux, Apache, MySQL and PHP or WIMP
platform Windows, Apache, MySQL and PHP. MySQL AB was founded by Michael Widenius
(Monty), David Axmark and Allan Larsson in Sweden in year 1995.

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.

6 MOVIE RESERVATION SYSTEM


HARDWARE REQUIREMENTS

• Computer/Laptop- for coding and typing the required documents of the project.
• Printer - To print the required documents of the project.
• Compact Drive/Pen drive /CD/DVD/Google Drive :- To Store Data & Program
• Processor : Pentium I-5
• RAM : 64 Mb
• Hard Disk : 20 Gb

SOFTWARE REQUIREMENTS

• Operating System : Windows 10


• Python IDE 3.10 : for Execution of program
• MySQl 5.13 Version : for storing data in the Database
• Python – MySQl connector : for Python & MySQl Database connectivity
• Microsoft Word & Microsoft PPT- for presentation of output.

7 MOVIE RESERVATION SYSTEM


INPUT AND OUTPUT INTERFACE/SCREEN DESIGN

Movie Name:-
global f
f=0
def t_movie():
f = f+1
print("which movie do you want to watch?")
print("1, Avengers: End Game")
print("2, Spiderman: Home-coming")
print("3, Harry Potter and the Chamber of Secrets")
print("4,back")
movie = list(input("choose your movie: "))

8 MOVIE RESERVATION SYSTEM


City:-

t = input("select your time:")


x = int
x=t
# this function is used to select city
def city():
print("Hi welcome to movie ticket booking: ")
print("where you want to watch movie?:")
print("1, Mumbai")
print("2, Delhi ")
print("3, Kanpur ")
place = list(input("Choose the city:"))
if place == 1:
center()
if place == 2:
center()
if place == 3:
center()

9 MOVIE RESERVATION SYSTEM


if place == none:
print("wrong choice")
city() # it calls the function
print("successfull!, enjoy movie at "+x)

Theatre:-

# this theater function used to select screen


def theater():
print("Which screen do you want to watch movie: ")
print("1,SCREEN 1")
print("2,SCREEN 2")
print("3,SCREEN 3")
a = list(input("Choose your screen: "))
ticket = list(input("What number of ticket do you want?: "))
# this movie function is used to select the theater
def t_movie():
f = f+1
print("which movie do you want to watch?")

10 MOVIE RESERVATION SYSTEM


print("1, Avengers: End Game")
print("2, Spider-man: Home-coming")
print("3, Harry Potter and the Chamber of Secrets")
print("4, back")
movie = list(input("choose your movie: "))
if movie == 4:
# in this it goes to center function and from center it goes to movie function and it comes
back here and then go to theater
def center():
def movie (theater):
print("Which theater do you wish to see movie at? ")
if theater == 1:
t_movie()
print("1, Inox")
if theater == 2:
t_movie()
print("2, Icon")
if theater == 3:
t_movie()
print("3, PVP")
if theater == 4:
print("4, Back")
city()

11 MOVIE RESERVATION SYSTEM


a = list(input("Choose the theater : "))

Screen:-

global f
f=0
def t_movie():
f = f+1
print("Which movie do you want to watch?")
print("1, Avengers:End Game")
print("2, Spider-man: Home-coming")
print("3, Harry Potter and the Chamber of Secrets")
print("4,back")
movie = list(input("Choose your movie: "))

12 MOVIE RESERVATION SYSTEM


if movie == 4:
# in this it goes to center function and from center it goes to movie function and it comes
back here and then go to theater
center()
if f == 1:
theater()
# this theater function used to select screen
def theater():
print("which screen do you want to watch movie: ")
print("1,SCREEN 1")
print("2,SCREEN 2")
print("3,SCREEN 3")
a = list(input("choose your screen: "))
ticket = list(input("number of ticket do you want?: "))

Timing:-

a = list(input("choose your screen: "))


ticket = list(input("number of ticket do you want?: "))
13 MOVIE RESERVATION SYSTEM
# this timing function used to select timing for movie
def timing(a):
time1 = {
"1": "10.00-1.00",
"2": "1.10-4.10",
"3": "4.20-7.20",
"4": "7.30-10.30"
}
time2 = {
"1": "10.15-1.15",
"2": "1.25-4.25",
"3": "4.35-7.35",
"4": "7.45-10.45"
}
time3 = {
"1": "10.30-1.30",
"2": "1.40-4.40",
"3": "4.50-7.50",
"4": "8.00-10.45"
}
if a == 1:
print("choose your time:")
print(time1)
14 MOVIE RESERVATION SYSTEM
t = input("select your time:")
x = int
x=t
if a == 2:
print("choose your time:")
print(time2)
t = input("select your time:")
x=t
elif a == 3:
print("choose your time:")
print(time3)
t = input("select your time:")
x=t

Seat no. :-
# this seat function used to select seat
def seat():
print("Choose your seat: ")
print("1, Column No.")
print("2, Row No.")

15 MOVIE RESERVATION SYSTEM


a = list(input("Choose your seat: "))

MYSQL CODE :-

Movie:-
mysql>create table Movie (movie_id int(30)NOT NULL Primary Key, movie_title
varchar(10) NOT NULL, duration int(10) NOT NULL);

City:-
mysql>create table City(city_name char(10) Primary Key, theater_id int(10) NOT NULL);

Theatre:-
mysql>create table Theatre(theatre_id int(10) NOT NULL Primary Key, theatre_name
varchar(15), seat_no. int(10) NOT NULL);

16 MOVIE RESERVATION SYSTEM


Screen:-
mysql>create table Screen(screen_id int(3) PK), movie_id int(30) FK, theatre_id int(10)
FK, start_time time(5));

Timing:-
mysql>create table Timing (hours int(2), minutes int(2));

Seat no. :-
mysql>create table Seat (seat_id int(30) Primary Key, row int(5), column int(5), theatre_id
int(10));

17 MOVIE RESERVATION SYSTEM


18 MOVIE RESERVATION SYSTEM
BIBLIOGRAPHY

• Computer science in python by – Sumita Arora.


• Computer Science Text Book By NCERT Publication
• Computer Science Text Book By Preeti Arora
• https://python.mykvs.in/
• https://pythontrends.com

19 MOVIE RESERVATION SYSTEM

You might also like