CODING

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 35

COMPUTER SCIENCE

PROJECT

Topic: project report on


Online Cinema Ticket Booking

Submitted by:
S. Dharshan
12-B
Index
1.Bornafide Certificate
2.Acknowlegment
3.What is python
4.Why is Python so popular?
5.Why should we learn Python?
6.Coding
7.Output
8.Result
9.Hardware and Software requirement
10.Bibliography
Certificate

This is to verify that Dharshan.S a student of class


12-B has successfully completed the research on the
project mentioned below for the academic year
2022- 2023 in partial fulfilment of computer practical
examination.

Teacher In charge External Examiner

Principal School Stamp


ACKNOWLEDGEMENT

At the outset, I express our gratitude to the


almighty lord for the divine guidance and wisdom
showered on me to undertake this project. I am
immensely grateful to my beloved principal for
her involvement in the project by providing
useful inputs and timely suggestions. I am also
thankful to my computer science teacher Ms.
Indumathy .R for her guidance and help to make
this project a success. My parents also played a
key role in shaping up this project nicely and I
convey my special thanks to them as well.
PYTHON is an interactive
cross-platform programming
language that offers
various features. Python is
an interpreted, high-level,
general-purpose
programming language. Guido
Van Rossum created Pyhton in
the late 90’s. It
wasn’t named after a
dangerous snake. Rossum was
a fan of a comedy series
from late seventies. The
name “Python” was adopted
from the same series
“Monty Python’s Flying
Circus”. It has the largest
community for learners and
Collaborators. Its an open
source programming language
whose source code is
also available.
PYTHON is an interactive
cross-platform programming
language that offers
various features. Python is
an interpreted, high-level,
general-purpose
programming language. Guido
Van Rossum created Pyhton in
the late 90’s. It
wasn’t named after a
dangerous snake. Rossum was
a fan of a comedy series
from late seventies. The
name “Python” was adopted
from the same series
“Monty Python’s Flying
Circus”. It has the largest
community for learners and
Collaborators. Its an open
source programming language
whose source code is
also available.
PYTHON is an interactive
cross-platform programming
language that offers
various features. Python is
an interpreted, high-level,
general-purpose
programming language. Guido
Van Rossum created Pyhton in
the late 90’s. It
wasn’t named after a
dangerous snake. Rossum was
a fan of a comedy series
from late seventies. The
name “Python” was adopted
from the same series
“Monty Python’s Flying
Circus”. It has the largest
community for learners and
Collaborators. Its an open
source programming language
whose source code is
also available.
PYTHON is an interactive
cross-platform programming
language that offers
various features. Python is
an interpreted, high-level,
general-purpose
programming language. Guido
Van Rossum created Pyhton in
the late 90’s. It
wasn’t named after a
dangerous snake. Rossum was
a fan of a comedy series
from late seventies. The
name “Python” was adopted
from the same series
“Monty Python’s Flying
Circus”. It has the largest
community for learners and
Collaborators. Its an open
source programming language
whose source code is
also available.
What is python ?
PYTHON is an interactive cross-platform programming language
that offers various features. Python is an interpreted, high-
level, general-purpose programming language. Guido Van
Rossum created Python in the late 90’s. It wasn’t named after a
dangerous snake. Rossum was a fan of a comedy series from
late seventies. The name “Python” was adopted from the same
series “Monty Python’s Flying Circus”. It has the largest
community for learners and Collaborators. It’s an open-source
programming language whose source code is also available.

Why is Python so popular?


1. Syntax is extremely simple to read and follow
2. Python is very beginner-friendly
3. Millions of happy learners
4. Easier than other programming language.
Why should we learn Python?
1) General-purpose language
2) Wide range of applications
3) Web development-django Bottle
4) Mathematical computations(numpy and simpy)
5) Graphical user interface (Panda 3D)
6) Length of the code is relatively short
7) Fun to work with

