You are on page 1of 38

MOVIE TICKET BOOKING

A Dissertation submitted in partial fulfilment of the requirements for


the award of degree of

MASTER OF COMPUTER APPLICATIONS


By

MD SHAHNAWAZ HUSSAIN
1NH18MCA24

Under the Guidance of


Dr. A.P NIRMALA

DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

Ring Road, Near Marathalli,

Bangalore – 560 103

2018-2019
MOVIE TICKET BOOKING

A Dissertation submitted in partial fulfillment of the requirements for


the award of degree of

MASTER OF COMPUTER APPLICATIONS


By

MD SHAHNAWAZ HUSSAIN
1NH18MCA24

Under the Guidance of

Dr. A.P NIRMALA

Associate Professor

DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

Ring Road, Near Marathalli,

Bangalore – 560 103

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

4 MODULE DESCRIPTION 8-9

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

5.1-5.2 Data Flow Diagram 10-11

6.1 Log in Page 20

6.2 Main Menu 21

6.3 Inserting Movie 21

6.4 View all Movie 22

6.5 Find Movie 22

6.6 Booking Tickets 23

6.7 View All Transaction 23


Movie Ticket Booking 1NH18MCA24

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.

Department of MCA, NHCE 2018-2019 1


Movie Ticket Booking 1NH18MCA24
 Prone to corruption by unauthorized users. Securing of manual system is not fully
guaranteed. Inaccuracy can be expected. Data can get easily scratched.\
 Techniques used are more complicated. Proper techniques are not exposed,
so the functioning is intricate.
To overcome these, the proposed system has been suggested. [2]

Objective of the work

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.

Proposed system with methodology

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.

Department of MCA, NHCE 2018-2019 2


Movie Ticket Booking 1NH18MCA24
3. Find Movie
It will find the movie through the movie code and shows all the details about that
movie which is searched.
4. Book Tickets
It will takes all the costumers details and book the movie tickets for that costumer.
5. View all transaction
It shows all the previous transaction which has been done.
6. Edit Item
Edit any item content.
7. Delete Item
Can delete the any movie form the data base.
8. Exit
Exit the program.

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]

Department of MCA, NHCE 2018-2019 3


Movie Ticket Booking 1NH18MCA24

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.

Department of MCA, NHCE 2018-2019 4


Movie Ticket Booking 1NH18MCA24
The industry has adopted a form of promotion that uses hype, the cult of stars, and careful
planned release of films to maximise audience interest and thus revenue (Epstein, 2005)
Sociological and psychological studies on leisure and entertainment can help us to
understand how multimedia could develop in use in entertainment, and fills the gap in the
understanding of why users opt for certain multimedia products and not others. Leisure time
is one of the central spaces for socialisation, consumption, and the formation and expression
the self. Much of this time is spent in entertainment activities, but these activities are
frequently peripheral to the use of the leisure time. Leisure involves some degree of freedom
to choose, with, however social and technical restriction on the choice of activity and on the
form and context. The implications for multimedia are that even if people buy something,
they will not use it if it does not bring them some satisfaction (German, 2005)
In terms of technology use, unconditional leisure could be playing a video game;
Relational leisure may involve going to the pub and playing a video quiz game, watching TV
as a family, or chatting on the telephone; Role determined leisure, that related to family or
work duties, could include watching television, or playing with children with a electronic
game ;Compensatory and recuperative leisure may be resting from work in front of the TV
or in the cinema, shopping for a treat or going out for a meal . Of course many activities will
combine elements for an individual, and different people will give the activities different
meaning, or Involve different freedoms. Indeed, the same activity can have a different
position in the square at different times for the same person, and may change over time
(Marich, 2005).
Cinema is by far the most common and cheapest means of entertainment in cities in
developing country like India. The maximum people can look to cinema is as an exposition
of art. In a country like India, where most people are illiterate and so poor that they can ill
afford any other recreation, Cinema has taken its toll. Poor, hard pressed and illiterate people
find that the cinema is the only means by which they can break the monotony and drudgery
or their routine mundane lives. The village or urban labour class are casual about pictures
because they do not have the time, the means or occasion to dabble with any of the luxuries
they see on the cinema screen. However, it is the urban lower class and small children of all
classes who treat movies as something more than mere entertainers. Thus we see that the
urban population is mostly influenced by the cinema (Shah, 2012)
The cinema being a very important visual aid can play a vital role in educating the masses.
If pictures are based on realities and deal with society evils and the like, the impressionable
Department of MCA, NHCE 2018-2019 5
Movie Ticket Booking 1NH18MCA24
minds will understand life and society better, and the cinema will be playing its role. The
cinema can play a positive educative role in the spheres of photography, art, dancing and
singing and this would be a positive contribution of cinema to the teaching of all these fine
arts.
What is discussed in the previous paragraphs is just what could be achieved by the cinema as
its influence is tremendous. However, at least in India the influence is just the opposite
Cinema is not at all educative in its role instead, it is only influencing impressionable minds
in the negative. That would go to mean that, the quality of our cinema is very low. The
impressionable minds are, as expected, learning what they see in the cinema. They behave as
they see, they dress as they see and act as they see. So, the influence is undoubtedly full and complete
but absolutely negative. This has to be because, the young and the illiterate learn and ape all
of what they see as, and they do not possess the capacity to clean the hay from the chaff.
Cinema can be of great utility and influence if the cinemas made are educative and provide
clean entertainment, clean songs and dances of some standard. However, in India, like all
other things, cinema has also become an industry highly commercialized each picture
produced must be a commercial hit no matter what it may all be about. The producers and
directors get together to produce picture to earn a fortune and not to provide quality
education or entertainment for people (Shah, 2012). [4]
Thus, the influence of cinema has got to be tremendous and it is being so. We are getting the
return of our cinemas in all our crimes and violence and sex. So it is playing its role
of teaching no doubt but what, is just nobody's business. If the cinema has to play the role it
is meant to play, the quality of cinema must improve no matter ever if quantity is not
retained. It is not important to know how much we learn, it is all important to know what all
we learn, as the influence of cinema is great and irreparable.

Department of MCA, NHCE 2018-2019 6


Movie Ticket Booking 1NH18MCA24

CHAPTER 3

SYSTEM CONFIGURATION

Hardware requirement

Main Processor : Pentium IV


Hard Disk : 8 GB
RAM : 512 MB
Keyboard : 104 key
Mouse : PS2
Display card : Intel

Software Requirement

Operating System : Window XP/Linux/ Sunsolaris


Language Used : C programming
Front End : C++ Software
Back End : None

Department of MCA, NHCE 2018-2019 7


Movie Ticket Booking 1NH18MCA24

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.

View all module


It allows Admin to Display all the Movie with its Movie code, price Date and Movie name.
If Admin is inserted a new Movie in the record file, It automatically updated the record file
and will show the last updated record in the display screen.

Find All Module


In this module We can find Any movie through its movie code. it will help in booking the
Movie ticket.

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.

View all transaction Module


This module generates all the previous transaction detail. It will show total number of ticket
booked from this movie ticket booking system. It will show all the customer details, i.e.

Department of MCA, NHCE 2018-2019 8


Movie Ticket Booking 1NH18MCA24
name, mobile number etc.

Delete Movie Module


This module allows the admin to delete any movie. If any movie is going on till long time,
and admin wants to delete that movie, then admin can delete that ,movie any time.

Department of MCA, NHCE 2018-2019 9


Movie Ticket Booking 1NH18MCA24

CHAPTER 5

DATA FLOW DIAGRAM (DFD)

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

Fig.5.1 Movie Ticket Booking (DFD)

Department of MCA, NHCE 2018-2019 10


Movie Ticket Booking 1NH18MCA24
DFD LEVEL 2

Admin

Log in

View All
Insert All Movie Delete Find Book Transactio
Movie Movie Movie Ticket n

Movie Transaction

Fig.5.2 Movie Ticket Booking (DFD Level 2)

Department of MCA, NHCE 2018-2019 11


Movie Ticket Booking 1NH18MCA24

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
{

printf("\n+++++++++++++++++LOGIN FIRST++++++++++++++++ ");


printf(" \n\n ENTER USERNAME:-");
scanf("%s", &uname);
printf(" \n\n ENTER PASSWORD:-");
while(i<10)
{
pword[i]=getch();
c=pword[i];
if(c==13)
break;
else
printf("*");
i++;
}
pword[i]='\0';
//char code=pword;
i=0;
//scanf("%s",&pword);
if(strcmp(uname,"a")==0 && strcmp(pword,"a")==0)

Department of MCA, NHCE 2018-2019 12


Movie Ticket Booking 1NH18MCA24
{
printf(" \n\n\n WELCOME TO MOVIE BOOKING SYSTEM !!!! LOGIN IS
SUCCESSFUL");
printf("\n\n\t\tPress any key to continue...");
getch();//holds the screen
break;
}
else
{
printf("\nSORRY !!!! LOGIN IS UNSUCESSFUL");
a++;

getch();//holds the screen

}
}
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 ;

void insert_details();//for inserting movie details


void viewAll(); // for view all data

Department of MCA, NHCE 2018-2019 13


Movie Ticket Booking 1NH18MCA24
void find(); // for finding data
void book_ticket(); //for booking tickets
void old_record(); //for view old recorrds of users,booked tickets
void del();
void main()
{

int ch;
clrscr();
login();
do{
printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++");
printf("\n");
printf("\t Moive Ticket booking ");
printf("\n");
printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++");

printf("\nEnter >1< To Insert Movie");


printf("\nEnter >2< To View All Movie");
printf("\nEnter >3< To Find Movie ");
printf("\nEnter >4< To Book Tickets");
printf("\nEnter >5< To View All Transactions");
printf("\nEnter >6< to delete a record");
printf("\nEnter >0< To Exit ");

printf("\nEnter your Choice ::");


scanf("%d",&ch);
system("cls");

switch (ch)
{
case 1 :
insert_details();
break;
case 2:
viewAll();
break;

case 3:
find();

Department of MCA, NHCE 2018-2019 14


Movie Ticket Booking 1NH18MCA24
break;

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)
{

Department of MCA, NHCE 2018-2019 15


Movie Ticket Booking 1NH18MCA24
printf("FIle not Found");
}
else
{
fprintf(fp,"%s %s %s %d\n",b.code,b.name,b.date,b.cost);
printf("Recorded Successfully");
}
printf("\n");
fclose(fp);
system("cls");
}
void find() //find details
{
struct book b;
FILE *fp;

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);
}
}

Department of MCA, NHCE 2018-2019 16


Movie Ticket Booking 1NH18MCA24

}
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);

Department of MCA, NHCE 2018-2019 17


Movie Ticket Booking 1NH18MCA24
printf("\n\t\tMovie name ::%s",b.name);
printf("\n\t\tdate name ::%s",b.date);
void old_record()
{
char ch;
FILE *fp;

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);

Department of MCA, NHCE 2018-2019 18


Movie Ticket Booking 1NH18MCA24
fclose(ft);

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);
}
}

Department of MCA, NHCE 2018-2019 19


Movie Ticket Booking 1NH18MCA24
if(flag==0)
{
fprintf(ft,"\t%s %s %s %d \n",b.code,b.name,b.date,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");
}

Department of MCA, NHCE 2018-2019 20


Movie Ticket Booking 1NH18MCA24

Screenshots

Fig.6.1 Login Page

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 .

Fig.6.2 Main Menu

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.

Department of MCA, NHCE 2018-2019 21


Movie Ticket Booking 1NH18MCA24

Fig.6.3 Inserting Movie

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.

Fig.6.4 View All 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.

Department of MCA, NHCE 2018-2019 22


Movie Ticket Booking 1NH18MCA24

Fig.6.5 Find Movie

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.

Fig.6.6 Booking Tickets

In this figure we are booking a ticket which is in fourth module. which will take all the
details of customer.

Department of MCA, NHCE 2018-2019 23


Movie Ticket Booking 1NH18MCA24

Fig.6.7 View All transaction


In this figure ,We can see all the previously transaction. we can see all the customer detail,
total number of seat details, total amount of tickets etc.

Fig.6.8 Delete Movie

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.

Department of MCA, NHCE 2018-2019 24


Movie Ticket Booking 1NH18MCA24

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.

Department of MCA, NHCE 2018-2019 25


Movie Ticket Booking 1NH18MCA24

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…)

Department of MCA, NHCE 2018-2019 26


Movie Ticket Booking 1NH18MCA24
 Perfective Maintenance
Improving the performance by paying stress on quality parameters
 Preventive Maintenance
Detecting faults much ahead of time
 Emergency Maintenance
Sudden changes being accommodated into the system
Eg: intrusion-detection systems, real-time systems etc. [6]

Department of MCA, NHCE 2018-2019 27


Movie Ticket Booking 1NH18MCA24

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.

Department of MCA, NHCE 2018-2019 28


Movie Ticket Booking 1NH18MCA24

CHAPTER 9
REFERENCES

TEXT REFERENCE

[1] Roger S. Pressman : Software Engineering – A Practitioners approach, 7th


Edition, Mc-Graw Hill Education, 2012
[2] Programming in ANSI C: Balaguruswamy++----, 6th Edition.
[3] William Stalling,”operating system-internal and design principle” person 6th
edition 2012
[4] YedidyahLangsam and Moshe J.Augenstein and Aoron M Tenanbanum,
Data Structure Using C and C++, 2nd Edition, Pearson Education
[5] Robert Kruse, C L Tondo, Bruce Leung and ShashiMogalla: Data Structures,
And Program Design in C,2nd Edition,Pearson Education

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

Department of MCA, NHCE 2018-2019 29


Movie Ticket Booking 1NH18MCA24

Department of MCA, NHCE 2018-2019 30

You might also like