by python
Question #1 Consider a 5-point quiz system. A score can be any number between 0 and 5. Using mathematical interval notation, the score is in the interval [0,5][0,5]. The interval notation (4,5](4,5] means that number 4 is not in the interval. Hence the numbers included in this interval are all real values ?x such that 4<?≤54
The score is graded according to the following scale:
| Score | Grade |
|---|---|
| (4, 5] | A |
| (3, 4] | B |
| (2, 3] | C |
| (1, 2] | D |
| [0, 1] | F |
Write a program that reads a quiz score and then prints out the corresponding grade.
Note that your program should
The following are two sample runs of the program:
Sample Run 1:
Please enter score: -1
Invalid score. Try again.
Please enter score: 5.5
Invalid score. Try again.
Please enter score: 3.5
Your grade is B
In: Computer Science
Suppose data were collected on the number of customers that frequented a grocery stores on randomly selected days before and after the governor of the state declared a lock down due to COVID 19. A sample of 6 days before the lockdown were chosen as well as 6 days randomly chosen after the lock down was in place. The number of shoppers each day were as follows:
|
Before lock down |
After lock down |
|
100 |
60 |
|
110 |
50 |
|
115 |
70 |
|
120 |
90 |
|
145 |
40 |
|
130 |
50 |
This is interval/ratio data because they are characteristics of the days.
In: Accounting
One unit of A is composed of two units of B and three units of C. Each B is composed of one unit of F. C is made of one unit of D, one unit of E, and two units of F. Items A, B, C, and D have 10, 60, 60, and 25 units of on-hand inventory, respectively. Items A, B, and C use lot-for-lot (L4L) as their lot-sizing technique, while D, E, and F require multiples of 60, 110, and 90, respectively, to be purchased. B has scheduled receipts of 30 units in Period 1. No other scheduled receipts exist. Lead times are one period for Items A, B, and D, and two periods for Items C, E, and F. Gross requirements for A are 10 units in Period 1, 20 units in Period 2, 60 units in Period 6, and 40 units in Period 8.
Find the planned order releases for all items. (Leave no cells blank - be certain to enter "0" wherever required.)
| Period | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
| Item A OH = 10 LT = 1 SS = 0 Q = L4L |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases | |||||||||||
| Item B OH = 60 LT = 1 SS = 0 Q = L4L |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases | |||||||||||
| Item C OH = 60 LT = 2 SS = 0 Q = L4L |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases | |||||||||||
| Item D OH = 25 LT = 1 SS = 0 Q = 60 |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases | |||||||||||
| Item E OH = 0 LT = 2 SS = 0 Q = 110 |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases | |||||||||||
| Item F OH = 0 LT = 2 SS = 0 Q = 90 |
Gross requirements | ||||||||||
| Scheduled receipts | |||||||||||
| Projected available balance | |||||||||||
| Net requirements | |||||||||||
| Planned order receipts | |||||||||||
| Planned order releases |
In: Operations Management
Chelonia ltd manufacture small robot toys. It plans to introduce two products, speedie and spunkie. It is anticipated that the product mix will be 40%speedie and 60%spunkie. One unit of speedie will be sold for $100,with variable cost equals to $40.for a unit of spunkie , the selling price will be $120 and the variable cost is $70.the fixed cost for producing the two products is $108000.
A.what is the break even point in units for each product?
B.the company plans to include a safety margin of $20000 before tax .assuming a tax rate of 30% what should be the budgeted sales in units?
In: Accounting
KR Corporation's break-even point in sales is Rs. 900,000, and its variable expenses are 75% of sales. If the company lost Rs. 32,000 last year, sales must have amounted to
In: Accounting
1. The firm's tax rate is 40%. 2. The current price of Legacy’s 10% coupon, noncallable bonds with 10 years remaining to maturity is $1,100.00. Legacy does not use short-term interest-bearing debt on a permanent basis. 3. The current price of the firm’s 8%, $100 par value, perpetual preferred stock is $114.00. 4. Legacy’s common stock is currently selling at $45 per share. Its last dividend (D0) was $3.00, and dividends are expected to grow at a constant rate of 6.0% in the foreseeable future. Legacy’s beta is 1.1; the yield on T-bonds is 6.0%; and the market risk premium is estimated to be 5.5%. For the over-own-bond-yield-plus-judgmental-risk-premium approach, the firm uses a 4.0% judgmental risk premium. 5. Legacy’s capital structure is 40% long-term debt, 10% preferred stock, and 50% common equity.
What is the market interest rate on Legacy’s debt, and what is the component cost of this debt for WACC purposes?
In: Finance
2. Earlier in this chapter, we discussed that iron supplements are popular in part because they raise oxygen levels in our bodies, and increased oxygen levels help us feel more energetic. We also said that consuming an iron supplement with a drink high in Vitamin C enhances the effects of the iron supplement. A researcher has a sample of 40 people randomly assigned to two factors: iron supplement and Vitamin C consumption. Specifically, people were randomly assigned either to take an iron supplement or not to take an iron supplement. In addition, people were also randomly assigned either to consume a glass of orange juice (which is high in Vitamin C) or not to consume a glass of orange juice. The researcher uses a pulse oximetry to measure oxygen levels as the dependent variable (to keep the calculations simple, we are using intentionally hypothetical numbers for oxygen levels).The data is presented below. Carry out the analysis of variance using SPSS and determine whether there are any main effects or an interaction. Make a line graph of the results and interpret the pattern of the results.
|
Iron Supplement |
||
|
Took Supplement |
Did not take Supplement |
|
|
Ingested Vitamin C |
9 |
1 |
|
7 |
3 |
|
|
8 |
3 |
|
|
8 |
3 |
|
|
9 |
2 |
|
|
8 |
3 |
|
|
9 |
3 |
|
|
7 |
2 |
|
|
6 |
2 |
|
|
8 |
1 |
|
|
Did Not Ingest Vitamin C |
4 |
3 |
|
5 |
2 |
|
|
5 |
4 |
|
|
6 |
2 |
|
|
6 |
2 |
|
|
7 |
2 |
|
|
6 |
2 |
|
|
5 |
3 |
|
|
5 |
4 |
|
|
4 |
2 |
|
In: Math
Use the following to answer questions: A company wants to study the relationship between an employee's length of employment and their number of workdays absent. The company collected the following information on a random sample of seven employees.
|
Number of Workdays Absent |
2 |
3 |
3 |
5 |
7 |
7 |
8 |
|
Length of Employment (in yrs) |
5 |
6 |
9 |
4 |
2 |
2 |
0 |
1.What is the independent variable (X)?
2.What is the dependent variable (Y)?
3.What is the slope of the linear equation?
4.What is the Y intercept of the linear equation?
5.What is the least squares equation for the data?
6.What is the meaning of a negative slope?
7.What is the standard error of estimate?
In: Statistics and Probability
Using a cost of capital of 11%, calculate the net present value for the project shown in the following table and indicate whether it is acceptable,
| Initial investment
(CF 0CF0) |
negative $−$1149 |
|
| Year
(t) |
Cash inflows
(CF Subscript tCFt) in thousands |
|
|
1 |
$8080 |
|
|
2 |
$130 |
|
|
3 |
$189 |
|
|
4 |
$256 |
|
|
5 |
$312 |
|
|
6 |
$376 |
|
|
7 |
$280 |
|
|
8 |
$102 |
|
|
9 |
$42 |
|
|
10 |
$20 |
|
The net present value (NPV) of the project is $-75,817.60. (Round to the nearest cent.) Is the project acceptable?
In: Finance
A company has a cost structure described in the table below. Using your knowledge of the types of costs involved in a production process, fill in the blanks in the table.
|
Quantity produced |
Total Cost |
Total Fixed Cost |
Total Variable Cost |
Average Total Cost |
Average Fixed Cost |
Average Variable Cost |
Marginal Cost |
|
0 |
200 |
0 |
- |
- |
- |
- |
|
|
1 |
320 |
||||||
|
2 |
160 |
||||||
|
3 |
130 |
||||||
|
4 |
20 |
||||||
|
5 |
240 |
||||||
|
6 |
80 |
||||||
|
7 |
360 |
||||||
|
8 |
60 |
||||||
|
9 |
842 |
||||||
|
10 |
200 |
In: Economics