CODING
print(" IMAX Theatre Online Ticket Booking Site
")
print("Hi welcome to movie ticket booking: ")
print("where you want to watch movie?:")
print("1,Trichy")
print("2,Chennai ")
print("3,Madurai")
place = int(input("choose your option: "))
print(" ")
print(" ")
print("which theatre do you wish to see movie? ")
print("1,Maris Complex")
print("2,Sona Mina")
print("3,Mega Star")
a = int(input("choose your option: "))
print(" ")
print(" ")
print("which movie do you want to watch?")
print("1,ponniyin Selvan :Part 1 ")
print("2,Prince ")
print("3,Black Adam")
print("4,Sardar")
movie = int(input("choose your movie: "))
print(" ")
print(" ")
print("which screen do you want to watch movie: ")
print("1,MARIS")
print("2,ELITE")
print("3,FORT")
b = int(input("choose your screen: "))
print(" ")
print(" ")
ticket = int(input("number of ticket do you want?: "))
print(" ")
print(" ")
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("
")
print(" Screen 1
")
print("
")
print("A|35|34|33|32|31| |30|29|28|27|26|25| |24|23|22|
21|20|19|18|17|16|15|14|13|12| |11|10|9|8|7|6| |5|4|3|2|1|")
print("B|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("C|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("D|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("E|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("F|30|29|28|27|26|25|24|23|22| |21|20|19|18|17|16|
|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("
")
print("
")
print("G|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("H|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("I|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("J|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("K|35|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|
20|19|18|17|16|15|14|13|12|11|10| |9|8|7|6|5|4|3|2|1|")
print("
")
print("PREMIUM
")
print(" ")
print("A|30|29|28|27|26|25|24|23| |22|21|20|19|18|17|
16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("B|22|21|20|19|18|17| |16|15|14|13|12|11|
10|9 |8 |7 | |6|5|4|3|2|1|")
print("C|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("D|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("E|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("F|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("G|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("H|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("I|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("J |30|29|28|27|26|25| |24|23|22|21|20|19|18|17|
16|15|14|13|12|11|10|9 |8 |7| |6|5|4|3|2|1|")
print(" ")
print(" ")
print("K|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("L|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("M|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("N|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("O|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print("P|34|33|32|31|30|29|28|27| |26|25|24|23|22|21|20|
19|18|17|16|15|14|13|12|11|10|9| |8|7|6|5|4|3|2|1|")
print(" ")
print(" ")
print(" ")
print("
________________________________________________
")
print(" /
__________________________________________ \ ")
print(" | | | | ")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |
__________________________________________| | ")
p print(" \
________________________________________________/
")

print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time1)
t = input("select your time:")
x = time1[t]
print("rate of single ticket is 160")
y=ticket*160
print(" enjoy movie ")

elif a == 2:
print("
")
print(" Screen 2
")
print(" ")
print(" A |24|23|22|21|20|19|18|17|16|15|14|13|12|11|
10|9 |8 |7|6|5|4|3|2|1|")
print(" B |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" C |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" D |19|18|17| |16|15|14|13|12|11|10|9 |8 |7|6|
5 |4 | |3|2|1|")
print(" ") print(" E
|13|12|11|10|9 |8 |7 |6 |5 |4|3|2 |1 | ")
print("F|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("G|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("H|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("I|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print("J|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print(" ")
print(" ")
print("K|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("L|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|13|
12|11|10|9|8| |7|6|5|4|3|2|1|")
print("M|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("N|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print("O|27|26|25|24|23|22|21| |20|19|18|17|16|15|14|
13|12|11|10|9|8| |7|6|5|4|3|2|1|")
print(" ")
print(" ")
print(" ")
print("
_____________________________________ ")
print(" / ___________________________________
\ ")
print(" | | | | ")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |
__________________________________| | ")
print(" \
________________________________________/ ")
print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time2)
t = input("select your time:")
x = time2[t]
print("rate of single ticket is 120")
y=ticket*120
print(" enjoy movie ")
elif a == 3:
print("
")
print(" Screen 3
")
print("
")
print(" A |10|9|8|7|6|5|4|3|2|1|")
print(" B |5|4|3|2|1|")
print(" C |5|4|3|2|1|")
print(" D |5|4|3|2|1|")
print(" E |5|4|3|2|1|")
print(" F |5|4|3|2|1|")
print(" G |8|7|6| |5|4|3|2|1|")
print(" H |8|7|6| |5|4|3|2|1|")
print(" I |8|7|6| |5|4|3|2|1|")
print(" J |8|7|6| |5|4|3|2|1|")
print(" K |8|7|6| |5|4|3|2|1|")
print(" L |8|7|6| |5|4|3|2|1|")
print(" M |8|7|6| |5|4|3|2|1|")
print(" N |8|7|6| |5|4|3|2|1|")
print(" O |8|7|6| |5|4|3|2|1|")
print(" P |8|7|6| |5|4|3|2|1|")
print(" Q |8|7|6| |5|4|3|2|1|")
print(" R |8|7|6| |5|4|3|2|1|")
print(" __________________________________
")
print(" / ____________________________ __ \
")
print(" | | | | ")
print(" | | ALL EYES THIS WAY PLEASE | |
")
print(" | | | | ")
print(" | |_____________________________| |
")
print(" \___________________________________/
")
print(" ")
print(" ")
seat=input("Please Enter the seat mumbers")
print(" ")
print(" ")
print("choose your time:")
print(time3)
t = input("select your time:")
x = time3[t]
print("rate of single ticket is 100")
y=ticket*100
print(" enjoy movie at ")
print(" ")
print(" ")
print("-------------------------------------------------------------------- ")
print(" Invoice Bill ")
print("-------------------------------------------------------------------- ")
print(" ")
if place == 1:
print("the city selected is Trichy")
if place == 2:
print("the city selected is Chennai")
if place == 3:
print("the city selected is Madurai")

if a == 1:
print("the theatre selected is Maris Complex")
if a == 2:
print("the theatre selected is Sona Mina")
if a == 3:
print("the theatre selected is Mega Star")

if movie==1:
print("the movie selected is Ponniyin Selvan : wwPart 1")
if movie==2:
print("the movie selected is Prince")
if movie==3:
print("the movie selected is Black Adam")
if movie==4:
print("the movie selected is Sardar")

if b == 1:
print("the screen selected is MARIS")
if b == 2:
print("the screen selected is ELITE")
if b == 3:
print("the screen selected is FORT")

print("the total seats selected is" ,ticket)


print("the seats selected is" ,seat)
print("the time selected is" ,x)
print("the total rate of ",ticket ,"tickets is" ,y)
print(" enjoy the movie at IMAX Theatre ")
print("--------------------------------------------------------------------")
Output

(Screen shots)
To select the city

To select theatre in the city


To select Movie in the Theatre

To select the screen


To select no of seats

To display the seating arrangement


To select the Seats and timing
To display the bill

Result:

Hence the program is been Executed


Hardware and Software
Requirement
Hardware requirement:
 Processor: 1 gigahertz (GHz) or faster
 RAM: 1 gigabyte (GB) (32-bit) or 2 GB (64-bit)
 Free hard disk space: 16 GB
 Graphics card: Microsoft DirectX 9 graphics device with WDDM driver
 A Microsoft account and Internet access
 PAE gives 32-bit processors the ability to use more than 4 GB of physical memory on
capable versions of Windows, and is a prerequisite for NX.
 NX helps your processor guard the PC from attacks by malicious software.
 SSE2 is a standard instruction set on processors that is increasingly used by third-party
apps and drivers.

Software requirement:
 Windows 10 OS
 Python 3.0
Bibliography
Computer Science With Python 
By  Sumita Arora
www.geeksforgeeks.org

You might also like