Questions
In 2018, Arendelle had GDP of $35.035 billion, which included consumption of $15.678 billion, government spending...

In 2018, Arendelle had GDP of $35.035 billion, which included consumption of $15.678 billion, government spending of $8.678 billion, investment of $9.023 billion and imports of $5.890 billion. What were Arendelle’s exports for 2018? (Just the number, don't write billion)

In: Economics

1. Fill in an example and defend the following statement, "One technological advance existing in 2018,...

1. Fill in an example and defend the following statement, "One technological advance existing in 2018, that humans cannot do without is ________."

2. Fill in an example and defend the following statement, "One technological advance--either existing or in research in 2018--that scares me is ___________, because _______________."

In: Biology

Please write in C. This program will store roster and rating information for a soccer team....

Please write in C.

This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team.

(1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster). (3 pts)

ex

Enter player 1's jersey number:
84
Enter player 1's rating:
7

Enter player 2's jersey number:
23
Enter player 2's rating:
4

Enter player 3's jersey number:
4
Enter player 3's rating:
5

Enter player 4's jersey number:
30
Enter player 4's rating:
2

Enter player 5's jersey number:
66
Enter player 5's rating:
9

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

2) Implement a menu of options for a user to modify the roster. Each option is represented by a single character. The program initially outputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. For this step, the other options do nothing. (2 pt)

ex

MENU
u - Update player rating
a - Output players above a rating
r - Replace player
o - Output roster
q - Quit

Choose an option:

(3) Implement the "Output roster" menu option. (1 pt)

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

(4) Implement the "Update player rating" menu option. Prompt the user for a player's jersey number. Prompt again for a new rating for the player, and then change that player's rating. (1 pt)

Enter a jersey number:
23
Enter a new rating for player:
6

(5) Implement the "Output players above a rating" menu option. Prompt the user for a rating. Print the jersey number and rating for all players with ratings above the entered value. (2 pts)

Ex:

Enter a rating:
5

ABOVE 5
Player 1 -- Jersey number: 84, Rating: 7
...

(6) Implement the "Replace player" menu option. Prompt the user for the jersey number of the player to replace. If the player is in the roster, then prompt again for a new jersey number and rating. Update the replaced player's jersey number and rating. (2 pts)

Ex:

Enter a jersey number:
4
Enter a new jersey number:
12
Enter a rating for the new player:
8

In: Computer Science

In the previous exercise we enhanced our program by creating a function that can be called...

In the previous exercise we enhanced our program by creating a function that can be called and executed when we want to. Anytime we need to calculate the BMI of a someone we can run the program. Now, let's think of the scenario where we need to calculate the BMI for 10 people for example. Then we would have to run the program 10 times. Every time repeating the command

python healthTools.py

Which is an okay way. But we can enhance the usability of our program even more by allowing us to enter how many people the program needs to run for and have it programmed to repeat that many times. This way weather we have 10 or 10000 it will keep going until it completes that many times.

Update healthTools.py to ask for how many users there are and based on this input repeat the interaction to capture (get) the input values for the height and weight for each person and output their BMI of that user.  The program interaction should be identical to exercises 3 and 4 the only difference is that we will repeat the interaction based on user input.

Save your program in a file called healthTools_v2.py. Upload your file to this question.

In some situations we do not know how many times we want to execute the program for. Imagine the scenario where this program will be used at an event that is open to the public to create promote healthy weight. The number of people is not known to start and can vary every time.

Another way to control the number of times a program runs is to ask after each time if we want to repeat the interaction. Update healthTools.py to ask after each it outputs the result of the BMI calculation to ask whether we want to enter another set of values. If the answer is "yes" we repeat if not the program stops. Save your program in a file called healthTools_v3.py. Upload your file to this question.

The next step is to ensure that our program is capable of handling some error that can result from bad user input.

Update your program to handle the situation if a user enters something other than a numeric value for the height and weight inputs. Name your file healthTools_v4.py. Upload your file to this question.

THE FOLLOWING IS MY PREVIOUS CODE FOR THE BMI CALCULATOR. PLEASE BASE YOUR ANSWERS OFF OF THIS BASE CODE.

def BMI (height, weight):
bmi = (weight*703) / (height**2)
return bmi
height = float(input('enter height in inches'))
weight = float(input(' Enter weight in pounds'))
bmi=BMI(height, weight)
if bmi < 18.5:
print('you are underweight')
elif 18.5 <= bmi < 24.9:
print('you are normal')
elif 24.9 <= bmi < 29.9:
print(' you are overweight')
elif bmi > 30.0 :
print('you are obese')

Thank you

In: Computer Science

C code please This program will store roster and rating information for a soccer team. Coaches...

C code please

This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team.

(1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster). (3 pts)

Ex:

Enter player 1's jersey number:
84
Enter player 1's rating:
7

Enter player 2's jersey number:
23
Enter player 2's rating:
4

Enter player 3's jersey number:
4
Enter player 3's rating:
5

Enter player 4's jersey number:
30
Enter player 4's rating:
2

Enter player 5's jersey number:
66
Enter player 5's rating:
9

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

(2) Implement a menu of options for a user to modify the roster. Each option is represented by a single character. The program initially outputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. For this step, the other options do nothing. (2 pt)

Ex:

MENU
u - Update player rating
a - Output players above a rating
r - Replace player
o - Output roster
q - Quit

Choose an option:

(3) Implement the "Output roster" menu option. (1 pt)

Ex:

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

(4) Implement the "Update player rating" menu option. Prompt the user for a player's jersey number. Prompt again for a new rating for the player, and then change that player's rating. (1 pt)

Ex:

Enter a jersey number:
23
Enter a new rating for player:
6

(5) Implement the "Output players above a rating" menu option. Prompt the user for a rating. Print the jersey number and rating for all players with ratings above the entered value. (2 pts)

Ex:

Enter a rating:
5

ABOVE 5
Player 1 -- Jersey number: 84, Rating: 7
...

(6) Implement the "Replace player" menu option. Prompt the user for the jersey number of the player to replace. If the player is in the roster, then prompt again for a new jersey number and rating. Update the replaced player's jersey number and rating. (2 pts)

Ex:

Enter a jersey number:
4
Enter a new jersey number:
12
Enter a rating for the new player:
8

In: Computer Science

Program: Soccer team roster This program will store roster and rating information for a soccer team....

Program: Soccer team roster

This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team.

(1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster). (3 pts)

Ex:

Enter player 1's jersey number:

84

Enter player 1's rating:

7

Enter player 2's jersey number:

23

Enter player 2's rating:

4

Enter player 3's jersey number:

4

Enter player 3's rating:

5

Enter player 4's jersey number:

30

Enter player 4's rating:

2

Enter player 5's jersey number:

66

Enter player 5's rating:

9

ROSTER

Player 1 -- Jersey number: 84, Rating: 7

Player 2 -- Jersey number: 23, Rating: 4

...

(2) Implement a menu of options for a user to modify the roster. Each option is represented by a single character. The program initially outputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. For this step, the other options do nothing. (2 pt)

Ex:

MENU

u - Update player rating

a - Output players above a rating

r - Replace player

o - Output roster

q - Quit

Choose an option:

(3) Implement the "Output roster" menu option. (1 pt)

Ex:

ROSTER

Player 1 -- Jersey number: 84, Rating: 7

Player 2 -- Jersey number: 23, Rating: 4

...

(4) Implement the "Update player rating" menu option. Prompt the user for a player's jersey number. Prompt again for a new rating for the player, and then change that player's rating. (1 pt)

Ex:

Enter a jersey number:

23

Enter a new rating for player:

6

...

(5) Implement the "Output players above a rating" menu option. Prompt the user for a rating. Print the jersey number and rating for all players with ratings above the entered value. (2 pts)

Ex:

Enter a rating:

5

ABOVE 5

Player 1 -- Jersey number: 84, Rating: 7

...

