Write a java program that prompts user to enter his name and KSU ID using format name-ID as one value, his gender as char, and his GPA out of 5. Then your program should do the following:
Print whether the ID is valid or not, where a valid ID should be
of length = 9, and should start with 4.
Calculate the GPA out of 100 which is calculated as follows GPA/5 *
100.
Update the name after converting the first letter to
uppercase.
Print “Mr.” before name if the gender is ‘M’, and print “Mrs.”
before name if the gender is ‘F’. Otherwise print message “invalid
gender” without name and GPA. Then print the new GPA.
In: Computer Science
John and Mary Jane Diaz are married, filing jointly. Their address is 204 Shoe Lane, Blacksburg, VA 24061. John is age 35, and Mary Jane is age 30. They are expecting their first child in early 2019. John's salary in 2018 was $105,000, from which $20,800 of Federal income tax and $4,700 of state income tax were withheld. Mary Jane made $52,000 and had $3,000 of Federal income tax and $3,100 of state income tax withheld. The appropriate amounts of FICA tax and Medicare tax were withheld for John and for Mary Jane. John’s Social Security number is 111 -11 -1111, and Mary Jane’s Social Security number is 123-45-6789.
John and Mary Jane are both covered by their employer's medical insurance policies with four-fifths of the premiums being paid by the employers. The total premiums were $10,000 for John and $6,200 for Mary Jane. Mary Jane received medical benefits of $7,300 under the plan. John was not ill during 2018. Mary Jane paid non-covered medical expenses of $1,300.
John makes child support payments of $15,000 for his son, Rod, who lives with June, John's former spouse, except for two months in the summer when he visits John and Mary Jane. At the time of the divorce, John worked for a Fortune 500 company and received a salary of $225,000. As a result of corporate downsizing, he lost his job.
Mary Jane’s father lived with them until his death in November. His only sources of income were salary of $2,800, unemployment compensation benefits of $3,500, and Social Security benefits of $4,100. Of this amount, he deposited $6,000 in a savings account. The remainder of his support of $9,500, which included funeral expenses of $4,500, was provided by John and Mary Jane. Other income received by the Diazes was as follows:
Interest on certificates of deposit $3,500
Share of S corporation taxable income (distributions from the S corporation to Mary Jane were $1,100; assume no wage limitation for qualified business income deduction) 1,500
Share of John’s limited partnership taxable loss (his basis is $3,000) (2,500)
Award received by Mary Jane from employer for an outstanding suggestion for cutting costs 4,000
John has always wanted to operate his own business. In October 2018, he incurred expenses of $15,000 in investigating the establishment of a retail computer franchise. With the birth of their child expected next year, however, he decides to forgo self-employment for at least a couple of years.
John and Mary Jane made charitable contributions of $3,700 during the year and paid an additional $1,800 in state income taxes in 2018 upon filing their 2017 state income tax return. Their deductible home mortgage interest was $8,200, and their property taxes came to $4,800. They paid sales taxes of $2,000, for which they have receipts. They paid a ticket of $150 that Mary Jane received for running a red light (detected by a red light camera).
Calculate John and Mary Jane’s tax (or refund) due for 2018. Forms to use – 1040, Schedule A, B and E (page 2), 8582 schedules 1-5 as needed.
With all the forms
Forms to use – 1040, Schedule A, B and E (page 2) and 8582.
In: Accounting
Vittoria Ltd requires a Statement of Cash Flows to be prepared for the year ended
31 March 2018, the following information has been collected for this purpose.
|
Vittoria Ltd Balance Sheets as at 31 March |
||
|
2017 |
2018 |
|
|
Cash |
$176 000 |
$239 000 |
|
Accounts receivable |
220 000 |
280 000 |
|
Allowance for doubtful debts |
(30 000) |
(40 000) |
|
Inventory |
90 000 |
100 000 |
|
Plant and equipment |
900 000 |
1 074 000 |
|
Accumulated depreciation |
(80 000) |
(100 000) |
|
Total assets |
$1 276 000 |
$1 553 000 |
|
Accounts payable |
80 000 |
70 000 |
|
Interest payable |
1 000 |
2 000 |
|
Income tax payable |
76 000 |
88 000 |
|
Long term loans |
109 000 |
148 000 |
|
Share capital |
400 000 |
500 000 |
|
Asset revaluation surplus |
- |
30 000 |
|
Retained earnings |
610 000 |
715 000 |
|
Total equity and liabilities |
$1 276 000 |
$1 553 000 |
|
Vittoria Ltd SCI for the year ended 31 March 2018: |
|
|
Sales |
$885 000 |
|
Less expenses: |
|
|
COGS |
240 000 |
|
Depreciation expense |
90 000 |
|
Interest expense |
6 000 |
|
Doubtful debts expense |
40 000 |
|
Salaries and wages expense |
200 000 |
|
Income tax expense |
84 000 |
|
Other expenses |
120 000 |
|
Profit after tax |
105 000 |
|
OCI: Revaluation gain |
30 000 |
|
TCI |
$135 000 |
Additional information:
Vittoria Ltd classifies interest expense and dividends paid as cash outflows from financing activities.
Plant and equipment, with a fair value of $100 000, has been acquired by the issue of
$100 000 worth of fully paid Vittoria Ltd shares to the sellers of the plant and equipment.
During the year, equipment that originally cost $100 000 was sold for $30 000 cash.
Plant and equipment was revalued upwards by $30 000.
A long-term loan of $30 000 was specifically organised for the purchase of plant and equipment costing $30 000.
Required:
(iii) Prepare a statement of cash flows for Vittoria Ltd, for the year ended 31 March 2018, in accordance with NZ IAS 7 Statement of Cash Flows. Vittoria Ltd uses the directmethod for the cash flows from operating activities (CFOA) section. Complete the necessary reconciliation, as required by NZ FRS-44, to be included in the notes.
|
(iii) Vittoria Ltd Statement of Cash Flows for the year ended 31 March 2018 |
|
|
Cash flows from operating activities: |
$ |
|
Cash generated from operations |
|
|
|
|
|
Net cash (used in)/from operating activities |
|
|
Cash flows from investing activities |
|
|
Net cash (used in)/from investing activities |
|
|
Cash flows from financing activities |
|
|
|
|
|
Net cash (used in)/from financing activities |
|
|
Net increase/(decrease) in cash and cash equivalents |
|
|
Cash and cash equivalents at beginning of period |
|
|
Cash and cash equivalents at end of period |
|
|
Reconciliation of net cash from operating activities to profit: |
|
|
Transactions of a non-cash basis: |
|
|
Deferrals or accruals of past or future operating cash receipts or payments: |
|
|
Items of income/expense included in profit and classified as CFIA/CFFA: |
|
CFOA = cash flows from operating activities, CFIA = cash flows from investing activities and CFFA = cash flows from financing activities.
In: Accounting
QUESTION TWO
The following are financial statements of Buchi Ltd for the year
ended 31 December 2019
Statement of comprehensive income for the year ended 31 December
2019
K
K
Revenue
900 000
Cost of sales
475 000
Gross profit
425 000
Operating expenses
220 000
Interest
13 000
Loss on sale of equipment
2 000
(235 000)
Net profit before tax
190 000
Tax
65 000
Net profit after tax
125 000
Statement of financial position as at 31 December 2019
2019
2018
Non-current assets
K
K
K
K
Land
55 000
80 000
Buildings
180 000
190 000
Equipment
155 000
48 000
Current assets
Stock
50 000
0
Prepaid expenses
3 000
5 000
Debtors
67 000
25 000
Cash
55 000
30 000
175 000
68 000
565 000
386 000
Equity and liabilities
Ordinary share capital
230 000
70 000
Retained income
196 000
126 000
426 000
196 000
Non-current liabilities
Debentures
106 000
150 000
Current liabilities
Creditors
33 000
40 000
565 000
386 000
6
You are given the following additional information:
1. Depreciation amounting to K33 000 and amortisation of prepaid
expenses of K2 000 are included in operating expenses.
2. Equipment that cost K41 000, with a book value of K36 000 was
sold for K34 000.
3. Dividends of K55 000 were declared and paid during the
year.
Required
(a) Describe the importance of the cash flow statement.
(b) Prepare the statement of cash flows for Buchi Ltd for the year
ended 31 December 2019 using the indirect method.
In: Accounting
Permata Berhad’s Statement of Comprehensive Income and Statement of Financial Position are given below.
|
Statement of Comprehensive Income for the year ended 31 December 2019 |
|
|
$’000 |
|
|
Revenue (Sales) |
1,440 |
|
Cost of goods sold |
(140) |
|
Staff cost |
(180) |
|
Depreciation |
(200) |
|
Loss on sale of plant |
(30) |
|
890 |
|
|
Interest expense |
(40) |
|
Gain on sale of investment |
25 |
|
Income from investment |
50 |
|
Profit before taxation |
925 |
|
Taxation |
(210) |
|
Profit after taxation |
715 |
|
Other Comprehensive Income |
|
|
Surplus on revaluation of land |
100 |
|
Total comprehensive income |
815 |
|
Statement of Financial Position as at 31 December 2019 |
|||
|
2019 |
2018 |
||
|
$’000 |
$’000 |
||
|
Equity |
|||
|
Ordinary shares |
1,320 |
1,100 |
|
|
Revaluation reserve |
210 |
110 |
|
|
Retained earnings |
913 |
320 |
|
|
Non-Current Liabilities |
|||
|
8% Debentures |
400 |
450 |
|
|
6% Redeemable preference shares |
500 |
550 |
|
|
Current Liabilities |
|||
|
Bank overdraft |
80 |
120 |
|
|
Trade payables |
55 |
42 |
|
|
Tax payable |
10 |
25 |
|
|
Total Equity and Liabilities |
3,488 |
2,717 |
|
|
Non-Current Assets Land and building (revalued) |
1,750 |
1,650 |
|
|
Accumulated depreciation – building |
(120) |
(110) |
|
|
Plant and machinery – carrying value |
1,170 |
790 |
|
|
Development expenditure |
478 |
||
|
Investment |
110 |
280 |
|
|
Current Assets |
|||
|
Inventories |
40 |
56 |
|
|
Trade receivables |
33 |
20 |
|
|
Cash in hand |
27 |
31 |
|
|
Total Assets |
3,488 |
2,717 |
|
Additional information:
Required:
Prepare the Statement of Cash Flows for Permata Berhad for the year ended 31 December 2019 using the Direct Method.
In: Accounting
Permata Berhad’s Statement of Comprehensive Income and Statement of Financial Position are given below.
|
Statement of Comprehensive Income for the year ended 31 December 2019 |
|
|
$’000 |
|
|
Revenue (Sales) |
1,440 |
|
Cost of goods sold |
(140) |
|
Staff cost |
(180) |
|
Depreciation |
(200) |
|
Loss on sale of plant |
(30) |
|
890 |
|
|
Interest expense |
(40) |
|
Gain on sale of investment |
25 |
|
Income from investment |
50 |
|
Profit before taxation |
925 |
|
Taxation |
(210) |
|
Profit after taxation |
715 |
|
Other Comprehensive Income |
|
|
Surplus on revaluation of land |
100 |
|
Total comprehensive income |
815 |
|
Statement of Financial Position as at 31 December 2019 |
|||
|
2019 |
2018 |
||
|
$’000 |
$’000 |
||
|
Equity |
|||
|
Ordinary shares |
1,320 |
1,100 |
|
|
Revaluation reserve |
210 |
110 |
|
|
Retained earnings |
913 |
320 |
|
|
Non-Current Liabilities |
|||
|
8% Debentures |
400 |
450 |
|
|
6% Redeemable preference shares |
500 |
550 |
|
|
Current Liabilities |
|||
|
Bank overdraft |
80 |
120 |
|
|
Trade payables |
55 |
42 |
|
|
Tax payable |
10 |
25 |
|
|
Total Equity and Liabilities |
3,488 |
2,717 |
|
|
Non-Current Assets Land and building (revalued) |
1,750 |
1,650 |
|
|
Accumulated depreciation – building |
(120) |
(110) |
|
|
Plant and machinery – carrying value |
1,170 |
790 |
|
|
Development expenditure |
478 |
||
|
Investment |
110 |
280 |
|
|
Current Assets |
|||
|
Inventories |
40 |
56 |
|
|
Trade receivables |
33 |
20 |
|
|
Cash in hand |
27 |
31 |
|
|
Total Assets |
3,488 |
2,717 |
|
Additional information:
Required:
Prepare the Statement of Cash Flows for Permata Berhad for the year ended 31 December 2019 using the Direct Method.
In: Accounting
Translate the following various trial balance accounts into financial statements. Eg – Sort assets, current and non-current; Liabilities, current and non-current etc.
Also include notes of entries that need to be combined, e.g (Accumulated depreciation:
“note x
Accumulated amortisation - Software
Accumulated depreciation – Buildings
Accumulated depreciation – Computers
Accumulated depreciation – Furniture &
Accumulated depreciation – Motor vehicles
Accumulated depreciation – Plant & equipment
= “
All following the AASB.
Company is a large childcare service.
Accounts payable
Accounts receivable
amortisation - Leasehold
Accumulated amortisation - Software
Accumulated depreciation – Buildings
Accumulated depreciation – Computers
Accumulated depreciation – Furniture &
Accumulated depreciation – Motor vehicles
Accumulated depreciation – Plant & equipment
Acquisition costs
Administrative expenses
Advertising
Allowance for doubtful debts
Annual leave provision
Bad debts expense
Bank Loan (MyBank)
Brand (Carer Fix)
Buildings at cost
Cash at bank
Catering expenses
Childcare enrolment advances
Childcare services
Computers at cost
Consumables (Office supplies on hand)
Cost of sales
Current tax liability
Deferred tax asset/liability
Deposits paid
Depreciation expense
Discounts given
Educational resources (consumables eg. art & craft)
Employee related payables
Fundraising activities expense
Fundraising activities income
Furniture and fittings (at cost)
General reserve
Goodwill
GST receivable
Income tax expense
Interest expense
Interest income
Interest receivable
Inventory
Land
Lease liability
Leasehold improvements at cast
Long service leave provision
Loss on revaluation
Motor vehicles (at cost)
Office supplies expense
Petty cash
Plant & equipment (at cost
Playroom supplies (expense)
Prepayments
Rental expenses
Repairs & maintenance
Retail sales
Retained earnings
Revaluation surplus
Share capital
Software - at cost
Subscriptions
Term deposit (matures 23 April 2018)
Utility expenses (electricity, rates & water)
Wages and salaries
In: Accounting
If muscle myosin is non-processive, then how is it that we can contract our muscles and hold them that way for a sustained period of time? That is, how can our muscles resist a counter force (for example a heavy object) and contract continuously when we lift it despite the fact that the motor protein, myosin II, is non-processive?
In: Biology
Choose which statistic to use and conduct your analysis:
Assess the differences between Southerners and Non-Southerners on Church Attendance per Month. Below are number of days per month attended by South and non-South residents.
|
South |
NonSouth |
|
16 |
8 |
|
13 |
5 |
|
12 |
4 |
|
15 |
8 |
|
11 |
1 |
In: Statistics and Probability
A survey of non–profit organizations showed that fundraising has increased past year. Based on a sample of 30 non–profit organizations the mean one–time gift donation in the past year was $75 with standard deviation of $9. At the 0.01 level of significance, is there evidence that the mean one–time gift donation is greater than $70.
In: Statistics and Probability