You are on page 1of 26

C.R.P.F.

PUBLIC SCHOOL ,ROHINI

ACADEMIC YEAR: 2021-2022

PROJECT REPORT ON: THEATER BOOKING

ROLL NO :
NAME :ARYAN KUMAR
CLASS :XII-D
SUBJECT :COMPUTER
SCIENCE SUB CODE :083
CERTIFICATE

This is to certify that ARYAN KUMAR Roll No.


successfully completed the project work entitled THEATER
BOOKING in the subject COMPUTER SCIENCE(83) laid down in
the regulations of CBSE for the purpose of Practical Examination in
Class XII to be held in CRPF PUBLIC

SCHOOL ROHINI.

(Ms. Simmi Gupta)


PGT – Computer Science
ACKNOWLEDGEMENT

Apart from the efforts of mine, the success of any project


depends largely on the encouragement and guidelines of
many others. I take this opportunity to express my gratitude
to the people who have been instrumental in the successful
completion of this project.

I express deep sense of gratitude to almighty God for giving


me strength for the successful completion of the project.

I express my heartfelt gratitude to my parents for constant


encouragement while carrying out this project.

I gratefully acknowledge the contribution of the individuals


who contributed in bringing this project up to this level, who
continues to look after me despite my flaws,

The guidance and support received from all the members who
contributed and who are contributing to this project, was vital
for the success of the project. I am grateful for their constant
support and help.
PREFACE

Case study (Software Engineering) is a long establishment


method of organizing, learning, so as to encourage coordination of
Subject areas, it aims at closer integration of theory and practical give
fundamental basic for student learning and produce, more practical
techniques. Project method in common with other students centered
technique help to develop market survey, planning decision making
on for example and identifying the critical integrated industrial
process for producing equipment, a component or a model of process.
PYHTON:

Python is an interpreted, high-level, general-purpose


programming language. Created by Guido van Rossum and first
released in 1991, Python has a design philosophy that emphasizes
code readability, notably using significant whitespace. It provides
constructs that enable clear programming on both small and large
scales. Van Rossum led the language community until July 2018.
Python is dynamically typed and garbage-collected. It supports
multiple programming paradigms, including procedural, object-
oriented, and functional programming. Python features a
comprehensive standard library, and is referred to as "batteries
included". Python interpreters are available for many operating
systems. CPython, the reference implementation of Python, is open-
source software and has a community-based development model.
Python and CPython are managed by the non-profit Python Software
Foundation.
MYSQL DTABASE:

MySQL My SQL is an open-source relational database


management system (RDBMS). Its name is a combination of "My",
the name of co-founder Michael Widenius's daughter, and "SQL", the
abbreviation for Structured Query Language. MySQL is free and
open-source software under the terms of the GNU General Public
License, and is also available under a variety of proprietary licenses.
MySQL was owned and sponsored by the Swedish company MySQL
AB, which was bought by Sun Microsystems (now Oracle
Corporation).

In 2010, when Oracle acquired Sun, Widenius forked the open-source


MySQL project to create MariaDB.

MySQL is a component of the LAMP web application software stack


(and others), which is an acronym for Linux, Apache, MySQL,
Perl/PHP/Python. MySQL is used by many database-driven web
applications, including Drupal, Joomla, phpBB, and WordPress.
MySQL is also used by many popular websites, including Facebook,
Twitter, Flickr, and YouTube
DETAIL OF PROJECT

1.0 Introduction
1.1 Project Summary
1.2 Purpose
1.3 Scope

2.0 System Requirements Study


2.1User Characteristics
2.2Hardware and Software Requirements
2.3Constraints

3.0 Conclusion
Introduction

1.1 Project Summary

With movies being very popular and in demand these days, it


need a upgrade in the field of booking it without any delays and
simple steps. A booking platform helps people see details about
movie like prices, seats left, timings, and many more easily from the
comfort in their phones. People can just lookup the movie name on
the application, select the number of seats and pay online and their
seats will be booked.

1.2 Purpose

The main objective of this is to make the process of buying tickets


easy. It can store and manage the data of movies like the prices,
timings and seats left.
1.3 Scope

