Questions
PHP Question: Write the PHP code to list out all of the dates of the current...

PHP Question:

Write the PHP code to list out all of the dates of the current month and assign them to their given days. As an example, for the month of October 2020, the output should look something like this:

October 2020      

Monday: 5, 12, 19, 26

Tuesday: 6, 13, 20, 27

Wednesday: 7, 14, 21, 28

Thursday: 1, 8, 15, 22, 29

Friday: 2, 9, 16, 23, 30

Saturday: 3, 10, 17, 24, 31

Sunday: 4, 11, 18, 25


IMPORTANT: The code MUST use the current month, whatever the current month is at the time (so if I used this PHP code during July of 2020, it would use all of the dates of July 2020 and assign them to the proper days). Do NOT use tables for this code.

In: Computer Science

Hall Corp. purchases a new machine on October 1, 2018. Year end is December 31. Purchase...

Hall Corp. purchases a new machine on October 1, 2018. Year end is December 31.

Purchase price 100,000

Residual Value 5,000

Useful life 3 years

Estimated working hours during useful life 7,500

Machine usage in 2018 1,500

Machine usage in 2019 3,750

Machine usage in 2020 2,250

1. Calculate depreciation expense using the activity method for 2018

2. Prepare Hall Corp's journal entry to record 2018 depreciation on December 31, 2018

3. Calculate depreciation expense using the activity method for 2019

4. Prepare Hall Corp's journal entry to record 2019 depreciation on December 31, 2019

5. Calculate depreciation expense using the activity method for 2020

6. Prepare Hall's journal entry to record 2020 depreciation on December 31, 2020

In: Accounting

For 2018, Mr. Mason Boardman has combined federal and provincial Tax Payable of $62,350. For this...

For 2018, Mr. Mason Boardman has combined federal and provincial Tax Payable of $62,350. For this year, his employer withheld $61,600.

For 2019, his combined federal and provincial Tax Payable is $29,760. For this year, his employer withheld $13,740.

For 2020, he anticipates having combined federal and provincial Tax Payable of $52,370. He expects that his employer will withhold $47,390.

In January, 2020, you are asked to provide tax advice to Mr. Boardman. He has asked you whether it will be necessary for him to pay instalments in 2020 and, if so, what the minimum amounts that should be paid are, along with the dates on which these amounts are due. Assume that his estimates for 2020 will be accurate.

Required: Provide the information requested by Mr. Boardman. He would like to know what the amount of instalments are under all three options and which is the best option you would recommend.

In: Accounting

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball...

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball stadium in Washington, D.C., for $410 million. The expected completion date is April 1, 2020, just in time for the 2020 baseball season. Costs incurred and estimated costs to complete at year-end for the life of the contract are as follows ($ in millions):

2018 2019 2020
Costs incurred during the year $ 50 $ 150 $ 45
Estimated costs to complete as of December 31 200 50


Required:
1. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming Sanderson recognizes revenue over time according to percentage of completion.
2. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming this project does not qualify for revenue recognition over time.
3. Suppose the estimated costs to complete at the end of 2019 are $200 million instead of $50 million. Compute the amount of revenue and gross profit or loss to be recognized in 2019 using the percentage of completion method.

In: Accounting

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball...

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball stadium in Washington, D.C., for $310 million. The expected completion date is April 1, 2020, just in time for the 2020 baseball season. Costs incurred and estimated costs to complete at year-end for the life of the contract are as follows ($ in millions):

2018 2019 2020
Costs incurred during the year $ 70 $ 60 $ 30
Estimated costs to complete as of December 31 130 30


Required:
1. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming Sanderson recognizes revenue over time according to percentage of completion.
2. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming this project does not qualify for revenue recognition over time.
3. Suppose the estimated costs to complete at the end of 2019 are $120 million instead of $30 million. Compute the amount of revenue and gross profit or loss to be recognized in 2019 using the percentage of completion method.

In: Accounting

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball...

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball stadium in Washington, D.C., for $400 million. The expected completion date is April 1, 2020, just in time for the 2020 baseball season. Costs incurred and estimated costs to complete at year-end for the life of the contract are as follows ($ in millions):

2018 2019 2020
Costs incurred during the year $ 90 $ 60 $ 80
Estimated costs to complete as of December 31 150 50


Required:
1. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming Sanderson recognizes revenue over time according to percentage of completion.
2. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming this project does not qualify for revenue recognition over time.
3. Suppose the estimated costs to complete at the end of 2019 are $150 million instead of $50 million. Compute the amount of revenue and gross profit or loss to be recognized in 2019 using the percentage of completion method.

