Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you write it in python code WITH pdf file containing a pseudocode design 2. Assessment Information Assignment Number 67 (of 07) 118% Weighting Assignment

can you write it in python code WITH pdf file containing a pseudocode design
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
2. Assessment Information Assignment Number 67 (of 07) 118% Weighting Assignment Circulated See front page Deadline See front page Submission Mode e-submission Learning outcome assessed 1, 2, 5, 7,8 Purpose of assessment Using lists to manipulate input data through a series of processing to output Information Marking criteria Total marks over seven questions as a percentage Submission necessary in order Yes to satisfy module requirements? Assignments are not marked anonymously Late Submission Penalty Standard UOL Policy COMP101 2020-21 Assignment-07: Page 2 Requirements: The latest production of the science-fiction blockbuster, Bilbo of Hogwarts has transferred to the stage. It is trialling in a small theatre so projection models can be tested for financial viability. Design, implement and execute a program using a 2d-array to transform input to output information in the form of a 'dashboard Provide theatre management with a dashboard where they can input the cost of the production, followed by input of the price of a seat in band-A and the price of a seat in band-B (to calculate income). This way, they can try different values on each run of the program to help them see combinations of costs/prices that will tell them when they break-even i.e. cost = income Problem Specification: STAGE seat number 1 6 11 16 2 7 12 17 3 8 13 18 4 9 14 19 5 10 15 20 Row-1 = seats 1 to 5 Row-2 seats 6 to 10 band-A band-A Row-3 - seats 11 to 15 Row-4 = seats 16 to 20 band-B band-B Seats in price-band-A cost twice as much as seats in price-band-B The show runs once a night, five nights a week COMP101 2020-21 Assignment-07: Page 3 INPUT: All integer, no validation or ranges needed. Although the user can enter whatever numbers they wish, for testing purposes you should consider a more realistic scenario - see below. 1. Input production cost: The overall cost to set up the production. Keep is sensible - maybe aim at maximum of 5000? By the same argument, is a production costs of 100 realistic? 2. Input the cost of one seat in band-A (band-A costs double band-B) 3. Input the cost of one seat in band-B (band-B is half the cost of band-A) Keep seat costs sensible - be realistic - don't have the cost of a production at 5000 and offer seats at 1000 cach! It may be difficult to sell seats costing more than, say, 50? - you decide for testing purposes - but validation is not required. PROCESS: Part-1: Full house a) How many days to break-even based on seat sales Part-2: Part house a) How many days for the production to break even based on seat sales (Use a random function to randomly allocate seats and use this as the basis for projection) COMP101 2020-21 Assignment 07: Page 4 OUTPUT: (Dashboard design at your discretion) Full house Production cost () 3000 Band-A price 20 Band-B price 10 Revenue: Band-A at 20.00 Band-A sales (10 seats) 200 Band-B at 10.00 Band-B sales (10 seats) 100 Total for the night 300 Break-even (rounded up) 3000/300 - 10 days = s 3000 20 10 Part-house Production cost Band-A price Band-B price Revenue: Band-A at 20.00 Band-A sales (6 seats) Band-B at 10.00 Band-B sales (2 seats) Total for the night Break-even (rounded up) 120 20 140 3000 / 140 = 21.42 = 22 days COMP101 2020-21 Assignment-07: Page 5 Notes: Useful enhancements to the output will be considered. Mark scheme: Analysis and Design 25% Implementation 50% Pseudocode 25% Implementations that do not meet the full specification can be considered for a 'reasonable attempt Aim for an easy-to-read break-even analysis based on processing of the 20-list, using relevant structures as developed over the module. COMP101 2020-21 Assignment-07: Page 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions