Unleash Your Potential - Namagunga Girls Coding Club
Movie ticket booking
1. Smt.Chandaben Mohan Bhai Patel Institute of Computer Applications
CASE STUDY
On
Online Movie Ticket Booking
M.C.A. Dual - I
CA - 102 Programming Principles and Logic Development
Submitted By: Submitted To:
15BCA005 – Bhut Uttam Chandulal Mr. Hardik I. Patel
15BCA015 – Dave Rutul HemantKumar
3. 3
Definition of Topic
Online Movie Ticket Booking System is basically made for
providing the customers an anytime and anywhere service for
booking cinema tickets and providing information about the
movies and their schedule online.
Admin can use Online Movie Ticket Booking System to insert and
delete data such as movie description, movie schedule which will
update the related webpage and will be accessible by the
customers.
Online Movie Ticket Booking System provide another way for the
customers to buy cinema ticket. This system reduces work load on
customers, it is an automatic ticket booking system.
This system is basically aimed to provide complete information of
the movie and schedule to the customer, according to which
he/she can book the tickets.
4. 4
Advantages
Quick to do
No need to travel anywhere (to book the tickets)
Real time process (if you book a seat, it will automatically
update it so no one else can take that seat. If you used an
agent that did not use computers, they would need to call
other agents saying “Seat X has been taken”)
Could be cheaper
Can access more information and find other movie deals
online.
Can purchase tickets in advance, without ever traveling to
the traditional box office, so never experience another
“sold out” show.
5. 5
Disadvantages
Need internet and PC experience
Might need a credit card or some other form of payment
Viruses/Trojans online that steal your information
If the website is down, you won’t be able to book it
online
6. 6
Definitions
Hierarchy Chart:
A hierarchy chart is an arrangement of items (categories, name
etc.) which are represented as being above, below, or same of
level as to one other.
Flow Chart:
A flowchart is a type of diagram that represents an algorithm,
workflow or process, showing the steps as boxes of various
kinds, and their order by connecting them with arrows.
Pseudo Code:
Pseudo code is an informal high level description of the
operating principle of a computer program or other algorithm.
It means the structure conversations of a programming
languages.
7. 7
Terms
Pseudocode is an English-like representation of the logical
steps it takes to solve a problem.
A flowchart is a pictorial representation of the logical
steps it takes to solve a problem.
An input symbol indicates an input operation and is
represented by a parallelogram in flowcharts.
A processing symbol indicates a processing operation and
is represented by a rectangle in flowcharts.
An output symbol indicates an output operation and is
represented by a parallelogram in flowcharts.
Flowlines, or arrows, connect the steps in a flowchart.
A terminal symbol, or start/stop symbol, is used at each
end of a
flowchart. Its shape is a lozenge.
A loop is a repetition of a series of steps.
An infinite loop occurs when repeating logic cannot end.
A decision symbol is shaped like a diamond and used to
represent decisions in flowcharts.
8. 8
A declaration is a statement that provides a data type and
an identifier for a variable.
Camel casing is the format for naming variables in which
the initial letter is lowercase, multiple-word variable
names are run together, and each new word within the
variable name begins with an uppercase letter.
Pascal casing is the format for naming variables in which
the initial letter is uppercase, multiple-word variable
names are run together, and each new word within the
variable name begins with an uppercase letter.
14. 14
Pseudocode
start
Booking()
Booking_Done()
output “Thanks for book ticket”
stop
Booking()
Customer()
Movie()
Payment()
return
Booking_Done()
output “You”, name “booked”, seats “tickets of”, movie “at”,
cinema, city “at”, date. “Your tickets will send on your Email
ID”, email_id “shortly.”
return
Customer()
Declaration
string name
num MoNum
string email_id
output “Enter name”
input name
output “Enter Mobile No.”
input MoNum
output “Enter Email ID”
input email_id
return
15. 15
Movie()
Declaration
string city
string cinema
string movie
num seats
num date
output “Enter City”
input city
output “Enter Date”
input date
output “Enter Cinema”
input cinema
output “Enter Movie Name”
input movie
output “No. of seats”
input seats
return
16. 16
Payment()
Declaration
string credit_card
string debit_card
string method
num ticket_price = 100
num total
total = seats * ticket_price
if seats > 10 then
total = total – (total * 0.1)
endif
output “Your total payment is”, total
output “Choose your payment
method(credit_card/debit_card)”
input method
if method = credit_card then
Credit_card()
else
Debit_card()
endif
output “Your payment has been confirmed”
return
17. 17
Credit_card()
Declaration
string bank_name
num card_num
num validity
num s_code
output “Enter Bank Name”
input bank_name
output “Enter Card Number”
input card_num
output “Validity of card (mm/yy)”
input validity
output “Enter Security Code”
input s_code
return
Debit_card()
Declaration
string bank_name
num card_num
num validity
num cvv_code
output “Enter Bank Name”
input bank_name
output “Enter Card Number”
input card_num
output “Validity of card (mm/yy)”
input validity
output “Enter CVV”
input cvv_code
return
18. 18
Conclusion
Nowadays, traditional reservation ways of cinema ticketing is
dying. Its new age where technology dominates human life. With
the software and technological devices, exceptions are reduced
and even terminated. Also, people prefer easy, quick and safe
way for every part of his life. This project is designed to meet
the requirements of a cinema ticket booking system.
In our project: with this cinema ticketing system; cinema
companies can satisfy comfortable facilities to their customers.
With this platform we developed, we are hoping to reduce time
wasting, avoid misunderstandings, provide easy data flow,
customer pleasure, and less hard work. We believe that we have
accomplished our goals and satisfied with the code we
developed.