You are on page 1of 25

ONLINE MOVIE TICKET BOOKING SYSTEM

PRESENTED BY:-
 SUBHODEEP GHOSH (30201017005)

 SUBHASISH CHAKRABORTY (30201017006)

 SIDDHARTA BOSE (30201017007)

 DEBDULAL MAITY (30201017018)

 AVINANDAN GANGULY (30201017019)

BENGAL INSTITUTE OF TECHNOLOGY(MCA)


2ND YEAR, 4TH SEMESTER
SOFTWARE ENGINEERING & TQM(MCA- 401)
CONTENTS
 PROJECT OVERVIEW
 SOFTWARE & HARDWARE CONFIGURATION
• PROCEDURAL DESIGN
 DATABASE DESIGN
 ARCHITECTURAL DESIGN
 INTERFACE DESIGN
 COST BENEFIT ANALYSIS USING COCOMO & FPA
 TESTING
 FUTURE SCOPE
 CONCLUSION
Project overview
• The purpose of the online movie ticket booking system is to automate
the manual system of buying tickets from physical counters. The
required software and hardware specifications are readily available
and very efficient to work with.
The objectives are –
• Manipulate the data about movies, shows, screenings and the cities
and theatres where they are being released and screened.
• Manage data of users and buyers who bought tickets to facilitate
bookings in the future.
• The online movie booking system has two external entities interacting
with the system – user and administrator.
• The system collects details about the users who are interacting with
the system to make the process of booking a movie ticket faster.
• The administrator can keep track of the screenings of movies taking
place and also the movies themselves. The user can look for tickets
for a movie and purchase them, after logging in.
Software & hardware requirements
Hardware Specification: Hardware Requirements:
• RAM – 4GB • RAM – 1GB
• Hard Disk – 1TB • Hard Disk – 256MB
• Processor – Intel core i5
Software Specification: Software Requirements:
• Operating System – Windows 10 • Operating System - Any
• Code editor – Atom • Browser - Any
• Languages used HTML,CSS(front-
end),php,MySQL(backend)
• Server – Apache, MySQL Server
• Software used – xampp, Atom
Procedural design

CONTEXT DIAGRAM
Procedural design (Contd.)

1-LEVEL DATA FLOW DIAGRAM


database design
TABLE DESCRIPTION

USER TABLE

THEATRE TABLE

SCREENING
TABLE
database design(contd.)
TABLE DESCRIPTION

RESERVED
TABLE

MOVIE TABLE
database design(contd.)
TABLE DESCRIPTION

CITIES
TABLE

AUDITORIUM
TABLE

ADMIN TABLE
database design(contd.)
ENTITY
RELATIONSHIP
DIAGRAM
ARCHITECTURAL design

USE-CASE
DIAGRAM
interface design
Cost benefit analysis
FUNCTION POINT ANALYSIS
According to the formula,
FP = UFP*TCF

From the Data Flow Diagram,


no. of inputs=7
no. of outputs=6
no. of inquiries=2
no. of files=2
no. of interfaces=1

 UFP=7*4 + 6*5 + 2*4 + 2*10 + 1*10


= 96
 TCF= (0.65 + 0.01*42) = 1.07
FP = 96*1.07 = 102.72
Cost benefit analysis(CONTD.)
COCOMO (CONSTRUCTIVE COST ESTIMATION MODEL)
The multiplier values based on the factors are below:-
The EAF value for the project based on these factors is, 1.05.
The project size is 2.4KLOC which is < 50KLOC, hence
project falls under organic type.
So, Effort, E = 3.2 × (2.4)1.05 × 1.05 PM = 8.42 PM.
 Development time, D = 2.5 × (8.42)0.38 Months = 5.6 Months.
 Average staff size = E/D persons = 1.5 persons.
TESTING
TESTING USING TEST-CASES
Test Template –

Module Name: Login Page


Test Date: 05-05-2019

Case-Study:-
Sr. Input Parameters Datatype Expected Actual output Remarks
output
no

1. Username Varchar user name user name Passed

2. Password Varchar password password Passed


VALIDATION USING CONTROL FLOW GRAPH
The code after numbering the executable line:

<?php
1. if(isset($_POST['login-submit'])){
2. require 'config.php';
3. $mailuid = $_POST['mailuid'];
4. $pass = $_POST['pw'];
5. if(empty($mailuid) || empty($pass)){
6. header('location:login.php?error=emptyfields');
exit();
}
7. else{
8. $sql = "SELECT * FROM users WHERE uname=?";
9. $stmt = mysqli_stmt_init($conn);
10. if(!mysqli_stmt_prepare($stmt,$sql)){
11. header('location:login.php?error=sqlerror');
exit();
}
12. else{
13. mysqli_stmt_bind_param($stmt,"s",$mailuid);
14. mysqli_stmt_execute($stmt);
15. $res = mysqli_stmt_get_result($stmt);
16. if($row = mysqli_fetch_assoc($res)){
17. $pwdCompare = password_verify($pass,$row['pwduser']);
18. if($pwdCompare==false){
19. header('location:login.php?error=wrong_password');
exit();
}
20. else if($pwdCompare==true){
21. session_start();
$_SESSION['lastActivity'] = time();
$_SESSION['userid'] = $row['uid'];
$_SESSION['username'] = $row['uname'];
22. if(isset($_POST['uri'])){
23. header('location:'.$_POST['uri']);
}
exit();
}
24. else{
25. header('location:login.php?error=wrong_password');
exit();
}
}
26. else{
27. header('location:login.php?error=nousers');
exit();
}
}
}
}
28. else{
29. header('location:login.php');
30. exit();
}
?>
CONTROL
FLOW
GRAPH
The cyclomatic complexity,
V(G) = E – N + 2 = 35 – 30 + 2 = 7.
V(G) = P + 1 = 6 + 1 = 7.
V(G) = R + 1 = 6 + 1 = 7.
FUTURE SCOPE
CONCLUSION
• This project has been developed successfully and the performance of
the system has been found satisfactory. Use of this interface helps
customer in having immediate information about running movies and
reserve their seat without wasting their precious time. User friendly
Interface also for the admin to add and delete movie information.
Thus, we may conclude that:-
• This project is basically made for providing the customer anytime and
anywhere service for booking cinema tickets and providing information
about the movies and their schedule online.
• Admins can use this project to insert and delete data such as movie
description, movie schedule which will update the related webpage and
will be accessible by the customers.
• This system is basically aimed to provide complete information of the
movie and schedule to the customer, according to which he can book
the tickets.

You might also like