(6) Implement the "Replace player" menu option. Prompt the user for the jersey number of the player to replace. If the player is in the roster, then prompt again for a new jersey number and rating. Update the replaced player's jersey number and rating. (2 pts)

Ex:

Enter a jersey number:

4

Enter a new jersey number:

12

Enter a rating for the new player:

8

SOLVE IN JAVA

In: Computer Science

in python You will be writing a program that can be used to sum up and...

in python You will be writing a program that can be used to sum up and report lab scores. Your program must allow a user to enter points values for the four parts of the problem solving process (0-5 points for each step), the code (0-20 points), and 3 partner ratings (0-10) points each. It should sum the points for each problem-solving step, the code, and the average of the three partner ratings and print out a string reporting the student’s information, points earned, and lab number. Each function referred to below must be implemented and have an appropriate docstring. Please work in order of the steps listed below.

1) Define the function called grade_lab that takes in the lab number and student id as parameters. Have it return a string in the form “Student: XXX earned 50 points on lab Y”. You may start by assuming all students earn 50 points.
2) Call the function with student id 12345 and for lab 3 and print the string it returns to the screen. Evaluate whether or not it is correct, and whether it could be improved (e.g, with spacing and formatting). Call again with different values and re-evaluate.
3) Define a function for grading parts of the problem solving process that takes the problem-solving step number (1-4) as a parameter, and prompts the user with a detailed message to enter the score for the giving problem-solving set (e.g., “Please enter a score 0 - 5 earned for understanding the problem: ”). The prompt must be specific to the step number entered.
4) In the grade_lab function, call the function for grading parts of the problem solving process and replace the 50 point value (referred to in step 1) with the score returned. Then, call the function for steps 2 - 4, and print the total of all scores.
5) Define a function that prompts the user to enter a score grading code. Be sure to know what values are expected.
6) In the grade lab function, call the function for grading code and add its value to the total score reported. Test your code to make sure the total score is being calculated correctly.
7) Define a function that prompts the user to enter 3 partner rating scores (be sure to include expected values) and returns the average of those scores.
8) In the grade lab function, call the function for getting partner ratings and it to the total score reported. Test this partner function with at least the following values: 10, 10, 10; and then 0, 5, 10. Evaluate whether or not the function is working correctly.
9) Update your grade_lab function to store names associated with various student ids. Hard code some example id numbers and student names. Update the string returned to include the student name along with their id number.
10) Execute your code for two different students who received different scores. Evaluate the values printed to screen and update your code as needed.

In: Computer Science

This program will store roster and rating information for a soccer team. Coaches rate players during...

This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team.