With movies being very popular and in demand these days, it


need a upgrade in the field of booking it without any delays and
simple steps. A booking platform helps people see details about movie
like prices, seats left, timings, and many more easily from the comfort
in their phones. People can just lookup the movie name on the
application, select the number of seats and pay online and their seats
will be booked.

The main objective of this is to make the process of buying tickets


easy. It can store and manage the data of movies like the prices,
timings and seat left
2.0 System Requirements Study

2.1 User Characteristics

There are 4 types of user dealing with the system.

User A? Administrator

Administrator: Admin is having all the rights on the application.

User B? Employee

Employee: Employee of the company is one of the 4 users of


this project User C? Anonymous User

Anonymous User: Anyone who visits website. And any person


applying for the posted job on the website.

User D? Client
Client: This is the registered user. Who come to know about
his/her project’s progress?

2.2 Hardware and Software Requirement:


Hardware Specification:
Processor Keyboard
Processor
Speed
RAM
Hard Disk
: Intel Dual based system
: 1GHz to 2 GHz
: 256MB to 512
MB
: 4 GB to 30 GB
: 104 keys
PHYTHON CODING
while True:
movie = input("Enter movie id you to watch:
movie["1", "2", "3"]: ")
if movie == "1":
9eats left = moviel price = 200
if seats left != 0:

break #it will only break out of the loop if there are seats left or it will be i
elif movie == "2":
seats_left = movie2
price = 400
if != 0: break # as
movie == "3":
= movie3
price = 100
if!= 0: break

print("This movie has no tickets left.")

print("Wrong movie. Try again")


print(f"Movie {movie} tickets.")

while True:
nuDb = int(input("Enter the number tickets want to buy:
nuDb > 9eat9_left: "))
9eat9currently not
else:
flag = 0
details(
print(f"\tSo you want (numb} seat9.")
while flag < numb: flag t= 1
number: (flag}") name = input("\tEnter
the name: ") age =
while True:
9ex = age:
"))
9ex: ")
if sex.lower() in ["male", "female"]:

else:
print("Enter male or female only.")
9eat9 left = 1
Id = 10 - seats left
details.update((Id:9ex, age,
break

print("Printing details...\n")
for x, y in details.items(): #looping through the dictionary and inserting each detail
seperately Id,9ex, age,= x, y[0], y[1], y[2], y[3]
c.execute(f"insert into movie{movie} (id,name,sex,age) values ((Id}, '(name}', '(sex}',
(age})" print(f"ID:(name}, Sex: (9ex), Age: (age), Movie:
conn.commit()
= price * nuRb
tickets have been 9ucce9fully booked.have to pay: (total}R9") input("Press enter to
continue: ")

def cancel_ticket():
Ticket PortalSSr"
while True: )
movie = int(input("Enter the movie number:
"))
.
Output of the project

Finally, we conclude our work and present the output of the project.

1) Book Ticket Section

Database Changes
2) Cancel Ticket Section

Database Changes

3) Show Ticket Section


MYSQL DATABASE AND TABLES USED IN THIS PROJECT

Table structure
Software Specification:
Language : Python 3.7
Database : Microsoft SQL Server 5.7.24.0
Operating System : Windows 7/8/8.1/10
RAM : 512 MB

2.3 Constraints:

General Constraints

1) This system will not take care of any virus problem that
might occur on the computer with which it is installed. Avoiding
the use of pirated/illegal software and ensuring that floppies and
other removable media are scanned for viruses before use could
minimize the possibility of viral infection.

2) Recovery of data after a system crash will be possible only if


backups are taken at regular intervals.

3) Manual interfaces cannot be fully avoided. Documented


proofs like dates etc. will have to be verified by the concerned
staff before entering it into the computerized system

Hardware Constraints

The performance of the system will be dependent on the


machine conditions. The primary memory (RAM) and the
secondary memory (Hard Disk Space) requirement of the
system will be the same as that required by the normal
application and the operating system. And the space required
storing the data. The space required to store the data would
increase as more and more records are added to the system.
References

1) python.org
2) w3schools.com
3) geeksforgeeks.com
4) stackoverflow.com

You might also like