EVERWIN VIDHYASHARAM
SENIOR SECONDARY SCHOOL
COMPUTER SCIENCE
INVESTIGATORY PROJECT
MOVIE TICKET BO OKING
MANAG EMENT
R O SH A N .B
K E VI N DA V I D .P
K O WS H I K. J
CERTIFICATE
ACKNOWLEDGEMENT:
INDEX
S.No TITLE Pg.No.
1 Introduction To Python 5
2 Advantages Of Python 6
Introduction To Movie Ticket Booking
3 8
System
Advantages Of Movie Ticket Booking
4 9
System
5 Scope Of Movie Ticket Booking System 11
6 Source Code 12
7 Output Screen 17
8 Conclusion 21
9 Bibliography 22
INTRODUCTION TO PYTHON:
Python programming language was developed by Guido Van
Rossum in February 1991. This programming language was
named after the famous BBC comedy show names Monty
Python’s Flying Circus. Python is a interpreted language.
Python is influenced with two programming language:
❖ ABC language
❖ Modula-3
Modes of working in python:
❖ INTERACTIVE MODE: Also called as “IMMEDIATE MODE”.
This mode does not commands in the form of a program and
also the output is sandwiched between commands. It is
suitable for testing code.
❖ SCRIPT MODE: It is useful for creating programs. User has to
save the program and then run the program where the
output is given as a whole.
ADVANTAGES OF PYTHON
✓ EASY TO USE:
Python is compact and very easy to use object-
oriented language with very simple syntax rules. It is a very
high-level language and highly programmer friendly
✓ INTERPRETED LANGUAGE:
Python is a interpreted language. It makes python
an easy to debug language and it is suitable for beginners to
advanced users.
✓ ITS COMPLETENESS:
For most types of required functionality is
available through various modules of python standard
library.
✓ CROSS-PLATFORM LANGUAGE:
Python can run equally well on variety of platforms
like Window, Linux, Macintosh and many more. Thus, python
is a portable language.
✓ FREE AND OPEN SOURCE:
6
Python is freely available with its source code.
5 /3 0/ 20 2 5
✓ VARIETY OF USAGE APPLICATION:
Python has evolved into a powerful, complete
and useful language. Python is being used in many Fields
and application, some are: Graphical User Interface,
Scripting, etc...
✓ AVAILABILITY OF LIBRARIES:
There are over 137,000 python libraries present
today and they play a vital role in developing machine
learning, data science, data visualization, image and data
manipulation application.
✓ EXPRESSIVE LANGUAGE:
Python has fewer lines of code. For example:
# IN PYTHON: Swap values
a,b=2,3
a,b=b,a
5 /3 0/ 20 2 5 7
INTRODUCTION TO MOVIE
TICKET BOOKING SYSTEM
The Movie Ticket Booking System is a software application designed
to simplify the process of booking tickets for movies in cinemas. It
provides users with an easy-to-use interface where they can browse
currently running movies, view showtimes, select their preferred
seats, and complete their bookings online or at the box office.
This system replaces the traditional manual ticket booking process,
reducing human error, minimizing long queues, and improving
customer satisfaction. It benefits both customers and theater
administrators by automating key processes such as seat
reservation, ticket issuance, and payment processing.
The system can be implemented as a web-based application, mobile
app, or kiosk interface, offering flexibility and convenience. Features
often include real-time seat availability, secure payment gateways,
movie trailers, and booking history.
Overall, the Movie Ticket Booking System enhances the movie-going
experience by making it faster, more efficient, and user-friendly.
5 /3 0/ 20 2 5 8
ADVANTAGES TO MOVIE TICKET
BOOKING SYSTEM
❖ Convenience for Users
➢ Users can book tickets anytime and from anywhere using a computer or
mobile device.
➢ Avoids long queues at the cinema, especially during peak times or
popular releases.
❖ Real-Time Seat Selection
➢ Customers can view available seats and choose their preferred ones
instantly.
➢ Ensures transparent and fair seat allocation.
❖ Faster Booking Process
➢ Reduces the time needed to buy a ticket compared to manual counter
bookings.
➢ Allows quick checkout through online payment options.
❖ 24/7 Availability
➢ The system is accessible at all times, unlike physical ticket counters
which have working hours.
❖ Secure Payments
➢ Supports various payment gateways for secure and quick transactions.
➢ Can include digital wallets, credit/debit cards, and UPI (for regions like
India).
5 /3 0/ 20 2 5 9
❖ Booking History and Receipts
➢ Users can view past bookings, download tickets, and receive
confirmation via email/SMS.
➢ Useful for tracking expenses and reprinting lost tickets.
❖ Reduced Operational Costs
➢ Minimizes the need for extra staff at the counter.
➢ Saves on printing costs and reduces manual labor.
❖ Promotions and Offers
➢ Easy to integrate discounts, coupons, and loyalty programs to
attract customers.
❖ Improved Customer Experience
➢ Enhances user satisfaction through a smooth, hassle-free
interface.
➢ Personalized recommendations based on user preferences
can be added.
❖ Better Data Management
➢ Admins can manage shows, theaters, and customer data
more efficiently.
➢ Offers insights into booking trends and customer behavior for
business improvement.
5 /3 0/ 20 2 5
1
0
SCOPE OF MOVIE TICKET
BOOKING SYSTEM
User Scope
• Book tickets online anytime.
• Choose seats, view shows, and make secure payments.
• Access booking history and receive confirmations.
Admin Scope
• Manage movies, shows, seats, and pricing.
• Track bookings and generate reports.
• Handle user queries.
System Scope
• Web or mobile-based platform.
• Real-time seat updates and secure payment gateway.
• Scalable for multiple theaters and locations.
5 /3 0/ 20 2 5 11
SOURCE CODE
import json
import os
# File to store bookings
BOOKING_FILE = "bookings.json"
# Sample movies and showtimes
movies = {
"1": {"title": "Inception", "showtimes": ["1:00
PM", "4:00 PM", "7:00 PM"]},
"2": {"title": "The Matrix", "showtimes": ["2:00
PM", "5:00 PM", "8:00 PM"]},
"3": {"title": "Interstellar", "showtimes":
["12:00 PM", "3:00 PM", "6:00 PM"]}
def load_bookings():
if os.path.exists(BOOKING_FILE):
with open(BOOKING_FILE, "r") as file:
return json.load(file)
return []
5 /3 0/ 20 2 5
1
2
def save_bookings(bookings):
with open(BOOKING_FILE, "w") as file:
json.dump(bookings, file, indent=4)
def display_movies():
print("\nAvailable Movies:")
for key, movie in movies.items():
print(f"{key}. {movie['title']} - Showtimes: {',
'.join(movie['showtimes'])}")
def book_ticket():
display_movies()
movie_choice = input("Enter movie number to book:
").strip()
if movie_choice not in movies:
print("Invalid movie selection!")
return
movie = movies[movie_choice]
print(f"Selected: {movie['title']}")
print("Showtimes:", ", ".join(movie["showtimes"]))
showtime = input("Enter preferred showtime: ").strip()
if showtime not in movie["showtimes"]:
print("Invalid showtime!")
return
5 /3 0/ 20 2 5 13
name = input("Enter your name: ").strip()
seats = int(input("Number of seats: ").strip())
booking = {
"name": name,
"movie": movie["title"],
"showtime": showtime,
"seats": seats
bookings = load_bookings()
bookings.append(booking)
save_bookings(bookings)
print(f"\n Booking confirmed for {name} ({seats} seats
at {showtime})")
def view_bookings():
bookings = load_bookings()
if not bookings:
print("\nNo bookings found.")
return
print("\nCurrent Bookings:")
for idx, booking in enumerate(bookings, 1):
print(f"{idx}. {booking['name']} - {booking['movie']}
at {booking['showtime']} ({booking['seats']} seats)")
5 /3 0/ 20 2 5 14
def cancel_booking():
view_bookings()
bookings = load_bookings()
if not bookings:
return
try:
booking_num = int(input("Enter booking number to
cancel: ").strip())
if 1 <= booking_num <= len(bookings):
removed = bookings.pop(booking_num - 1)
save_bookings(bookings)
print(f" Booking for {removed['name']}
canceled.")
else:
print("Invalid booking number.")
except ValueError:
print("Invalid input.")
def main():
while True:
print("\n Movie Ticket Booking System")
print("1. View Movies")
print("2. Book Ticket")
print("3. View Bookings")
print("4. Cancel Booking")
print("5. Exit")
5 /3 0/ 20 2 5 15
choice = input("Select an option: ").strip()
if choice == "1":
display_movies()
elif choice == "2":
book_ticket()
elif choice == "3":
view_bookings()
elif choice == "4":
cancel_booking()
elif choice == "5":
print("Thank you for using the Movie Ticket
Booking System!")
break
else:
print("Invalid choice. Please try again.")
if __name__ == "__main__":
main()
5 /3 0/ 20 2 5 16
OUTPUT SCREEN:
5 /3 0/ 20 2 5 17
5 /3 0/ 20 2 5 18
5 / 3 0 / 2 0 25
1
9
5 /3 0/ 20 2 5
2
0
CONCLUSION
The Movie Ticket Booking System significantly streamlines
the process of reserving movie tickets, offering both users
and administrators a convenient and efficient platform.
By digitizing ticket sales, the system reduces the need for
long queues and manual labor, enhances user
experience through real-time availability and selection,
and minimizes errors in seat allocation.
For administrators, the system provides effective tools to
manage screenings, seat layouts, and transaction
records. Overall, this system not only boosts operational
efficiency for cinemas but also aligns with the growing
trend of digital transformation in the entertainment
industry. With potential future enhancements like mobile
app integration, personalized recommendations, and
secure payment gateways, the system can offer even
greater value and convenience.
5 / 3 0 / 2 0 25
2
1
BIBILIOGRAPHY
➢ www.chatgpt.com
➢ www.google.com
5 /3 0/ 20 2 5
2
2