Questions
Write a function that accepts a dictionary and produces a sorted list of tuples The dictionary...

Write a function that accepts a dictionary and produces a sorted list of tuples

The dictionary looks like this:

{‘US’: [{'Chicago, IL': ('2/1/2020 19:43', 2, 0, 0)}, {'San Benito, CA': ('2/3/2020 3:53', 2, 0, 0)}, {'Santa Clara, CA': ('2/3/2020 0:43', 2, 0, 0)}, {'Boston, MA': ('2/1/2020 19:43', 1, 0, 0)}, {'Los Angeles, CA': ('2/1/2020 19:53', 1, 0, 0)}, {'Orange, CA': ('2/1/2020 19:53', 1, 0, 0)}, {'Seattle, WA': ('2/1/2020 19:43', 1, 0, 0)}, {'Tempe, AZ': ('2/1/2020 19:43', 1, 0, 0)}], 'Australia' : [{'New South Wales': ('2/1/2020 18:12', 4, 0, 2)}, {'Victoria': ('2/1/2020 18:12', 4, 0, 0)}, {'Queensland': ('2/4/2020 16:53', 3, 0, 0)}, {'South Australia': ('2/2/2020 22:33', 2, 0, 0)}]

For these counts, I need to use the numbers that are bolded above). The returned sorted list (in descending order) will contain key-value pairs such that each key is a country and the corresponding value is the number of cases observed within that country.

For example: [('Australia', 13),(‘US’: 11)]

In: Computer Science

Your firm has been engaged to examine the financial statements of Headland Corporation for the year...

Your firm has been engaged to examine the financial statements of Headland Corporation for the year 2020. The bookkeeper who maintains the financial records has prepared all the unaudited financial statements for the corporation since its organization on January 2, 2015. The client provides you with the information.

Headland Corporation
Balance Sheet
December 31, 2020

Assets

Liabilities

Current assets

$1,860,000

Current liabilities

$959,000

Other assets

5,147,280

Long-term liabilities

1,472,000

Stockholders’ equity

4,576,280
$7,007,280 $7,007,280
An analysis of current assets discloses the following.
  Cash (restricted in the amount of $297,000 for plant expansion) $566,000
  Investments in land 181,000
  Accounts receivable less allowance of $31,000 476,000
  Inventories (LIFO flow assumption) 637,000
$1,860,000
Other assets include:
  Prepaid expenses $64,000
  Plant and equipment less accumulated depreciation of $1,435,000 4,054,000
  Cash surrender value of life insurance policy 84,000
  Unamortized bond discount 98,280
  Notes receivable (short-term) 162,000
  Goodwill 247,000
  Land 438,000
$5,147,280
Current liabilities include:
  Accounts payable $510,000
  Notes payable (due 2023) 156,000
  Estimated income taxes payable 144,000
  Premium on common stock 149,000
$959,000
Long-term liabilities include:
  Unearned revenue $492,000
  Dividends payable (cash) 200,000
  8% bonds payable (due May 1, 2025) 780,000
$1,472,000
Stockholders’ equity includes:
  Retained earnings $2,746,280
  Common stock, par value $10; authorized 200,000 shares, 183,000 shares issued 1,830,000
$4,576,280


The supplementary information below is also provided.

1. On May 1, 2020, the corporation issued at 87.40, $780,000 of bonds to finance plant expansion. The long-term bond agreement provided for the annual payment of interest every May 1. The existing plant was pledged as security for the loan. Use the straight-line method for discount amortization.
2. The bookkeeper made the following mistakes.
a. In 2018, the ending inventory was overstated by $181,000. The ending inventories for 2019 and 2020 were correctly computed.
b. In 2020, accrued wages in the amount of $224,000 were omitted from the balance sheet, and these expenses were not charged on the income statement.
c. In 2020, a gain of $176,000 (net of tax) on the sale of certain plant assets was credited directly to retained earnings.
3. A major competitor has introduced a line of products that will compete directly with Headland’s primary line, now being produced in a specially designed new plant. Because of manufacturing innovations, the competitor’s line will be of comparable quality but priced 50% below Headland’s line. The competitor announced its new line on January 14, 2021. Headland indicates that the company will meet the lower prices that are high enough to cover variable manufacturing and selling expenses, but permit recovery of only a portion of fixed costs.
4. You learned on January 28, 2021, prior to completion of the audit, of heavy damage because of a recent fire to one of Headland’s two plants; the loss will not be reimbursed by insurance. The newspapers described the event in detail.


Analyze the above information to prepare a corrected balance sheet for Headland in accordance with proper accounting and reporting principles. Prepare a description of any notes that might need to be prepared. The books are closed and adjustments to income are to be made through retained earnings.

In: Accounting

Robert Reid, a 48-year-old African American computer programmer, is 5 feet 9 inches tall and weight...

Robert Reid, a 48-year-old African American computer programmer, is 5 feet 9 inches tall and weight 240 pounds. He sits for long hours at work and is too tired to exercise when he gets home at night. His meals usually includes fatty meats, eggs, and cheese, and he likes dairy desserts such as pudding and ice cream. He has a family history of CHD and HTN. His recent laboratory tests show that his blood pressure is 160/100 mmHg, and LDL and HDL levels are 160 mg/dl and 35 mg/dl, respectively. He smokes a pack of cigarettes each day and usually has two glasses of wine at both lunch and dinner.

