0% found this document useful (0 votes)
17 views

CS

code
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

CS

code
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

INVESTIGATORY PROJECT

[COMPUTER SCIENCE]

[XI 2024-25]
[SAMRUDDHI BUKKANURE]
Atomic Energy Central School -
3,Tarapur.
TAPS 3&4 Colony, Tapp, Palghar,

CERTIFICATE
This project entitled “CODE-BOOKING MOVIE TICKETS
”, is the investigatory project work in Computer Science,
successfully completed by Miss Samruddhi Shrishail
Bukkanure student of class XI,
Atomic Energy Central School 3, Tarapur, with AISSCE Roll
No 18 under the supervision of Mrs.Sona OK , for the partial
fulfillment of requirements for the course completion in
pursuance of AISSCE 2023-24.

Mrs. Sona Ok Dr. Ashish Mishra


Department In-Charge Principal

External Examiner School


ACKNOWLEDGEMENT

I would like to express my sincere gratitude to all


those who helped me complete this project
successfully.

First, I would like to thank my class teacher Mrs.


Sona OK for their constant support, valuable
guidance and encouragement throughout the
process.

I would also like to extend my thanks to our school


principal Mr.Ashish Mishra for providing all the
necessary facilities required for this project.

Finally, I would like to thank my family who


motivated me and boosted my morale when I was
stressed.
USER MANUAL
1.) Press 1 to “Display Movies”.
2.) Press 2 to “Book Tickets”.
 Enter your details.
3.) Press 3 to “View Booking”.
4.) Press 4 to “Exit”.

Features Of The Project


1. Displaying of available movies with time &
date.
2. Booking of tickets- Selecting movie and filling
customer details.
3. Displaying of booked tickets with customer
details.
CODE
L = [{"name": "Pushpa 2", "date": "10/12/2024", "time": "6:00 PM",
"screen": "2D", "price": 175},
{"name": "Moana 2", "date": "12/12/2024", "time": "4:00 PM",
"screen": "3D", "price": 215},
{"name": "The Sabarmati Report ", "date": "13/12/2024", "time":
"8:00 PM", "screen": "2D", "price": 125},]
bookings=[]
while True:
print("\nPRESS 1 TO DISPLAY MOVIE")
print("PRESS 2 TO BOOK TICKETS")
print("PRESS 3 TO VIEW BOOKINGS")
print("PRESS 4 TO EXIT" )
ch = int(input("Enter your choice: "))

if ch == 1:
print("\nAvailaible Movies")
print("_"*80)
for i in L:
print(f"Name: {i['name']} | Date: {i['date']} | Time: {i['time']} |
Screen: {i['screen']} | Price: Rs.{i['price']}")
print("_"*80)

elif ch==2:
print("\nSelect a movie to book:")
movie_choice = int(input("\nEnter the movie number you want
to book: "))-1
if 0 <= movie_choice < len(L):
customer_name = input("Enter your name: ")
customer_email = input("Enter your email: ")
customer_contact = input("Enter your contact number: ")
num_tickets = int(input("Enter the number of tickets you want
to book: "))
selected_movie = L[movie_choice]
total_price = selected_movie["price"] * num_tickets

bookings.append({"customer_name": customer_name,
"customer_email": customer_email,
"customer_contact":customer_contact,
"movie": selected_movie["name"],
"tickets": num_tickets,
"total_price": total_price})
print(f"\nBooking successful!")
print(f"Customer: {customer_name}")
print(f"Movie: {selected_movie['name']}")
print(f"Tickets: {num_tickets}")
print(f"Total Price: Rs.{total_price}")
else:
print("Invalid movie choice!")
elif ch==3:
if bookings:
print("\nCurrent Bookings:")
for booking in bookings:
print("_" * 80)
print(f"Customer: {booking['customer_name']}")
print(f"Email: {booking['customer_email']}")
print(f"Contact: {booking['customer_contact']}")
print(f"Movie: {booking['movie']}")
print(f"Tickets: {booking['tickets']}")
print(f"Total Price: Rs.{booking['total_price']}")
print("_" * 80)
else:
print("No bookings yet!")

elif ch == 4:
print("Exiting... Thank you!")
break

else:
print("Invalid choice! Please try again.")
REFERENCE

Computer Science Textbook-Sunita Arora


Python.org website

*****************************************

You might also like