1
PRINCE SRIVARI SENIOR SECONDARY SCHOOL
NO:96,COLLEGE ROAD,NANGANALLUR, CHENNAI-61
ACADEMIC YEAR 2021-2022
Biology PROJECT
TOPIC : Implanting and erasing human brain memory
NAME : S. Sarveshwer, R. Yatindaran
CLASS & SEC : XI B
ROLL NUMBER : 5,8
2
Mrs.G.Usha Nandhini Date:
Prince Srivari Senior Secondary School
No – 96, College road, Nanganallur,
Chennai-61.
Certificate
This is to certify that the project work entitled Theatre
Booking Mangement was done under my supervision.The
project work was submitted by Jeshvan.K of class XI A as a part
of the assessment in AISSCE Computer Science Practical
Examination.This is the original work done by the candidate
during Term II phase of the academic year 2021-2022
Signature of Principal Signature of the subject teacher incharge
Signature of Internal Examiner Signature of External Examiner
School seal
3
S.NO TOPIC PG.NO
1) ABSTRACT 4
2) INTRODUCTION 5
3) SOURCE CODE 6
4) OUTPUT 13
5) CONCLUSION 16
6) ACKNOWLEDGEMENT 17
7) SYSTEM REQUIREMENTS 18
8) BIBLIOGRAPHY 19
4
ABSTRACT
1.OBJECTIVE
The main aim of this program is online booking for various movies in
registered theatres by the users
2.MODULES
This project contains three modules
a) Admin
b) Booking tickets
c) Users
A) Admin
In this module administrator has to register the theatres, assign
movies to theatres, register users,
B) Booking tickets
In this details about booked tickets and ticket booking admin can
update and delete their purchases, sales and other details.
C) Users
In this users can see the showing movies and upcoming movies
details, ticket booking and registering as members.
5
INTRODUCTION
i)Scope of the project
The scope of this project is to enable the user to select theatre
and then book the desired seat numbers in available seats. Motive
of this is to booking tickets online.
ii)Project Overview
It is a web based online project. The main aim of this project is
any user they can access the system through website at any time
without going to the company.
a)Admistrator module
b)User module
c)Ticket booking module
A)Administrator module:
The admistrator maintains the user details, movie details,
theatre degtails, and check the number of seats available
B)User module
The user can enter their personal details in the first
registration. The user can collect all information like movie
details, theatre details.
C)Booking module
Users will search for the movie and then go for theatre they
have booked the tickets online.
6
SOURCE CODE:
global f
f=0
def t_movie():
global f
f = f+1
print("Which movie do you want to watch?")
print("1,DOCTOR STRANGE-MULTIVERSE OF MADNESS")
print("2,SPIDERMAN-NO WAY HOME")
print("3,THOR-LOVE AND THUNDER")
print("4,back")
movie = int(input("choose your movie: "))
if movie == 4:
center()
theater()
return 0
if f == 1:
theater()
def theater():
print("Timings change as per the screens")
print("which screen do you want to watch movie: ")
print("1,SCREEN 1")
print("2,SCREEN 2")
7
print("3,SCREEN 3")
a = int(input("choose your screen: "))
timing(a)
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)
t = input("select your time:")
x = time1[t]
print("Your movie is at "+x)
elif a == 2:
print("choose your time:")
print(time2)
8
t = input("select your time:")
x = time2[t]
print("Your movie is at "+x)
elif a == 3:
print("choose your time:")
print(time3)
t = input("select your time:")
x = time3[t]
print("Your movie is at "+x)
return 0
def movie(theater):
if theater == 1:
t_movie()
elif theater == 2:
t_movie()
elif theater == 3:
t_movie()
elif theater == 4:
city()
else:
print("wrong choice")
9
def center():
print("which theater do you wish to see movie? ")
print("1,Inox")
print("2,Forum")
print("3,PVR")
print("4,back")
a = int(input("choose your option: "))
movie(a)
return 0
def city():
print("Hi welcome to movie ticket booking: ")
print("where you want to watch movie?:")
print("1,MYLAPORE")
print("2,VELACHERY")
print("3,PALLAVARAM")
place = int(input("choose your option: "))
if place == 1:
center()
elif place == 2:
center()
elif place == 3:
center()
else:
print("wrong choice")
10
city()
#pgm contd
print("Options for the movie")
def display_seats(taken_seats):
seating = []
for xd in range(15):
row = []
xda = 0
for xda in range(15):
row.append("#")
seating.append(row)
for x in taken_seats:
pos = x.split(",")
seating[(int(pos[0]) - 1)][(int(pos[1]))] = "X"
dx = 1
for row in seating:
if len(str(dx)) < 2:
de = " " + str(dx)
else:
de = dx
print ("Row: " + str(de) + " ".join(row))
dx = dx + 1
def list_options():
print ("1: View current seating")
print ("2: view price per row")
print ("3: View how much you are paying for now")
print ("4: Buying tickets")
print ("5: Exit these options")
new_input = input("Your choice: ")
11
return (new_input)
def purchase_seat(taken_seats):
print ("Would you like to view current seating availability? ")
print ("'1' = yes, '2' = no")
newinput = input("Enter your option:")
if newinput == "1":
display_seats(taken_seats)
x = True
while x == True:
cost = 0
print ("what row would you like to buy a seat on? ")
rowx = input("What row? ")
print ("What seat would you like to purchase?")
rowy = input("what seat? ")
if((str(rowx) + "," + str(rowy))in taken_seats):
print ("That seat is already taken, please choose another seat.")
elif int(rowx) > 15 or int(rowy) > 15:
print ("Invalid seating location, please choose another seat.")
else:
print ("seat purchased.")
cost = (2 * int(rowx))
x = False
return (cost, (str(rowx) + "," + str(rowy)))
taken_seats = []
sales = 0
quitter = 0
while quitter == 0:
new_input = list_options()
if new_input == "5":
quitter = 1
elif new_input == "4":
12
g = True
while g == True:
new_seat = purchase_seat(taken_seats)
taken_seats.append(new_seat[1])
print ("That will be: $ " + str(new_seat[0]))
sales = sales + new_seat[0]
print ("Would you like to purchase another seat?")
new_input = input("'1' = yes, '2' = no: ")
if new_input == "1":
pass
else:
g = False
elif new_input == "3":
print ("Total sales: $" + str(sales))
elif new_input == "2":
xd = 0
for xd in range(15,0,-1):
print ("Price for the row " + str(xd) + ": is $",(xd*20)+10)
xd = xd+1
elif new_input == "1":
display_seats(taken_seats)
else:
print ("invalid option.")
print("YOUR TICKET BOOKING IS DONE SUCCESSFULLY!")
13
OUTPUT:
14
15
16
CONCLUSION
The entire project has been developed and deployed as per the
requirements stated by the user, it is found to bug free as per the
testing standards that is implemented. The main aim of this project is
to book tickets online. It can be accessed by anyone who wants to buy
the tickets for their movies in any preferred theatre online.
17
ACKNOWLEDGEMENT
We use this an opportunity to express our gratitude to
everyone who has helped us in this project. Firstly we would like
to thank our principal Ms Sugandhi. B for giving us this
wonderful opportunity to do the project.
We also thank our Computer Science teacher Mrs Usha
Nandhini.G who helped and guided us during the making of this
project and our parents who encouraged us and provided
valuable suggestions regarding the project.
Name Of The Student
Jeshvan.K
18
SYSTEM REQUIREMENTS
Recommended:
Intel core i3
Disk space-4 GB
Python-3.9 and above
Minimum:
Python 3.4
Disk space 1 GB
19
BIBLIOGRAPHY
Websites
1 .https://www.google.com/
2 .https://www.wikipedia.org/
Books
1. Computer Science with Python Sumita Arora Class XI
2. NCERT Computer Science Text Book Class XI