In: Accounting

Vaughn reported the following pretax financial income (loss) for the years 2020–2022. 2020 $129,600 2021 -162,000...

Vaughn reported the following pretax financial income (loss) for the years 2020–2022.

2020 $129,600
2021 -162,000
2022 194,400

Pretax financial income (loss) and taxable income (loss) were the same for all years involved. The enacted tax rate was 20% for 2020-2022.

repare the journal entries for the years 2020–2022 to record income tax expense, income taxes payable, and the tax effects of the loss carryforward, assuming that based on the weight of available evidence, it is more likely than not that one-fifth of the benefits of the loss carryforward will not be realized. (Credit account titles are automatically indented when amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)

Date
Account Titles and Explanation Debit
2020
2021
(To record refund)
(To record allowance)
2022
(To record income taxes)
(To adjust allowance)

Prepare the income tax section of the 2021 income statement beginning with the line “Income (loss) before income taxes.”. (Enter negative amounts using either a negative sign preceding the number e.g. -45 or parentheses e.g. (45).)

Income Statement Partial

In: Accounting

Selected ledger account balances for Business Solutions follow. For Three Months Ended December 31, 2019 For...

Selected ledger account balances for Business Solutions follow.

For Three Months
Ended December 31, 2019
For Three Months
Ended March 31, 2020
Office equipment $ 8,000 $ 8,000
Accumulated depreciation—Office equipment 400 800
Computer equipment 20,000 20,000
Accumulated depreciation—Computer equipment 1,250 2,500
Total revenue 31,284 44,000
Total assets 83,460 120,268


Required:
1. Assume that Business Solutions does not acquire additional office equipment or computer equipment in 2020. Compute amounts for the year ended December 31, 2020, for Depreciation expense—Office equipment and for Depreciation expense—Computer equipment (assume use of the straight-line method).
2. Given the assumptions in part 1, what is the book value of both the office equipment and the computer equipment as of December 31, 2020?
3. Compute the three-month total asset turnover for Business Solutions as of March 31, 2020.

Required 1: Depreciation Expense for:

Office Equipment-

Computer Equipment-

Required 2: Book value for:

Office equipment-

computer equipment-

Required 3:

Total asset turnover-

In: Accounting

Grape Inc. had the following balance sheet at December 31, 2019: Grape INC. BALANCE SHEET DECEMBER...

Grape Inc. had the following balance sheet at December 31, 2019:

Grape INC. BALANCE SHEET DECEMBER 31, 2019

Cash $ 31,000

Accounts payable $ 61,000

Accounts receivable 56,800

Notes payable (long-term) 76,000

Investments 86,000

Common stock 200,000

Plant assets (net) 138,500

Retained earnings 41,300

Land 66,000

Total assets and Total Liabilities and Stockholders' Equity $378,300 $378,300

During 2020, the following occurred:

1. Grape liquidated its available-for-sale investment portfolio at a gain of $15,000.

2. A tract of land was purchased for $61,000 cash.

3. An additional $15,200 in common stock was issued at par.

4. Dividends totaling $41,000 were declared and paid to stockholders.

5. Net income for 2020 was $46,000, including $8,000 in depreciation expense.

6. Land was purchased through the issuance of $195,000 in additional notes payable.

7. At December 31, 2020, Cash was $68,000, Accounts Receivable was $84,000, and Accounts Payable was $72,000.

Instructions (a) Prepare the balance sheet as it would appear at December 31, 2020 (b) Prepare a statement of cash flows for the year 2020 for Grape

In: Accounting

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball...

On June 15, 2018, Sanderson Construction entered into a long-term construction contract to build a baseball stadium in Washington, D.C., for $430 million. The expected completion date is April 1, 2020, just in time for the 2020 baseball season. Costs incurred and estimated costs to complete at year-end for the life of the contract are as follows ($ in millions):

2018

2019

2020

Costs incurred during the year

$

40

$

170

$

60

Estimated costs to complete as of December 31

210

140


Required:
1. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming Sanderson recognizes revenue over time according to percentage of completion.
2. Compute the revenue and gross profit will Sanderson report in its 2018, 2019, and 2020 income statements related to this contract assuming this project does not qualify for revenue recognition over time.
3. Suppose the estimated costs to complete at the end of 2019 are $210 million instead of $140 million. Compute the amount of revenue and gross profit or loss to be recognized in 2019 using the percentage of completion method.

In: Accounting