(1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int array and the ratings in another int array. Output these arrays (i.e., output the roster). (3 pts)

Ex:

Enter player 1's jersey number:
84
Enter player 1's rating:
7

Enter player 2's jersey number:
23
Enter player 2's rating:
4

Enter player 3's jersey number:
4
Enter player 3's rating:
5

Enter player 4's jersey number:
30
Enter player 4's rating:
2

Enter player 5's jersey number:
66
Enter player 5's rating:
9

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

(2) Implement a menu of options for a user to modify the roster. Each option is represented by a single character. The program initially outputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. For this step, the other options do nothing. (2 pt)

Ex:

MENU
u - Update player rating
a - Output players above a rating
r - Replace player
o - Output roster
q - Quit

Choose an option:

(3) Implement the "Output roster" menu option. (1 pt)

Ex:

ROSTER
Player 1 -- Jersey number: 84, Rating: 7
Player 2 -- Jersey number: 23, Rating: 4
...

(4) Implement the "Update player rating" menu option. Prompt the user for a player's jersey number. Prompt again for a new rating for the player, and then change that player's rating. (1 pt)

Ex:

Enter a jersey number:
23
Enter a new rating for player:
6

(5) Implement the "Output players above a rating" menu option. Prompt the user for a rating. Print the jersey number and rating for all players with ratings above the entered value. (2 pts)

Ex:

Enter a rating:
5

ABOVE 5
Player 1 -- Jersey number: 84, Rating: 7
...

(6) Implement the "Replace player" menu option. Prompt the user for the jersey number of the player to replace. If the player is in the roster, then prompt again for a new jersey number and rating. Update the replaced player's jersey number and rating. (2 pts)

Ex:

Enter a jersey number:
4
Enter a new jersey number:
12
Enter a rating for the new player:
8

C language

In: Computer Science

1. On November 1, 2018, Taylor signed a one-year contract to provide handyman services on an...

1. On November 1, 2018, Taylor signed a one-year contract to provide handyman services on an as-needed basis to King Associates, with the contract to start immediately. King agreed to pay Taylor $5,400 for the one-year period. Taylor is confident that King will pay that amount, but payment is not scheduled to occur until 2019. Taylor should recognize revenue in 2018 in the amount of

Multiple Choice

a. $900

b. $2,700

c. $0

d. $5,400

2.

Mary signed up and paid $1,140 for a 6 month ceramics course on June 1st with Choplet Ceramics. As of August 1st, Choplet’s accounting records would indicate:

Multiple Choice

a. $380 of revenue, $760 of accounts receivable

b. $380 of revenue, $760 of deferred revenue

c. $1,140 of revenue, $1,140 of cash

d. $760 of revenue, $380 of accounts receivable

3.

JRE2 Inc. entered into a contract to install a pipeline for a fixed price of $2,395,000. JRE2 recognizes revenue upon contract completion.

Cost incurred Estimated Cost to Complete
2017 $ 276,000 $ 1,680,000
2018 1,730,000 630,000
2019 580,000 0


In 2018, JRE2 would report gross profit (loss) of:

Multiple Choice

a. $0.

b. $(432,000).

c. $(241,000).

d. $(291,000).

4.

JRE2 Inc. entered into a contract to install a pipeline for a fixed price of $2,305,000. JRE2 recognizes revenue upon contract completion.

Cost incurred Estimated Cost to Complete
2017 $ 264,000 $ 1,620,000
2018 1,670,000 577,000
2019 520,000 0


In 2019, JRE2 would report gross profit (loss) of:

Multiple Choice

a. $(149,000).

b. $108,000.

c. $19,000.

d. $57,000.

5.

Indiana Co. began a construction project in 2018 with a contract price of $161 million to be received when the project is completed in 2020. During 2018, Indiana incurred $40 million of costs and estimates an additional $89 million of costs to complete the project. Indiana recognizes revenue over time and for this project recognizes revenue over time according to the percentage of the project that has been completed.

Indiana:

Multiple Choice

a. Recognized $40.00 million loss on the project in 2018.

b. Recognized no gross profit or loss on the project in 2018.

c. Recognized $72.00 million loss on the project in 2018.

d. Recognized $9.92 million gross profit on the project in 2018.

6.

Indiana Co. began a construction project in 2018 with a contract price of $164 million to be received when the project is completed in 2020. During 2018, Indiana incurred $35 million of costs and estimates an additional $88 million of costs to complete the project. Indiana recognizes revenue over time and for this project recognizes revenue over time according to the percentage of the project that has been completed.

In 2019, Indiana incurred additional costs of $52 million and estimated an additional $37 million in costs to complete the project. Indiana (Do not round your percentage calculated):

Multiple Choice

a. Recognized $40.00 million gross profit on the project in 2019.

b. Recognized $4.00 million gross profit on the project in 2019.

c. Recognized $16.40 million gross profit on the project in 2019.

d. Recognized $38.50 million gross profit on the project in 2019.

7.

Indiana Co. began a construction project in 2018 with a contract price of $163 million to be received when the project is completed in 2020. During 2018, Indiana incurred $36 million of costs and estimates an additional $87 million of costs to complete the project. Indiana recognizes revenue over time and for this project recognizes revenue over time according to the percentage of the project that has been completed.

Suppose that, in 2019, Indiana incurred additional costs of $66 million and estimated an additional $53 million in costs to complete the project. Indiana (Do not round your percentage calculated):

Multiple Choice

a. Recognized $6.44 million gross profit on the project in 2019.

b. Recognized $6.44 million loss on the project in 2019.

c. Recognized $9.44 million gross profit on the project in 2019.

d. Recognized $3.00 million loss on the project in 2019.

In: Accounting

Analysis and Interpretation of Profitability Balance sheets and income statements for Costco Wholesale Corporation follow. Costco...

Analysis and Interpretation of Profitability
Balance sheets and income statements for Costco Wholesale Corporation follow.

Costco Wholesale Corporation
Consolidated Statements of Earnings
For Fiscal Years Ended ($ millions) September 2, 2018
Total revenue $141,576
Operating expenses
Merchandise costs 123,152
Selling, general and administrative 13,876
Preopening expenses 68
Operating Income 4,480
Other income (expense)
Interest expense 159
Interest income and other, net (121)
Income before income taxes 4,442
Provision for income taxes 1,263
Net income including noncontrolling interests 3,179
Net income attributable to noncontrolling interests (45)
Net income attributable to Costco $3,134
Costco Wholesale Corporation
Consolidated Balance Sheets
($ millions, except par value and share data) September 2, 2018 September 3, 2017
Current assets
Cash and cash equivalents $6,055 $4,546
Short-term investments 1,204 1,233
Receivables, net 1,669 1,432
Merchandise inventories 11,040 9,834
Other current assets 321 272
Total current assets 20,289 17,317
Net property and equipment 19,681 18,161
Other assets 860 869
Total assets $40,830 $36,347
Current liabilities
Accounts payable $11,237 $9,608
Accrued salaries and benefits 2,994 2,703
Accrued member rewards 1,057 961
Deferred membership fees 1,624 1,498
Other current liabilities 3,014 2,725
Total current liabilities 19,926 17,495
Long-term debt 6,487 6,573
Other liabilities 1,314 1,200
Total liabilities 27,727 25,268
Equity
Preferred stock, $0.01 par value: 0 0
Common stock, $0.01 par value: 4 4
Additional paid-in-capital 6,107 5,800
Accumulated other comprehensive loss (1,199) (1,014)
Retained earnings 7,887 5,988
Total Costco stockholders’ equity 12,799 10,778
Noncontrolling interests 304 301
Total equity 13,103 11,079
Total liabilities and equity $40,830 $36,347


(a) Compute net operating profit after tax (NOPAT) for 2018. Assume that the combined federal and state statutory tax rate is 22%. (Round your answer to the nearest whole number.)

2018 NOPAT = $3494 ($ millions)

(b) Compute net operating assets (NOA) for 2018 and 2017.

2018 NOA = $12,331 ($ millions)
2017 NOA = $11.873 ($ millions)

(c) Compute Costco’s RNOA, net operating profit margin (NOPM) and net operating asset turnover (NOAT) for 2018. (Do not round until final answer. Round two decimal places. Do not use NOPM x NOAT to calculate RNOA.)

2018 RNOA = 28.87%
2018 NOPM = 2.47%
2018 NOAT = 11.70

(d) Compute net nonoperating obligations (NNO) for 2018 and 2017. Confirm the relation: NOA = NNO + Total equity.

2018 NNO = $-$772 ($ millions)
2017 NNO = $794 ($ millions)

(e) Compute return on equity (ROE) for 2018. (Round your answers to two decimal places. Do not round until your final answer.)

2018 ROE = %

(f) Infer the nonoperating return component of ROE for 2018. Use answers from above to calculate. Round your answer to two decimal places.)

%

(g) Comment on the difference between ROE and RNOA. What does this relation suggest about Costco’s use of equity capital?

a. ROE > RNOA implies that Costco's equity has grown faster than its NOA.

b. ROE > RNOA implies that Costco has taken on too much financial leverage.

c. ROE > RNOA implies that Costco is able to borrow money to fund operating assets that yield a return greater than its cost of debt.

d. ROE > RNOA implies that Costco increased its financial leverage during the period.

Can you please help with questions e, f and g? Thanks!

In: Accounting