What dietary changes would you recommend that could help to improve Nr. Reid’s blood pressure and his LDL cholesterol? Explain the rationale for each dietary change. Prepare a day’s menu for Mr. Reid using the DASH eating plan as an outline for your choices?

In: Nursing

Robert Reid, a 48-year-old African American computer programmer, is 5 feet 9 inches tall and weight...

Robert Reid, a 48-year-old African American computer programmer, is 5 feet 9 inches tall and weight 240 pounds. He sits for long hours at work and is too tired to exercise when he gets home at night. His meals usually includes fatty meats, eggs, and cheese, and he likes dairy desserts such as pudding and ice cream. He has a family history of CHD and HTN. His recent laboratory tests show that his blood pressure is 160/100 mmHg, and LDL and HDL levels are 160 mg/dl and 35 mg/dl, respectively. He smokes a pack of cigarettes each day and usually has two glasses of wine at both lunch and dinner.

Identify Mr. Reid’s major risk factors for CHD and HTN. which can be modified? What complications might occur if he delays treatment for his blood lipids and blood pressure?

In: Nursing

Infectious Disease DDA Jim is a 29 year old computer programmer. He presents today c/o feeling...

Infectious Disease DDA

Jim is a 29 year old computer programmer. He presents today c/o feeling badly for 7-10 days. He states that he has had fever of 100-103 degrees, sore throat and body aches all over. He denies cough, shortness of breath, dysuria or frequency.

Jim says that he is healthy, with no chronic health problems. He has never had surgery. He takes no routine meds. He does not smoke. He has no known allergies. He drinks alcohol 3-4 times per week, 3-4 glasses of red wine. He says that he has done some street drugs, smoking and injecting cocaine. Jim states that he has given up the cocaine, has not used any in 4-6 weeks. He admits to recreational use for only a 3 month period earlier this year, with the last episode being 4-6 weeks ago.

Jim is single. He and his girlfriend of 4 years broke up about 6 months ago and he has had unprotected intercourse 3 times since then with different partners.

On his physical, Jim is a well-developed white male in no acute distress. His vital signs are: 99.6-84-18   120/66 72” 180#

His skin, hair and nails are normal. He has some cervical lymphadenopathy and his spleen is one finger breadth below the left costal margin. The remainder of his physical is normal.

What are his medical diagnoses?

What are his differential diagnoses, with rule outs?

What diagnostics are needed?

What prescriptions does he need?

What education does he need?

In: Anatomy and Physiology

A five-year loan is being repaid with level monthly installments, one at the end of each...

A five-year loan is being repaid with level monthly installments, one at the end of each month beginning on 1/1/2018 and ending on 12/31/2022. A 12% nominal annual interest rate compounded monthly was used to determine the amount of each monthly installment.

In which of the following periods does the outstanding loan balance first fall below one-half of the original amount of the loan?

a) January 2018 through March 2020

b) April 2020 through June 2020

c) July 2020 through September 2020

d) October 2020 through December 2020

e) January 2021 through December 2022

In: Finance

Two particles approach each other with equal and opposite speed v. The mass of one particle...

Two particles approach each other with equal and opposite speed v. The mass of one particle is m, and the mass of the other particle is nm, where n is just a unitless number. Snapshots of the system before, during, and after the elastic collision are shown above. After the collision the first particle moves in the exact opposite direction with speed 2.40v, and the speed of the second particle is unknown. What is the value of n?

In: Physics

During a hockey match, Jordan slips and crashes into the goalie who is initially motionless. Jordan...

During a hockey match, Jordan slips and crashes into the goalie who is initially motionless. Jordan grabs onto the goalie so they slide together after the collision. Jordan has a mass of 86 kg and the goalie has a mass of 95kg. If the two hockey players are sliding at 2.9 m/s after the collision, how fast was Jordan sliding before the collision? Friction and air resistance may be neglected.


In: Physics

Determine the pH during the titration of 56.0 mL of 0.389 M hydrofluoric acid (Ka =...

Determine the pH during the titration of 56.0 mL of 0.389 M hydrofluoric acid (Ka = 7.2×10-4) by 0.389 M NaOH at the following points. (Assume the titration is done at 25 °C.)

(a) Before the addition of any NaOH

(b) After the addition of 14.0 mL of NaOH

(c) At the half-equivalence point (the titration midpoint)

(d) At the equivalence point

(e) After the addition of 84.0 mL of NaOH

In: Chemistry

Determine the pH during the titration of 66.6 mL of 0.468 M hypochlorous acid (Ka =...

Determine the pH during the titration of 66.6 mL of 0.468 M hypochlorous acid (Ka = 3.5×10-8) by 0.468 M NaOH at the following points. (Assume the titration is done at 25 °C.)

(a) Before the addition of any NaOH ?

(b) After the addition of 16.0 mL of NaOH ?

(c) At the half-equivalence point (the titration midpoint) ?

(d) At the equivalence point ?

(e) After the addition of 99.9 mL of NaOH ?

In: Chemistry