Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Workshop DetailsA La Carte Entertainment is a place where people can see stage productions ( theatrical ) or musicals. Each type of production has a

Workshop DetailsA La Carte Entertainment is a place where people can see stage productions (theatrical) or musicals. Each type of production has a different ticket cost, and each production can be seen during the day (Matine) or in the evening. The time of day the production is run influences the ticket cost. To gain access to the venue, a cover charge is applied. Discounts are offered based on the number of people in a group. As optional services, A La Carte Entertainment also offers a small-scale snack bar and valet parking. An online mobile application system is needed to track the costs generated by each patron and provide an overall itemized receipt of costs incurred for the time spent at A La Carte Entertainment. Use the pricelist described below later in this document to extract the possible options for each part of the system.The online mobile application system should implement a pre-ordering feature where most of the costs can be predetermined prior to arriving to the complex. To secure the reservation, a deposit of $50 will be required and a QR code is generated to uniquely identify the order.As you go through the computational thinking approach to problem solving this workshop, keep in mind the following:Data Structure definition something that will track all required information (hint: Reverse engineer what you need to display in a detailed receipt)Create a variable that is the data type of the data structure defined above! This will be used to "send" and "update" as it is passed to other sub-processes (functions)Call sub-processes (functions) in a logical sequence as it should occur (these will be the 6 main parts to the workshop!) A LA CARTE ENTERTAINMENT PRICELIST Musical Feature Ticket PricingMatine (12pm-4pm)----- $70.00/ personEvening (6pm-9pm)----- $150.00/ personTheatre Feature Ticket PricingMatine (12pm-4pm)------ $55.00/ personEvening (6pm-9pm)------ $115.00/ personDiscounts*(Applies only to the total ticket cost)2 People (Disc)-------------------------5%3 People (Disc)-----------------------15%4 People (Disc)-----------------------20%5+ People (Disc)----------------------30%Admission Cover ChargePer child (<18)-------------------- $0.75Per Adult (18+)------------------- $4.00Per Senior (65+)------------------ $1.50Valet Parking (Tipping Optional)Matine Standard $10.00Matine VIP $15.00Evening Standard $20.00Evening VIP $30.00Snack StandNon-Alcoholic Beverage ----------- $2.25Alcoholic Beverage ----------------- $7.50Misc. Candy Item ------------------- $1.75 Work BreakdownPart-3(Discounts)A)Using what you know about the available discounts, define the necessary process to calculate the discount (if applicable) for an individual or group (more than one person).oHint: What inputs do you need? How will the calculated values be stored? How will other processes outside of this specific task access/use this calculated value(s)?B)Test your logic using the following scenarios (create your own to thoroughly test all possibilities):1.One senior goes to the A La Carte venue at 8:00 PM to see the musical The Walking Dead. Using your process determine the discount.2.One senior, and two adults go to the A La Carte venue at 3:00 PM to see the theatre production of Daenarys Rides Dragons. Using your process determine the discount.3.Two adults, and five children go to the A La Carte venue at 8:00 PM to see the musical of APS145 Puts Logic to Music! Using your process determine the discount.Part-4(Snack Charges)A)Using what you know about the snack costs, define the necessary process to calculate the costs for snack purchases at the snack stand.oHint: What inputs do you need? How will the calculated values be stored? How will other processes outside of this specific task access/use this calculated value(s)?B)Test your logic using the following scenarios (create your own to thoroughly test all possibilities):1.Purchase of no snacks.2.Purchase of 4 soft-drinks (Coke, Pepsi, Ginger Ale and Fruitopia). Using your process determine the cost.3.Purchase of 2 soft-drinks, 2 beers, and 2 wines. Using your process determine the cost.4.Purchase of 1 wine and 4 chocolate bars [Logic 1] Logic for Parts 5 & 6(Valet Parking and Displaying of Detailed Receipt)[Logic 2] Logic for Parts 1 & 2(Cover Charges and Ticket Charges)[Logic 3] Logic for Parts 3 & 4(Applying Discounts and Snack Charges)Give logic 3 pseudo code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago