Professional Documents
Culture Documents
MD SHAHNAWAZ HUSSAIN
1NH18MCA24
2018-2019
MOVIE TICKET BOOKING
MD SHAHNAWAZ HUSSAIN
1NH18MCA24
Associate Professor
2018-2019
ACKNOWLEDGEMENT
I would like to thank Dr. Mohan Manghnani, Chairman of New Horizon College of
Engineering for providing good infrastructure and Hi-Tech lab facilities to develop and
improve student’s skills.
I sincerely express my gratitude to the college Principal Dr. Manjunatha for supporting the
students in all their technical activities and giving guidance to them. I would like to thank
Dr. V. Asha, HoD, Department of MCA, New Horizon College of Engineering for granting
permission to undertake this project. I would like to express my gratitude to the project
guide Dr. A.P NIRMALA for giving all the instructions and guidelines at every stage of
the Project work.
I thank all the staff members of the Department of Master of Computer Applications, for
extending their constant support to complete the project. I express my heartfelt thanks to my
parents and friends who were a constant source of support and inspiration throughout the
project.
TABLE OF CONTENT
Chapter
Title Page No
No.
ABSTRACT
LIST OF FIGURES
1 INTRODUCTION
1.1 General Introduction
Existing System 1-3
1.2
Objective of the Work
1.3
Proposed System with Methodology
1.4
Feasibility Study
1.5
2 REVIEW OF LITERATURE
4-6
2.1 Review Summary
3 SYSTEM CONFIGURATION
3.1 Hardware requirements
7
3.2 Software requirements
5 SYSTEM DESIGN
10-11
5.1
DFD / UML Diagrams
5.2
6 SYSTEM IMPLEMENTATION
12-20
6.1 Implementation
6.2 Screen Shots 21-23
7 SYSTEM TESTING
7.1 Test Cases 25-26
7.2 Maintenance
8 RESULTS AND DISCUSSIONS
8.1 Conclusion
8.2 Limitations 28
8.3 Future Enhancements
9 REFERENCES
9.1 Text Reference 29
9.2 Web Reference
ABSTRACT
This undertaking is meant to give the costumers office to book tickets for film lobbies
disconnected, through which they can book tickets whenever. Film ticket booking framework
is fundamentally made for giving the client whenever administration to booking the seat in
the film lobby and to assemble data about the motion pictures discharged and after that settle
on decision. In this task, will show the framework by giving DFD (Data Flow Diagram) on
certain capacities .Admin can utilize the framework to embed and erase information (eg,
depiction , films) Which will refresh to the information in the database. Administrator can
likewise check the static data from the framework.
LIST OF FIGURES
Figure
Title Page No
number
CHAPTER 1
INTRODUCTION
General Introduction
This project is aimed to provide the costumers facility to book tickets for cinema halls
offline, through which they can book tickets anytime.
Movie ticket booking system is basically made for providing the customer anytime service
for booking the seat in the cinema hall and to gather information about the movies released
and then make choice. In this project, will illustrate the system by providing DFD (Data Flow
Diagram) on some functions .Admin can use the system to insert and delete data (eg,
description , films) Which will update to the data in the database.
Admin can also check the static information from the system. [1]
Existing system
In the Existing system the works are done by manually. The existing system has got lot of
time taken works and need lot of human effort and paper works. All above the data need to
be maintained on ledgers and maintaining this is a tedious and risky processes. As the
transactions and number of people increases, then, the task of maintaining increases
exponentially. To view a data may need lot of paper to be searched. Some of the negative
aspects of the existing system are as follows:
Course of action is time consuming. Wherever a need for search arises, the process
evolves search through paper records.
Readability of records is constrained. All the records may not be handled or written
by the same person. So, the format and style of records differ and hence it is difficult
to understand.
Paper records are easily damaged in course of time. The lifetime of paper record is
unreliable less that it easily gets spoiled.
Expenditure is high. Manual system needs added man power.
The main purpose of offline ticket booking system is to provide another way for the customer
to buy cinema tickets. It is automatic system.
This system is basically aimed to provide the customer the complete information if the
movie, according to which the customer can book the tickets.
1. This is a user friendly and menu driven program which is designed to book tickets for
a movie by the user by providing the necessary details. The proposed system is a
computerized one. This takes limited time for calculation. The proposed system can
be used to maintain efficiently.
.
This system will minimize the number of staff at the tickets box.
It increases the profit
The new system is more users friendly, reliable and flexible.
1. This program has certain Modules:-
1. Insert Movie
Here we can insert a new movie to the data base. It contains the whole Movie
details.
2. View All Movie
It Show All the movie and its details which is inserted in the database.
Feasibility study
A feasibility study is conducted to select the best system that meets performance
requirement. The system required a statement of constraints; the identification of specific
system objective and a description of output define performance etc.
The key considerations in feasibility analysis is OPERATIONAL FEASIBILITY:
The system will be used if it is developed well then be resistance for users
that undetermined -
No major training and new skills are required.
It will help in the time saving and fast processing and dispersal of user request
and applications.
New product will provide all the benefits of present system with better performance.
Improved information, better management and collection of there ports.
User support.
User involvement in the building of present system is sought to keep in mind the
user specific requirement and needs. [3]
CHAPTER 2
Literature Review
Now a century old, the cinema has historically enjoyed a competitive advantage over other
forms of entertainment, as built upon two foundations which are currently being undermined.
During the movie industry’s first century, movie theatres represented the
first- release retail market for the American film industry. Until movies were first broadcast
on television in the late 1950s, and later became available on video, they could only be seen
in a movie theatre. Moreover, until the recent introduction of alternative digital delivery
technologies and big screen televisions, the primary medium for watching movies on large,
wide screens has also been in movie theatres (Sliver & McDonnell, 2007).
The cinema suffered a considerable decline with the development of the television from
the1950s. The introduction of new competing technologies broadly corresponds to declining
movie theatre attendance over time. It also indicates that the mass movie-going audience
fragmented after World War II as more product substitutes (black and white TV, colour TV,
Pay TV, home video, PCs) emerged over time to provide alternative entertainment
options(Stuart, 1976).
Movie theatres are facing an uncertain future, one in which they might well no longer hold
the firm competitive advantage that they’ve historically enjoyed.
The availability of product substitutes has been increasing, due to the diffusion of home
cinema and other digital technologies that enable consumers to watch movies in forms other
than on a theatre screen. Some of the most recent and dramatic threats to movie theatres have
a risen from the sudden emergence of the home cinema industry. The cinema is still a very
expensive way of showing entertainment and with very different social and economic
characteristic to the home video market. However the two are now closely linked: a film may
make more money on the video release, and the popularity of a film in one medium is no
indicator of potential success in the other. The cinema production industry is an extremely
important source of entertainment programming, but has very particular features related to
the economics of information: the upfront costs are often huge compared to the distribution.
CHAPTER 3
SYSTEM CONFIGURATION
Hardware requirement
Software Requirement
CHAPTER 4
MODULE DISCRIPTION
Login Module
This is the first module used in the system which allows user to proceed further by
validating with correct username and password. This allows user to jump to main menu.
Inserting Module
It allows Admin to take enter a new movie in the record file.
Booking Module
It Allows admin to book movie for the customer. which include all the details about
customers. Like ,customer name, mobile number etc.There is also a system in which we can
enter the total seat which the customer needed, according to the number of seat it will
calculate the total price of the ticket.
CHAPTER 5
Data Flow Diagram developed by Chris gane and Trish Sarsonin 1979, who introduced
structured analysis and design.
After that in 1980 Edward Yourdon and Tom DeMacro featurized DFD and developed some
new tools like they used circle instead of rectangle.
DFD is graphical representation of direction of data. [5]
Description:-
This project has following steps in DFD
DFD LEVEL 0
Admin
Movie
Ticket Login
Booking
Admin
Log in
View All
Insert All Movie Delete Find Book Transactio
Movie Movie Movie Ticket n
Movie Transaction
CHAPTER 6
SYSTEM IMPLEMENTATION
Implementation
Sample Code
#include<stdio.h>
#include<stdlib.h>
#define N 50
void login()
{
int a=0,i=0;
char uname[10],c;
char pword[10];
do
{
}
}
while(a<=2);
if (a>2)
{
printf("\nSorry you have entered the wrong username and password for four times!!!");
getch();
exit(0);
system("cls");
}
struct book
{
char code[20];
char name[20];
char date[20];
int cost;
}b;
int seat = 60 ;
int ch;
clrscr();
login();
do{
printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++");
printf("\n");
printf("\t Moive Ticket booking ");
printf("\n");
printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++");
switch (ch)
{
case 1 :
insert_details();
break;
case 2:
viewAll();
break;
case 3:
find();
case 4:
book_ticket();
break;
case 5:
old_record();
break;
case 6:
del();
break;
case 0:
exit(0);
break;
default:
printf("Wrong choice !");
break;
}
}
while(ch!=0);
}
void insert_details()
{
FILE *fp;
struct book b;
printf("Enter movie code :- ");
scanf("%s",b.code);
printf("Enter name :- ");
scanf("%s",b.name);
printf("Enter Release Date:- ");
scanf("%s",b.date);
printf("Enter Ticket Price:- ");
scanf("%d",&b.cost);
fp=fopen("data.txt","a");
if(fp == NULL)
{
char ch[20];
printf("Enter movie code :");
scanf("%s",ch);
fp = fopen("data.txt","r");
if(fp == NULL)
{
printf("file does not found !");
exit(1);
}
else
{
while(getc(fp) != EOF)
{
fscanf(fp,"%s %s %s %d",b.code,b.name,b.date,&b.cost);
if(strcmp(b.code,ch) == 0)
{
//printf("%s / %s / %s / %d\n",b.code,b.name,b.date,b.cost);
printf("\n Record Found\n");
printf("\n\t\tCode ::%s",b.code);
printf("\n\t\tmovie name ::%s",b.name);
printf("\n\t\tmovie date ::%s",b.date);
printf("\n\t\tprice of ticket ::%d",b.cost);
}
}
}
getch();
fclose(fp);
system("cls");
}
void viewAll()
{
char ch,sa[10];
FILE *fp;
fp = fopen("data.txt","r");
if(fp == NULL)
{
printf("file does not found !");
exit(1);
}
else
{
system("cls");
printf("==========\t==========\t=============\t======\n");
printf("Movie_Code\t Movie_Name\tRelease_Date\tPrice\n");
printf("==========\t==========\t=============\t======\n");
if(fp == NULL)
{
printf("file does not found !");
exit(1);
}
else
{
while(getc(fp) != EOF)
{
fscanf(fp,"%s %s %s %d",b.code,b.name,b.date,&b.cost);
if(strcmp(b.code,movie_code) == 0)
{
//printf("%s / %s / %s / %d\n",b.code,b.name,b.date,b.cost);
printf("\n Record Found\n");
printf("\n\t\tCode ::%s",b.code);
fp = fopen("oldTransection.txt","r");
if(fp == NULL)
{
printf("file does not found !");
exit(1);
}
else
{
system("cls");
while( ( ch = fgetc(fp) ) != EOF )
printf("%c",ch);
}
fclose(fp);
}
while(getc(fp) != EOF)
{
fscanf(fp,"%s %s %s %d",b.code,b.name,b.date,&b.cost);
if(strcmp(b.code,code) == 0)
{
//printf("%s / %s / %s / %d\n",b.code,b.name,b.date,b.cost);
printf("\n Record Found\n");
printf("\n\t\tCode ::%s",b.code);
printf("\n\t\tmovie name ::%s",b.name);
printf("\n\t\tmovie date ::%s",b.date);
printf("\n\t\tprice of ticket ::%d",b.cost);
}
else
{
fprintf(ft,"%s %s %s %d\n",b.code,b.name,b.date,b.cost);
}
}
fclose(fp);
void del()
{
struct book b;
FILE *fp,*ft;
int flag=0;
char ch[20];
printf("Enter movie code :");
scanf("%s",ch);
fp = fopen("data.txt","r");
ft = fopen("temp.txt","a");
if(ft==NULL)
{
printf("Can't found file");
}
if(fp == NULL)
{
printf("file does not found !");
exit(1);
}
else
{
while(getc(fp) != EOF)
{
fscanf(fp,"%s %s %s %d",b.code,b.name,b.date,&b.cost);
if(strcmp(b.code,ch) == 0)
{
if(flag==0)
{
flag=1;
//printf("%s / %s / %s / %d\n",b.code,b.name,b.date,b.cost);
printf("\n Record Found\n");
printf("\n\t\tCode ::%s",b.code);
printf("\n\t\tmovie name ::%s",b.name);
printf("\n\t\tmovie date ::%s",b.date);
printf("\n\t\tprice of ticket ::%d",b.cost);
}
}
fclose(fp);
fclose(ft);
if(flag==1)
{
remove("data.txt");
rename("temp.txt","data.txt");
}
if(flag==0)
{
printf("Record not found");
remove("temp.txt");
}
}
getch();
system("cls");
}
Screenshots
In this fig, its asking user to enter the username and password to login, if it’s a valid
username and password it displays login successfully .
In this fig, After successful login it displays menu and ask user to select any menu according
to their wish.the menu’s are like insert,view,find,book movies.
In this fig, it ask to insert movie name code,movie name, movie release date,movie ticket
price .According to the details entered it inserts a new movie.
In this figure, it is show in all the movies which is inserted by the Admin, With movie name
code ,release date and price.
In this figure, we are finding a movie by putting the Movie code. if we enter the movie code
in the find movie module the we can see the appropriate movie details which is inserted
same movie code.
In this figure we are booking a ticket which is in fourth module. which will take all the
details of customer.
In this figure we can see that the admin is putting the movie code to delete that movie. If
movie code is available in file then it will delete that movie, otherwise it will show a message
which tell you that movie is not found.
CHAPTER 7
SYSTEM TESTING
Test Cases
Testing is a process of executing a program with the aim of finding error. To make our
software perform well it should be error free. If testing is done successfully it will remove all
the errors from the software.
1. Types of Testing:-
1. Unit Testing
It focuses on smallest unit of software design. In this we test an individual unit or group of
interrelated units. It is often done by programmer by using sample input and observing its
corresponding outputs.
2. Integration Testing
The objective is to take unit tested components and build a program structure that has been
dictated by design. Integration testing is testing in which a group of components are
combined to produce output.
Integration testing are of two types: (i) Top down (ii) Bottom up Example
Black Box Testing: It is used for validation. In this we ignore internal working
mechanism and focus on what is the output?
White Box Testing: It is used for verification. In this we focus om internal
mechanism i.e. how the output is achieved?
3. Regression Testing
Every time new module is added leads to changes in program. This type of testing makes
sure that whole component works properly even after adding components to the complete
program.
4. Alpha Testing
This is a type of validation testing. It is a type of acceptance testing which is done before the
product is released to customers. It is typically done by QA people.
5. Beta Testing
The beta test is conducted at one or more customer sites by the end-user of the software. This
version is released for the limited number of users for testing in real time environment
6. System Testing
In this software is tested such that it works fine for different operating system. It is covered
under the black box testing technique. In this we just focus on required input.
and output without focusing on internal working. In this we have security testing, recovery
testing, stress testing and performance testing.
7. Stress Testing
In this we gives unfavorable conditions to the system and check how they perform in those
condition.
8. Performance Testing
It is designed to test the run-time performance of software within the context of an integrated
system. It is used to test speed and effectiveness of program.
Maintenance
“Software Maintenance”
IEEE Standard 1219 defines this as
“The modification of a software product after delivery to correct faults, to improve
performance or other attributes, or to adapt the product to a modified environment”
Maintenance has been an important concern for software since several years and is a problem
for the future.
2. Different types of software maintenance
Corrective Maintenance
Removing defects in programs
Adaptive Maintenance
Modifying or changing the application for a new set of features (hardware, OS,
programming language etc…)
CHAPTER 8
RESULTS AND DISCUSSIONS
Conclusions
Applying all the processes and building a project, a conclusion can be applied that comparing
to an existing system which was basically much of manual as instead of automation, this
system provides much of automation and much accuracy as that of an existing system.
Limitations
This project has the following limitations:-
1. In this system the customer will not select seat number. The authorized people in this
Process will be the employee who works at the cinema.
2. In this system the customer can book the tickets only for the present day. Advanced
Booking for the upcoming movies
3. Also, a printing system will not be in this project. In future, a ticket printing system can be
Integrated.
Future Enhancement
Lot of things will be included in the Music Store Management System, some of them are:
1. Database will be included, so that data can be saved permanently too.
2. Since this system works only for an administrative end or say retailer end, it will also be
designed for customer end.
3. More of the details will be provided for stocks available in the store with the instrument’s
specification.
CHAPTER 9
REFERENCES
TEXT REFERENCE
WEB REFERENCE
[6] https://www.geeksforgeeks.org/types-software-testing/
[7] https://www.scribd.com/doc/29884434/movie-ticket-booking-report
[8] https://www.scribd.com/doc/39584009/Synopsis-on-movie-ticket-booking-project
[9] https://www.scialert.net.com/about-parking/history-of-ticketbooking
[10] https://en.wikipedia.org/wiki/MovieTickets.com