Assignments 1
Assignments 1
Introduction
1.1. The objective of the project
1. 1.1 General objective
1.1.2. Specific objectives
1.2. Description of the project
1.3. Scope of the project
2. System Description
2.1. Customer/User Profiles
2.2. Assumptions and Dependencies (If Applicable)
2.3. Functional Dependency
2.4. Normalization
3. Design
3.1 Database Design
3.1.1. E-R Diagram
3.1.2. Detail of Schemas
4. Project Snapshot and Complete code
1. Introduction
Cinema Management System Database Design is aimed to provide complete information about
the movie and schedule to the customer, according to which he/she can easily get a ticket instantly and can book a ticket
for his/her favorite movies. Admin can use the cinema management system to insert and delete data such as movie
descriptions, and movie schedules which will update the related webpage and will be accessible to the customers. Admin
can update the webpage changing according to the data in the database also admin can check the statistics information
from the system. Operate your cinema with better efficiency by automating the reservation and ticketing process to
improve profitability and manage your cinema better by having access to key data in a centralized and systematic view
and increasing customer satisfaction by giving your customers what they want when it comes to seat preference.
Some Point:-
• Contemporary multiplex movie theaters can have one or more auditoriums within a larger complex,
• Each auditorium can have a different number of seats,
• Seats are numerated with row number and seat position within a row,
• Cinema movie can have multiple screenings at different times, or it can be screened simultaneously in a different
auditorium,
• Cinema for each screening a seat can be reserved/sold only once,
• We want to track who entered each reservation/sale into the system.
1.1 Objective of the project
PASSWORD BOOKING
TICKET
Customer/User
EMAIL_ID
PHONE_NO
ADDRESS
Gender
2.2 Assumptions and Dependencies (If applicable)
Assumption:
In the specification paper, we are told to record the address of every person
which consists of country, province/state/zone, city, street, street number, and
a list of phone numbers to the location of the address and a list of fax
numbers to the location of the address. So, I assumed to make the length of
address attribute longer.
Dependencies
This Section will state the ordering relation among work packages to
account for interdependencies among them and dependencies on
external events. Techniques such as dependency list activity network
and the critical path the method may be used to depict dependencies
among work package
2.3. Functional Dependencies
Functional dependency refers to the relation of one attribute of the database to
another. With the help of functional dependency, the quality of the data in the
database can be maintained. Functional Dependency (FD) is a constraint that
determines the relation of one attribute to another attribute in a Database
Management System (DBMS). Functional Dependency helps to maintain the quality
of data in the database. It plays a vital role to find the difference between good and
bad database design.
Admin1
ADMIN_ID ADMIN_PASSWORD
Customer cinema Cust_id Cust_Fna Cust_Lna Book_Tick Phone_no Email_id Password Cust_Gen
me me et der
3. Design
Movies:
This data would include a listing of the movies to be shown in the cinema , details of the movies
Such as title , cast, and introduction including a short clip perhaps . All these could be assessed on
the system.
Seats:
The number and details of seats are registered on the system . This enables automated allocation or
manual choosing by user on the system. This Flexibility allows for preference in choosing a seat
Viewer Data:
The data of the viewer also need to be managed as the viewer would provide personal details
Including a passport photograph.
Payment System:
The available payment system which could be used in processing payment for a web based cinema
Managements system .
E-R Diagram
Ticket_no Show
Theatre has
T_id Tickets Language
has
T_name has
Show_id
Location Price
Movie_id
Show data
C_FName Seat_no
Movie
C_id
Booking Booking _date M_name
Customer Actor
Emil_id Phone_no C_id Release_date
Ticket_no Director
Password Gender
Seats
Theater seating is a style of commonly used event layout, comprised of chairs aligned in
consecutive straight rows, generally facing a single direction. It is sometimes called stadium
seating or auditorium seating.
•The time at which entertainment, such as the showing of a movie, is scheduled to start.
•The scheduled or actual time at which a show or something likened to a show begins
A booking is a small, official piece of paper or card which shows that you
have paid to enter a place such as a theatre or a sports ground, or shows
that you have paid for a journey
Ticket_no number(10),
Customer_id number(10)); offer_id number(5),
admin1 Movice_name varchar(10),
Sells Price number(10));
admin_id varchar(10), Customer cinema
admin_password
varchar(10));
customer_id number(10), Movie
Wor
ker customer_FName varchar(20),
customer_LName varchar(20),
Booking_ticket varchar(10),
Theater
Phone_no number(20), Booking Movie_id number(10),
Email_id varchar(20), Movie_name varchar(20),
Password varchar(20), Release_date varchar(20),
Ticket_id number(5), Customer_Gender varchar(20), Director varchar(10),
Ticket_name varchar(15), CONSTRAINT customer PRIMARY KEY Actor varchar(10));
Ticket_location varchar(10)); (customer_id));