all python
Question One [2 * 2.5]
•The sum
•The difference
•The product
•The average
•The distance (absolute value of the difference)
•The maximum (the larger of the two)
•The minimum (the smaller of the two)
Hint: Python defines max and min functions that accept a sequence of values, each separated with a comma.
Example:
Enter a letter grade: B-
The numeric value is 2.7.
Grade = 99
if Grade>= 90:
print("A")
if Grade >=80 :
print("B")
if Grade >=70 :
print("C")
if Grade >=60:
print("D")
else:
print("Failed")
In: Computer Science
You are hoping to get an estimate of the number of birch trees in a local park. You have a satellite image of the park, and plan to use quadrat sampling to estimate the number of birch trees in the park. The park is 1000m by 1000m. Describe how you can set up your quadrat and how you would then use the data you collect to estimate the number of trees in the entire park. (Include a sample calculation).
In: Statistics and Probability
In: Economics
A theater is presenting a program on drinking and driving for students and their parents or other responsible adults. The proceeds will be donated to a local alcohol information center. Admission is
$ 2.00$2.00
for adults and
$ 1.00$1.00
for students. However, this situation has two constraints: The theater can hold no more than
150150
people and for every two adults, there must be at least one student. How many adults and students should attend to raise the maximum amount of money?
In: Math
Problem 2: The average Saturday attendance at a movie theater is 974 people with a standard deviation of 54 people. A random sample of 39 Saturdays is selected
Part A: What is the probability that a sample mean will be either less than 954 people or greater than 970 people?
Part B: There is a 97% chance that a sample mean will be above what attendance level?
Part C: What is the probability that more than 1000 people will attend the theater this Saturday?
In: Statistics and Probability
Since its opening in 1977, Ocean Park was the only theme park in Hong Kong. The park, owned by the Hong Kong government, is a nonprofit organization that aims to provide visitors a unique experience in entertainment, education, and conservation. In the absence of competition, Ocean Park had existed without direction and focus. When Hong Kong officials signed an agreement to bring Disneyland to Hong Kong in 1999, it seemed as if it would be the end of Ocean Park. In this unequal competition, Ocean Park emerged the surprise winner. Quickly sprucing up its act, it has managed to outperform Disneyland and has emerged as the number one amusement park in Hong Kong .
How was Ocean Park able to turn a threat into an opportunity?
Ocean park made the decision not to compete head to head with Disneyland. Will this strategy always work when local companies face multinational giants? Explain.
How can Ocean Park further capitalize on Disneyland’s presence? (hint: check out how other parks surrounding Disney, such as Sea World and Universal Studios, survive and thrive in
Anaheim, California, and Orlando, Florida.)
How can Hong Kong Disneyland turn around its lackluster performance?
In: Operations Management
Many people in the small town of Econville have complained that there is no park for children to use afterschool. There are 20 households in the town, 10 who have children and 10 who do not. The households with children value the park being built at $100 each while the other households value it at $20 each. The town estimates that the cost of building a park is $600. All households earn the same income.
(a) Would describe the park as a public good? Explain.
(b) The first proposal is fund the park with a flat tax. What is the minimal tax per household required to build the park? Who will and who will not support such a tax and will the park be built?
(c) A second proposal is a tax that only applies to the households with children. What tax per household will ensure that the park is built? Who will and who will not support such a tax? Why?
(d) Athirdproposalisataxpaymentthatisproportionaltothebenefiteachhousehold receives from the park. In this proposal, how much will each household be expected to pay? Who will and who will not support such a tax? Why?
(e) Evaluate the three policies listed and state which you will choose and why.
In: Economics
Case:
Rent Relief Caravans4Hire Ltd1 provides short-term rental of caravans to tourists for camping holidays throughout Australia. Caravans4Hire Ltd leases several large properties in Adelaide, Perth and Sydney, which it needs to park its caravans when not in use.
Due to border restrictions, travel restrictions, localised lockdowns and Government advice to stay home, Caravans4Hire Ltd has suffered a significant loss of revenue and cash flow. On 1 May 2020 the National Hotel and Tourism Industry Association which is a non-government, not-for-profit industry association. It supports its members, who are businesses operating in the hospitality and tourism industry awarded Caravans4Hire Ltd a grant of $360 000 in total for rent relief for the three months ended 31 July 2020. The grant was received in cash on 1 May 2020. Caravans4Hire Ltd is under no obligation to repay the money received.
REQUIRED
All questions should be answered from the perspective of Caravans4Hire Ltd. The word lengths are a suggestion only, i.e., they are NOT strict word limits for each part.
a) What is the main accounting policy issue(s) that need to be resolved to account for the grant from the National Hotel and Tourism Industry Association? (20%) (part a) 15 – 50 words)
b) i) Identify one principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle (e.g., AASB XXX, para. zz; or Conceptual Framework, Chapter X, para. x.xx) AND explain why you chose that principle. (20%)
ii) identify another principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle.(10%) (part b) 50 – 100 words).
c) Describe an accounting policy to account for the grant from the National Hotel and Tourism Industry Association. Do not justify your policy. Just describe it. (50%) (part c) 20 - 80 words)
In: Accounting
The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of 80 per hour. The ticket seller averages 30 seconds per customer, which includes placing validation stamps on customers’ parking lot receipts and punching their frequent watcher cards. (Because of these added services, many customers don’t get in until after the feature has started.)
a. What is the average customer time in the system? (Round your answer to 2 decimal places.)
b. What would be the effect on customer time in the system of having a second ticket taker doing nothing but validations and card punching, thereby cutting the average service time to 20 seconds? (Round your answer to 3 decimal places.)
c. What would be the customer time in the
system if a second window was opened with each server doing all
three tasks? (Use closest λ/µ value . Do not round
intermediate calculations. Round your answer to 3 decimal
places.)
In: Operations Management
The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of 100 per hour. The ticket seller averages 30 seconds per customer, which includes placing validation stamps on customers' parking lot receipts and punching their frequent watcher cards. (Because of these added services, many customers don't get in until after the feature has started.)
a. What is the average customer time in the system?
b. What would be the effect on customer time in the system of having a second ticket taker doing nothing but validations and card punching, thereby cutting the average service time to 20 seconds?
c. Would system waiting time be less than you found in(b) if a second window was opened with each server doing all three tasks.
Part C. is the one I need help with the most. Please explain in depth. Thank you!
In: Operations Management