Questions
c++ programming 1.1 Class definition Define a class bankAccount to implement the basic properties of a...

c++ programming

1.1 Class definition
Define a class bankAccount to implement the basic properties of a bank account. An object of this class should store the following data:
 Account holder’s name (string)
 Account number (int)
 Account type (string, check/savings/business)
 Balance (double)
 Interest rate (double) – store interest rate as a decimal number.
 Add appropriate member functions to manipulate an object. Use a static member in the
class to automatically assign account numbers.
1.2 Implement all appropriate member functions of a class.
1.3 Write a program that illustrate how to use your class. Your program should have the following:
 Declare an array of 20 components of type bankAccount to process up to 20 customers.
 void menu() – helps the user to select if the customer is new or if they already exist. Furthermore, it prints the customer’s data or exits the program.
 Use a switch statement which uses the value from menu() as an expression to call the following user-defined functions:
o void addCustomber() – this function enters/adds the customer details. You may
call one mutator function (setter) of a class in this function.
o void processCustomer() – this function calls the search() function. It also calls
and uses subMenu() function as an update and priming read. Furthermore, it uses the switch statement to call the other three class member functions to process the deposit, withdrawal, and print.
o void printCustomersData() – print all information of the customers.
 void submenu() – help the user to select between making a deposit, withdrawal, checking balance or exiting the submenu.
 int search() – search the customer’s details by using the customer’s account number. You may call one accessor function (getter) of a class in this function.
 main() function – this has the switch statement to call addCustomber(), processCustomer() and printCustomersData().
Hint: The listed user-defined functions are not the same as the class member functions. However, the user-defined functions can call the class member functions. The array that stored 20 components should be used as a parameter to access and process the customers’ details. Your program must have data validation to check whether or not there are 20 customers. You may use suitable string functions.

In: Computer Science

A community hospital is planning to expand its services to three new service lines in the...

A community hospital is planning to expand its services to three new service lines in the medical diagnostic categories (MDC-2, MDC-19, and MDC-21). Five common resources must be allocated among these three new service lines according to which will bring the most revenue. The resources are LOS, nursing hours, radiology procedures, laboratory procedures, and operating rooms. The health care manager in charge of this expansion project obtained the average consumption patterns of these resources for each MDC from other peer institutions, and estimated the resources that can be made available (per year) for the new service lines as listed below. Based on the available information the average revenues from MDC - 2, MDC - 19, and MDC - 21 are $8,885, $ 10,143, and $12,711, respectively.

MDC-2

MDC-19

MDC-21

Available Resources

3.3

6.1

4.4

19,710

3

5

4.5

16,200

0.5

1

3,000

1

1.5

3

6,000

2

4

1,040

  1. What are the decision variables?
  2. What are constrains on manager's decision?
  3. What is the Objective Function?
  4. Using Excel Solver to solve the problem and answer the following questions:

  1. Which service(s) should be offered to get the most revenue?

  1. What are the optimal volumes for the service(s) to be offered?

  1. What is the total expected revenue from the new services?
  1. Looking at the Sensitivity report for Solver results, answer the following questions:

1.) Which resources should be expanded and,

2.) How much additional revenue can be expected if resources are selected for expansion without violating the current solution?

In: Statistics and Probability

I need this question answered assuming that Westgate Construction's contract with Santa Clara County does NOT...

I need this question answered assuming that Westgate Construction's contract with Santa Clara County does NOT qualify for revenue recongnition over time... In 2016, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2018. Information related to the contract is as follows:

2016 2017 2018
Cost incurred during the year $ 2,400,000 $ 3,600,000 $ 2,200,000
Estimated costs to complete as of year-end 5,600,000 2,000,000 0
Billings during the year 2,000,000 4,000,000 4,000,000
Cash collections during the year 1,800,000 3,600,000 4,600,000
****IMPORTANT - Complete the requirements assuming that Westgate Construction's contract with Santa Clara County does NOT qualify for revenue recongnition over time.****
1. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years.
2-a. In the journal below, complete the necessary journal entries for the year 2016 (credit "Various accounts" for construction costs incurred).
2-b. In the journal below, complete the necessary journal entries for the year 2017 (credit "Various accounts" for construction costs incurred).
2-c. In the journal below, complete the necessary journal entries for the year 2018 (credit "Various accounts" for construction costs incurred).
3. Complete the information required below to prepare a partial balance sheet for 2016 and 2017 showing any items related to the contract.
4. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information.

In: Accounting

Tacoma Hospital has three support departments and four patient services departments. The direct costs to each...

Tacoma Hospital has three support departments and four patient services departments. The direct costs to each of the support departments are as follows:

Tacoma Hospital has three support departments and four patient services departments. The direct costs to each of the support departments are as follows:

Direct Costs

Cost Driver

General Administration

$2,000,000

Salary Dollars

Facilities

$5,000,000

Housekeeping Labor Hours

Financial Services

$3,000,000

Patient Services Revenue

Total

$10,000,000

The patient services revenue, salary dollars, and housekeeping labor hours for each department are as follows:

Revenue

Salary Dollars

Housekeeping Labor Hours

General Administration

$1,500,000

2,000

Facilities

$3,000,000

5,000

Financial Services

$2,000,000

3,000

Routine Care

$30,000,000

$12,000,000

150,000

Intensive Care

$4,000,000

$5,000,000

30,000

Diagnostic Services

$6,000,000

$6,000,000

15,000

Other Services

$10,000,000

$7,000,000

25,000

Assume that the hospital uses the step-down method for cost allocation (see pages 230 0 232), with salary dollars as the cost driver for general administration, housekeeping labor hours as the cost driver for facilities, and patient services revenue as the cost driver for financial services. Assume also that the general administration department provides the most services to other support departments, followed closely by the facilities department. The financial services department provides the least services to the other support departments.

a. Use an allocation table to allocate the hospital’s overhead costs to the patient services departments.

b. Is the direct method or the step-down method better for cost allocation within Tacoma Hospital’s? Please explain.

In: Accounting

Forecast Sales Volume and Sales Budget For 20Y8, Raphael Frame Company prepared the sales budget that...

Forecast Sales Volume and Sales Budget

For 20Y8, Raphael Frame Company prepared the sales budget that follows.

At the end of December 20Y8, the following unit sales data were reported for the year:

Unit Sales
8" × 10" Frame 12" × 16" Frame
East 27,501 10,504
Central 6,464 3,822
West 5,723 3,193
Raphael Frame Company
Sales Budget
For the Year Ending December 31, 20Y8
Product and Area Unit Sales
Volume
Unit Selling
Price
Total Sales
8" × 10" Frame:
East 26,700 $27 $720,900
Central 6,400 27 172,800
West 5,900 27 159,300
Total 39,000 $1,053,000
12" × 16" Frame:
East 10,100 $28 $282,800
Central 3,900 28 109,200
West 3,100 28 86,800
Total 17,100 $478,800
Total revenue from sales $1,531,800

For the year ending December 31, 20Y9, unit sales are expected to follow the patterns established during the year ending December 31, 20Y8. The unit selling price for the 8" × 10" frame is expected to increase to $28 and the unit selling price for the 12" × 16" frame is expected to increase to $30, effective January 1, 20Y9.

Required:

1. Compute the increase or decrease of actual unit sales for the year ended December 31, 20Y8, over budget. Use the minus sign to indicate a decrease in amount and percent. Round percents to the nearest whole percent.

Unit Sales,
Year Ended 20Y8
Increase (Decrease)
Actual Over Budget
Budget Actual Sales Amount Percent
8" × 10" Frame:
East %
Central %
West %
12" × 16" Frame:
East %
Central %
West %

2. Assuming that the increase or decrease in actual sales to budget indicated in part (1) is to continue in 20Y9, compute the unit sales volume to be used for preparing the sales budget for the year ending December 31, 20Y9. Use the minus sign to indicate a decrease in percent. Round budgeted units to the nearest whole unit.

20Y8
Actual
Units
Percentage
Increase
(Decrease)
20Y9
Budgeted
Units (rounded)
8" × 10" Frame:
East %
Central %
West %
12" × 16" Frame:
East %
Central %
West %

3.  Prepare a sales budget for the year ending December 31, 20Y9.

Raphael Frame Company
Sales Budget
For the Year Ending December 31, 20Y9
Product and Area Unit Sales Volume Unit Selling Price Total Sales
8" × 10" Frame:
East $ $
Central
West
Total $
12" × 16" Frame:
East $ $
Central
West
Total $
Total revenue from sales $

In: Accounting

TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false. 1)...

TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false.
1) Accounting is an information system that identifies, measures, records and 1) communicates relevant information that objectively and correctly represents an organization's economic activities.
2) The main objective of accounting is to help people to invest in new products and 2) businesses.
3) A sole proprietorship is a business owned by one or more persons. 3)
4) Unlimited liability is an advantage for both a proprietorship and a partnership. 4)
5) A corporation is responsible for its actions and any debts incurred. It can enter into its 5) own contracts, and it can buy, own, and sell property.
6) The purpose of an audit is to add credibility to the financial statements. 6)
7) Ethical practices are not necessary to build trust and long-term relationships with 7) customers.
8) The primary purpose of Generally Accepted Accounting Principles is to ensure the 8) usefulness of financial information.
9) According to the historical cost principle, it is acceptable for managers to use their own 9) estimate of an asset's value when recording the purchase.
10) The assumption that a business will continue to operate until it can sell its assets to pay 10) its creditors underlies the going concern principle.
11) Expenses are costs incurred or the using up of assets from generating revenue. 11)
12) The balance sheet is also called the statement of financial position because it shows the 12) financial position of the business on a particular date.
13) An account is a detailed record of increases and decreases in a specific asset, liability or 13) equity item.
1

14) A prepaid expense occurs when a company pays in advance for a service or goods for 14) which the benefit extends beyond the current accounting period.
15) Unearned revenues are assets, because a service or product is owed to the customer. 15)
16) The left side of a T-account is always the credit side, while the right side is always the 16) debit side.
17) Posting is the process of copying the debit and credit amounts from a journal to the 17) general ledger accounts.
18) The total dollar value of all debits and credits recorded in a journal entry must be equal. 18)
19) Adjusting entries are used to record the effects of internal economic events. 19)
20) The timeliness principle assumes that an organization's activities can be divided into 20) specific periods.
21) The revenue recognition principle is the basis for making adjusting entries that pertain 21) to unearned and accrued revenues.
22) Gallery Corp. owes its employees $7,000 for the week ended March 31. The company 22) will pay the employees on April 5. The adjusting journal entry prepared on March 31
will include a debit to Salaries Expense and a credit to Cash.
23) A work sheet is prepared before entering the adjustments in the accounts. 23)
24) The book value of an asset is equivalent to the market value of that asset. 24)
25) Closing entries are normally entered in the General Journal and then recorded on the 25) work sheet.
26) The withdrawals account is normally closed by debiting it. 26)
27) Closing entries are designed to transfer the end-of-period balances in the revenue 27) accounts, the expense accounts, and the withdrawals account to a balance sheet equity account.
28) The Income Summary account is used to close all other temporary accounts at the end 28) of an accounting period.
2

29) The first step in the accounting cycle is to analyze and record transactions during the 29) accounting period.
30) A post-closing trial balance is a list of permanent accounts and their balances from the 30) ledger after all closing entries are journalized and posted.

In: Accounting

The accountant for Smistad Guitar Repair Company made a number of errors in journalizing and posting,...

The accountant for Smistad Guitar Repair Company made a number of errors in journalizing and posting, as described below:
1. A credit posting of $400 to Accounts Payable was omitted.
2. A debit posting of $705 for Rent Expense was debited to Prepaid Rent.
3. A collection on account of $140 was journalized and posted as a $140 debit to Cash and a $140 credit to Service Revenue.
4. A credit posting of $445 to Accounts Payable was made twice.
5. A cash purchase of supplies for $270 was journalized and posted as a $27 debit to Supplies and a $27 credit to cash.
6. A debit of $497 to Advertising Expense was posted as $479.
7. A journal entry for the payment of $1,240 of salaries expense was posted twice.
Will the trial balance be in balance?
Error In Balance
1.

YesNo

2.

YesNo

3.

YesNo

4.

YesNo

5.

YesNo

6.

YesNo

7.

YesNo

What is the amount of the error if the trial balance will not balance?
Error Difference
1. $
2. $
3. $
4. $
5. $
6. $
7. $
Which trial balance column will have the larger total?
Error Larger column
1.

DebitCreditNone

2.

DebitCreditNone

3.

NoneCreditDebit

4.

DebitCreditNone

5.

CreditNoneDebit

6.

NoneCreditDebit

7.

CreditNoneDebit

Which account or accounts have an incorrect balance?
Error Incorrect Accounts
1.
2.
3.
4.
5.
6.
7.

In: Accounting

Vertical Analysis of Income Statement The following comparative income statement (in thousands of dollars) for the...

Vertical Analysis of Income Statement The following comparative income statement (in thousands of dollars) for the two recent fiscal years was adapted from the annual report of Calvin Motorsports, Inc., owner and operator of several major motor speedways, such as the Atlanta, Texas, and Las Vegas Motor Speedways. Current Year Previous Year Revenues: Admissions $94,400 $107,580 Event-related revenue 138,768 147,189 NASCAR broadcasting revenue 169,448 160,881 Other operating revenue 69,384 73,350 Total revenue $472,000 $489,000 Expenses and other: Direct expense of events $93,928 $94,377 NASCAR purse and sanction fees 118,000 126,162 Other direct expenses 27,848 23,961 General and administrative 178,416 218,583 Total expenses and other $418,192 $463,083 Income from continuing operations $53,808 $25,917 a. Prepare a comparative income statement for these two years in vertical form, stating each item as a percent of revenues. Round to one decimal place. Enter all amounts as positive numbers. Calvin Motorsports, Inc. Comparative Income Statement (in thousands of dollars) For the Years Ended December 31 Current Year Amount Current Year Percent Prior Year Amount Prior Year Percent Revenues: Admissions $94,400 % $107,580 % Event-related revenue 138,768 % 147,189 % NASCAR broadcasting revenue 169,448 % 160,881 % Other operating revenue 69,384 % 73,350 % Total revenue $472,000 % $489,000 % Expenses and other: Direct expense of events $93,928 % $94,377 % NASCAR purse and sanction fees 118,000 % 126,162 % Other direct expenses 27,848 % 23,961 % General and administrative 178,416 % 218,583 % Total expenses and other $418,192 % $463,083 % Income from continuing operations $53,808 % $25,917 % b. While overall revenue some between the two years, the overall mix of revenue sources did change somewhat. The NASCAR broadcasting revenue as a percent of total revenue by 3 percentage points, while the percent of admissions revenue to total revenue by 2 percentage points. Overall, it appears that income from continuing operations has significantly improved because of .

In: Accounting

Vertical Analysis of Income Statement The following comparative income statement (in thousands of dollars) for the...

Vertical Analysis of Income Statement

The following comparative income statement (in thousands of dollars) for the two recent fiscal years was adapted from the annual report of Calvin Motorsports, Inc., owner and operator of several major motor speedways, such as the Atlanta, Texas, and Las Vegas Motor Speedways.

Current Year Previous Year
Revenues:
Admissions $106,872 $119,739
Event-related revenue 147,376 142,284
NASCAR broadcasting revenue 187,392 177,354
Other operating revenue 46,360 61,623
Total revenue $488,000 $501,000
Expenses and other:
Direct expense of events $93,696 $95,190
NASCAR purse and sanction fees 120,048 120,240
Other direct expenses 15,616 19,539
General and administrative 207,888 234,969
Total expenses and other $437,248 $469,938
Income from continuing operations $50,752 $31,062

a. Prepare a comparative income statement for these two years in vertical form, stating each item as a percent of revenues. Round to one decimal place. Enter all amounts as positive numbers.

Calvin Motorsports, Inc.
Comparative Income Statement (in thousands of dollars)
For the Years Ended December 31
Current Year Amount Current Year Percent Prior Year Amount Prior Year Percent
Revenues:
Admissions $106,872 % $119,739 %
Event-related revenue 147,376 % 142,284 %
NASCAR broadcasting revenue 187,392 % 177,354 %
Other operating revenue 46,360 % 61,623 %
Total revenue $488,000 % $501,000 %
Expenses and other:
Direct expense of events $93,696 % $95,190 %
NASCAR purse and sanction fees 120,048 % 120,240 %
Other direct expenses 15,616 % 19,539 %
General and administrative 207,888 % 234,969 %
Total expenses and other $437,248 % $469,938 %
Income from continuing operations $50,752 % $31,062 %

b. While overall revenue   some between the two years, the overall mix of revenue sources did change somewhat. The NASCAR broadcasting revenue   as a percent of total revenue by 3 percentage points, while the percent of admissions revenue to total revenue   by 2 percentage points. Overall, it appears that income from continuing operations has significantly improved because of  .

In: Accounting

Question 2 In a normal distribution, approximately __________ percent of the distribution falls between one standard...

Question 2

In a normal distribution, approximately __________ percent of the distribution falls between one standard deviation below the mean and one standard deviation above the mean

Question 3

In a normal distribution, approximately __________ percent of the distribution falls between two standard deviations below the mean and two standard deviations above the mean.

Question 4

In a normal distribution, approximately __________ percent of the distribution falls between three standard deviations below the mean and three standard deviations above the mean.

In: Statistics and Probability