[go: up one dir, main page]

0% found this document useful (0 votes)
14 views17 pages

CS Project VBPS

Uploaded by

ddare3737
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)
14 views17 pages

CS Project VBPS

Uploaded by

ddare3737
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/ 17

VISHNU BHAGWAN PUBLIC

SCHOOL

ACADEMIC YEAR:2024-2025
PROJECT REPORT ON
CREATING MOVIE TICKET BOOKING
NAME: SHIVANJAL BHUSHAN
CLASS: XII
SUBJECT: COMPUTER SCIENCE
SUB-CODE: 083

PROJECT GUIDE:
MR. RITESH SIR
PGT (CS)
VISHNU BHAGWAN PUBLIC SCHOOL
JHALWA, PRAYAGRAJ UTTAR PRADESH
CERTIFICATE

This is to certify that SHIVANJAL BHUSHAN ,


a student of class XII has successfully
completed the research on the below
mentioned project under the guidance of
Mr. RITESH SIR during the year 2024-2025
in partial fulfilment of Computer practical
examination conducted by CBSE Central
Board of Secondary Education.

EXAMINER'S SIGNATURE PRINCIPAL'S SIGNATURE TEACHER'S SIGNATURE


ACKNOWLEDGEMENT
I would like to express my special thanks of
gratitude to my Computer Teacher
"Mr.Ritesh Tiwari” for his able guidance
and support in completing this project.

I would also like to extend my gratitude to


our Principal Mr. Dinesh Sir for providing
me with all the required facilities.
Secondly, I would also like to thank my
parents and friends who helped me a lot in
finishing this project within the limited
time. Just because of them I was able to
create my project and make it good and
enjoyable experience.
Thanks again to all who helped me during
the project.
Table of Contents

Sno Description Page

1. Acknowledgement 04

2. Introduction 05

3. Hardware and 06
Software
4. Coding 07-12

5. Output 13

6. Bibliography 14

INTRODUCTION
Welcome to newly designed website movie
ticket booking is a faster , cleaner and a tad
more personal website, specially designed to
make your booking experience better. Log on,
navigate and find out for yourself and if time
permits leave your valuable feedback.
Customers may view the contents of any movie
show at any time and may book any movie ticket
as needed. The program automatically calculates
the subtotal and grand total. When a visitor
decides to finally book the ticket, the order
information including the buyer's name, address
and billing instruction is stored in the database
securely and payment has been made.
You need to register a new user whenever you
have first visited or site then for future it will be
stored in database permanently and you can
book ticket.
HARDWARE & SOFTWARE
REQUIREMENT
Hardware: -
1 :- Operating system : Windows 10 pro
2 :- Processor : Intel(R) Core(TM) i3-6006U
: CPU@ 2.00GHz, 2 Core(s),
: 4 Logical Processor(s)
3 :- RAM : 512MB+
4 :- HARD DISK
CODING
# Global variable to track movie selection f
=0

# Function to select the movie


def t_movie(): global f f
+= 1
print("WHICH MOVIE DO YOU WANT TO
WATCH?")
print("1. Movie 1") print("2. Movie
2") print("3. Movie 3") print("4. Go
Back to Theater Selection")

movie = int(input("CHOOSE YOUR MOVIE:


"))

if movie == 4:
# Goes back to center function for theater
selection
center()
return
if f ==
1:
theater()

# Function to select the screen def


theater():
print("IN WHICH SCREEN DO YOU WANT TO
WATCH THE MOVIE?") print("1. SCREEN 1")
print("2. SCREEN 2") print("3. SCREEN 3")
screen = int(input("CHOOSE YOUR SCREEN:
"))
tickets = int(input("NUMBER OF TICKETS DO
YOU WANT?: "))
timing(screen)

# Function to select movie timing


def timing(screen): time1 = {
"1": "10:00 AM - 1:00 PM",
"2": "1:10 PM - 4:10 PM",
"3": "4:20 PM - 7:20 PM",
"4": "7:30 PM - 10:30 PM"
}
time2 = {
"1": "10:15 AM - 1:15 PM",
"2": "1:25 PM - 4:25 PM",
"3": "4:35 PM - 7:35 PM",
"4": "7:45 PM - 10:45 PM"
}
time3 = {
"1": "10:30 AM - 1:30 PM",
"2": "1:40 PM - 4:40 PM",
"3": "4:50 PM - 7:50 PM",
"4": "8:00 PM - 10:45 PM"
}

if screen == 1:
print("CHOOSE YOUR TIME:")
print(time1) t = input("SELECT YOUR
TIME: ") x = time1[t]
print(f"SUCCESSFUL! Enjoy your movie at
{x}") elif screen == 2: print("CHOOSE
YOUR TIME:") print(time2) t=
input("SELECT YOUR TIME:
") x = time2[t] print(f"SUCCESSFUL!
Enjoy your movie at
{x}") elif screen
== 3:
print("CHOOSE YOUR TIME:")
print(time3) t = input("SELECT YOUR
TIME: ") x = time3[t]
print(f"SUCCESSFUL! Enjoy your movie at
{x}")
else:
print("INVALID SCREEN CHOICE!")
# Function to handle movie selection based
on theater def movie(theater_choice): if
theater_choice in [1, 2, 3]:
t_movie() elif
theater_choice == 4:
city()
else:
print("WRONG
CHOICE!")

# Function to handle theater selection def


center():
print("IN WHICH THEATER DO YOU WISH TO
SEE THE MOVIE?")
print("1. INOX") print("2. ICON")
print("3. PVR") print("4. BACK TO
CITY SELECTION")

theater_choice = int(input("CHOOSE
YOUR OPTION: ")) movie(theater_choice)

# Function to handle city selection def


city():
print("Hi! WELCOME TO MOVIE TICKET
BOOKING:")
print("WHERE DO YOU WANT TO WATCH
THE MOVIE?")
print("1. City 1")
print("2. City 2") print("3.
City 3")

place = int(input("CHOOSE YOUR OPTION:


"))
if place in [1, 2, 3]:
center()
else:
print("WRONG
CHOICE!")
city()

# Start the booking system if


__name__ == "__main__":
city()
OUTPUT
BIBLIOGRAPHY

1. Computer Science with Python


:By "SUMIT ARORA"
2. Website: (i) https://pythonworld.in
(ii)https://www.geeksforgeeks.org

You might also like