Professional Documents
Culture Documents
ROLL NO :
NAME :ARYAN KUMAR
CLASS :XII-D
SUBJECT :COMPUTER
SCIENCE SUB CODE :083
CERTIFICATE
SCHOOL ROHINI.
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
1.0 Introduction
1.1 Project Summary
1.2 Purpose
1.3 Scope
3.0 Conclusion
Introduction
1.2 Purpose
User A? Administrator
User B? Employee
User D? Client
Client: This is the registered user. Who come to know about
his/her project’s progress?
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
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.
Database Changes
2) Cancel Ticket Section
Database Changes
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.
Hardware Constraints
1) python.org
2) w3schools.com
3) geeksforgeeks.com
4) stackoverflow.com