Questions
c++ students.txt 20 Shawn Lynch 2.0 Hasan Stephens 2.6 Frank Wright 2.7 Hugo Ray 2.9 Justin...

c++

students.txt

20

Shawn Lynch 2.0
Hasan Stephens 2.6
Frank Wright 2.7
Hugo Ray 2.9
Justin Gardner 3.0
Kelly Jenkins 2.2
Rafael Seymour 3.7
Jose Cantu 0.6
David Gilmore 1.3
Emma Paterson 2.1
Jackie White 1.9
Robert Green 3.8
Julio Armstrong 1.1
Erik Cook 4.0
Jessica Hale 3.0
Vanessa Rivera 0.9
Sandra Ferguson 3.1
Christian Wang 1.1
Jackson Martinez 1.9
Austin Black 4.0

For your program, you will need to define a class Student, with private members for first name, last name, and GPA, and any methods you determine that you need (constructors, gets/sets, etc.) Once the class is defined, you will need to populate an array of Student objects to be sorted with data provided in the students.txt file.

First line in the text file will be size of the array.

Every line after the first contains three pieces of information, separated by spaces: First Name, Last Name, and GPA

and sort the Student data by GPA.(Using MergeSort)

display unsorted data and sorted data

In: Computer Science

c++ students.txt 20 Shawn Lynch 2.0 Hasan Stephens 2.6 Frank Wright 2.7 Hugo Ray 2.9 Justin...

c++

students.txt

20

Shawn Lynch 2.0
Hasan Stephens 2.6
Frank Wright 2.7
Hugo Ray 2.9
Justin Gardner 3.0
Kelly Jenkins 2.2
Rafael Seymour 3.7
Jose Cantu 0.6
David Gilmore 1.3
Emma Paterson 2.1
Jackie White 1.9
Robert Green 3.8
Julio Armstrong 1.1
Erik Cook 4.0
Jessica Hale 3.0
Vanessa Rivera 0.9
Sandra Ferguson 3.1
Christian Wang 1.1
Jackson Martinez 1.9
Austin Black 4.0

For your program, you will need to define a class Student, with private members for first name, last name, and GPA, and any methods you determine that you need (constructors, gets/sets, etc.) Once the class is defined, you will need to populate an array of Student objects to be sorted with data provided in the students.txt file.

First line in the text file will be size of the array.

Every line after the first contains three pieces of information, separated by spaces: First Name, Last Name, and GPA

and sort the Student data by GPA.(Using MergeSort or QuickSort)

display unsorted data and sorted data

In: Computer Science

For each of the following, forecast how prices and output will change by drawing and AD-AS...

  1. For each of the following, forecast how prices and output will change by drawing and AD-AS graph, and explain your answers using the step by step method to forecast macroeconomic outcomes.
  1. The latest data on consumer confidence indicate that consumers have become pessimistic about the future of the economy and are therefore spending less
  2. Innovations in solar cell technology cause energy prices to decline across the country.
  3. The federal government passes a new bill that dramatically increases government spending on the military
  4. The Mexican government eliminates the tariffs it charges on goods exported from Canada
  5. Top executives report that they’re quite uncertain about the future, as trade deals with the country’s largest trading partners are being renegotiated and remain in flux
  6. 最大的运输公司的自动化已大大降低了全国企业的运输成本。

In: Economics

The Timbrick Company produces and sells a single product. The production of this product requires 15...

The Timbrick Company produces and sells a single product. The production of this product requires 15 liters of direct material for each unit produced. Timbrick has an inventory policy which sets a target ending inventory of finished goods equal to 15% of next months expected unit sales. The target ending inventory for direct materials is 30% of the materials needed for production for next month. The budgeted cost of direct materials is $0.40 per liter. Normally, Timbrick pays the suppliers for 30% of a month’s purchases in the month of the purchase and they pay the remainder (70%) the next month.

On 1 January 20×3, Timbrick produced a budget for the three-month period (January, February, March). An incomplete version of that budget is shown below. (Missing values show “-“)

January

February

March

1st Quarter

PRODUCTION BUDGET

Budgeted unit sales

23,000

24,000

36,000

83,000

Target ending finished goods inventory

3,600

-

-

-

Total requirements (finished goods)

26,600

29,400

40,800

-

Beginning finished goods inventory

Units to be produced

22,750

-

-

83,950

DIRECT MATERIALS

PHYSICAL UNITS BUDGET

Materials required per unit (liters/unit)

15

15

15

15

Materials to be used in production

341,250

-

-

1,259,250

Target ending materials inventory

116,100

159,300

135,900

-

Total requirements (materials)

457,350

-

-

-

Beginning materials inventory

-

-

-

-

Materials to be purchased

353,775

430,200

-

1,291,575

COST BUDGET

Material cost per liter ($/liter)

0.40

0.40

0.40

0.40

Total cost of purchases

$141,510

-

-

$516,630

Cash paid to suppliers

$135,693

-

$181,368

-

You do NOT need to fill in all the missing values in the schedule above. You need to answer the following questions. Each question is 3 marks.

Required: Please compute the follows.

1. Beginning finished goods inventory for January, 20×3.

2. Total requirements (finished goods) for the 1st Quarter

3. Budgeted unit sales for April, 20×3.

4.Units to be produced for February, 20×3.

5. Estimate the total cost of purchases for December, 20×2.

In: Accounting

Moleno Company produces a single product and uses a standard cost system. The normal production volume...

Moleno Company produces a single product and uses a standard cost system. The normal production volume is 120,000 units; each unit requires five direct labor hours at standard. Overhead is applied on the basis of direct labor hours. The budgeted overhead for the coming year is as follows:

FOH $2,160,000*
VOH 1,440,000
* At normal volume.

During the year, Moleno produced 118,600 units, worked 592,300 direct labor hours, and incurred actual fixed overhead costs of $2,150,400 and actual variable overhead costs of $1,422,800.

Refer to the list below for the exact wording of a label or an amount description within your income statement.

Amount Descriptions
Depreciation
Direct labor
Other
Flexible budget variance
Supervision
Utilities
Inspecting products
Maintenance
Supplies
Rent
Total conversion cost

1. Calculate the standard fixed overhead rate and the standard variable overhead rate.

Standard Fixed Overhead Rate per DLH
Standard Variable Overhead Rate per DLH

2. Compute the applied fixed overhead and the applied variable overhead. What is the total fixed overhead variance? Total variable overhead variance?

Fixed overhead
Variable overhead
Total FOH Variance
Total VOH Variance

3. CONCEPTUAL CONNECTION Break down the total fixed overhead variance into a spending variance and a volume variance.

Fixed overhead analysis
Spending variance
Volume variance

Check the significance of Spending variance and Volume variance. Check all that apply.

The volume variance is a signal of the loss or gain that occurred because of producing at a level different from the expected level.

The volume variance is the incorrect prediction of volume.

Each item’s variance should be analyzed to see if these costs can be reduced.

The volume variance is the correct prediction of volume.

Each item’s variance should be analyzed to see if these costs can be increased.

The spending variance is the difference between planned and actual costs.

4. CONCEPTUAL CONNECTION Compute the variable overhead spending and efficiency variances.

Variable overhead analysis
Spending variance
Volume variance

Check the significance of Spending variance and Volume variance. Check all that apply.

The variable overhead spending variance is the difference between the budgeted costs for the actual hours used and the actual variable overhead costs.

The variable overhead efficiency variance is not the savings or extra cost attributable to the efficiency of labor usage.

The variable overhead spending variance is the difference between the actual variable overhead costs and the budgeted costs for the actual hours used.

The variable overhead efficiency variance is the savings or extra cost attributable to the efficiency of labor usage.

Journal entries for overhead variances were not discussed in this chapter. Typically, the overhead variance entries happen at the end of the year. Assume that applied fixed (variable) overhead is accumulated on the credit side of the fixed (variable) overhead control account. Actual fixed (variable) overhead costs are accumulated on the debit side of the respective control accounts. At the end of the year, the balance in each control account is the total fixed (variable) variance. Create accounts for each of the four overhead variances and close out the total variances to each of these four variance accounts. These four variance accounts are then usually closed to Cost of Goods Sold. Form a group with two to four other students, and prepare the journal entries that isolate the four variances. Finally, prepare the journal entries that close these variances to Cost of Goods Sold.

PAGE 10

GENERAL JOURNAL

DATE ACCOUNT POST. REF. DEBIT CREDIT

1

2

3

4

5

6

7

8

9

10

11

12

In: Accounting

The demand for tennis rackets can be characterized by the following point elasticities

The demand for tennis rackets can be characterized by the following point elasticities: price elasticity = -1.5, cross-price elasticity with tennis club membership fees= -2.0, and income elasticity = 3.0. Indicate whether each of the following statements is true or false, and explain your answer.

A. A price increase for tennis rackets will decrease both the number of units demanded and the total revenue of sellers.

B. The cross-price elasticity indicates that a 2% reduction in the price of tennis rackets will cause a 4% increase in tennis club membership demand.

C. Tennis rackets are cyclical normal goods.

D. Falling tennis club membership fees will definitely increase revenues received by sellers of both tennis rackets and tennis club memberships. 

E. A 2% price reduction in tennis racket prices would be necessary to overcome the effects of a 1.5% decline in income.

In: Economics

At the end of the year, a company offered to buy 4,200 units of a product...

At the end of the year, a company offered to buy 4,200 units of a product from X Company for a special price of $11.00 each instead of the company's regular price. The following information relates to the 69,100 units of the product that X Company has already made and sold to its regular customers:

Total    Per-Unit
Revenue $1,312,900 $19.00   
Cost of Goods Sold
   Variable 463,661 6.71   
   Fixed 128,526 1.86   
Selling and Administrative Costs
   Variable   95,358   1.38   
   Fixed     71,864   1.04   
Profit $553,491 $8.01   


The special order product has some unique features that will require additional material costs of $0.90 per unit and the rental of special equipment for $3,000.

The marketing manager thinks that if X Company accepts the special order, regular customers will be lost, with demand falling by 800 units. This loss in sales will cause firm profits to fall by ______________?

In: Accounting

Each person in a large sample of German adolescents was asked to indicate which of 50...

Each person in a large sample of German adolescents was asked to indicate which of 50 popular movies they had seen in the past year. Based on the response, the amount of time (in minutes) of alcohol use contained in the movies the person had watched was estimated. Each person was then classified into one of four groups based on the amount of movie alcohol exposure (groups 1, 2, 3, and 4, with 1 being the lowest exposure and 4 being the highest exposure). Each person was also classified according to school performance. The resulting data is given in the accompanying table.

Assume it is reasonable to regard this sample as a random sample of German adolescents. Is there evidence that there is an association between school performance and movie exposure to alcohol? Carry out a hypothesis test using

α = 0.05.

Alcohol Exposure Group
1 2 3 4
School
Performance
Excellent 111 94 51 67
Good 329 325 318 297
Average/Poor 239 259 312 319

State the null and alternative hypotheses.

H0: Alcohol exposure and school performance are not independent.
Ha: Alcohol exposure and school performance are independent. H0: The proportions falling into the alcohol exposure categories are not all the same for the three school performance groups.
Ha: The proportions falling into the alcohol exposure categories are the same for the three school performance groups.     H0: The proportions falling into the alcohol exposure categories are the same for the three school performance groups.
Ha: The proportions falling into the alcohol exposure categories are not all the same for the three school performance groups. H0: Alcohol exposure and school performance are independent.
Ha: Alcohol exposure and school performance are not independent.


Calculate the test statistic. (Round your answer to two decimal places.)
χ2 =

What is the P-value for the test? (Round your answer to four decimal places.)
P-value =

What can you conclude?

Do not reject H0. There is not enough evidence to conclude that there is an association between alcohol exposure and school performance. Reject H0. There is convincing evidence to conclude that there is an association between alcohol exposure and school performance.      Do not reject H0. There is not enough evidence to conclude that the proportions falling into the alcohol exposure categories are not all the same for the three school performance groups. Reject H0. There is convincing evidence to conclude that the proportions falling into the alcohol exposure categories are not all the same for the three school performance groups.


You may need to use the appropriate table in Appendix A to answer this question.

In: Math

To more efficiently manage its inventory, Treynor Corporationmaintains its internal inventory records using first-in, first-out...

To more efficiently manage its inventory, Treynor Corporation maintains its internal inventory records using first-in, first-out (FIFO) under a perpetual inventory system. The following information relates to its merchandise inventory during the year:

Jan.
1
Inventory on hand—28,000 units; cost $13.90 each.
Feb.
12
Purchased 78,000 units for $14.20 each.
Apr.
30
Sold 50,000 units for $21.70 each.
Jul.
22
Purchased 58,000 units for $14.50 each.
Sep.
9
Sold 78,000 units for $21.70 each.
Nov.
17
Purchased 48,000 units for $14.90 each.
Dec.
31
Inventory on hand—84,000 units.


Required:
1.
Determine the amount Treynor would calculate internally for ending inventory and cost of goods sold using first-in, first-out (FIFO) under a perpetual inventory system.
2. Determine the amount Treynor would report externally for ending inventory and cost of goods sold using last-in, first-out (LIFO) under a periodic inventory system.
3. Determine the amount Treynor would report for its LIFO reserve at the end of the year.
4. Record the year-end adjusting entry for the LIFO reserve, assuming the balance at the beginning of the year was $18,000.

Determine the amount Treynor would calculate internally for ending inventory and cost of goods sold using first-in, first-out (FIFO) under a perpetual inventory system. (Round "Cost per Unit" to 2 decimal places.)

Perpetual FIFO:Cost of Goods Available for SaleCost of Goods Sold - April 30Cost of Goods Sold - September 9
Inventory Balance
# of unitsCost per unitCost of Goods Available for Sale# of units soldCost per unitCost of Goods Sold# of units soldCost per unitCost of Goods SoldTotal Cost of Goods Sold# of units in ending inventoryCost per unitEnding Inventory
Beg. Inventory



$0.00

$0.00$0

$0.00$0
Purchases:



February 12



0.00

0.00

0.000
July 22



0.000
0.00

0.00
November 17



0.00

0.00

0.00
Total0
$00
$00
$0$00
$0

Determine the amount Treynor would report externally for ending inventory and cost of goods sold using last-in, first-out (LIFO) under a periodic inventory system.

LIFOCost of Goods Available for Sale

Cost of Goods Sold - Periodic LIFO

Ending Inventory - Periodic LIFO
# of unitsCost per unitCost of Goods Available for Sale# of units soldCost per unitCost of Goods Sold# of units in ending inventoryCost per unitEnding Inventory
Beginning Inventory



$0.00$0
$0.00
Purchases:


Feb 12



$0.00

$0.00
Jul 22



$0.00

$0.00
Nov 17



$0.00

$0.00
Total0
$00
$00
$0


In: Accounting

Evergreen Corporation is preparing the master budget for the third quarter ending March 31, 2009.  It sells...

Evergreen Corporation is preparing the master budget for the third quarter ending March 31, 2009.  It sells a single product for $20 a unit.  Sales are 25% cash and 75% credit.  The credit sales are collected 30% in the month of the sale and the remaining 70% is collected in the next month.  No credit sales occurred in December 2008. The December 31 inventory of finished goods is 15,000 units and projected sales are 20,000, 55000, 65,000, 75,000, and 85,000 units for the first  months of the year.  The desired ending inventory for each month is 35% of the next month's sales. The inventory of Finished Goods expected to be on hand on April 30 is 10,500 units.  Each Finished Unit requires 2 kilograms of materials at a cost of $1.00 per kilo and it takes 15 minutes to complete one unit.  Evergreen anticipates having 20,000 kilos of materials on hand at December 31, 2008.  The company requires 15% of the next month production materials needs to be available before the start of the month.  Labour is paid at the rate of $9.00 per hour and is paid when incurred.  Production overhead is incurred based on units of production and costs $1.50 per unit. Sixty percent of the purchases are paid in the month of purchase and 40% are paid in the following month.  Purchases in December 2008 were $232,500.

Operating expenses are paid in the month incurred and consist of sales commissions (8% of sales), shipping cost (4% of sales), office salaries of $15,000 a month, advertising of $2,800 per month,  and amortization of $3,200 per month, and other miscellaneous expenses of $4,500 per month.  The cash balance must not be negative. The beginning cash balance is $48,000.  Loans are obtained at the end of the month in which a cash shortage occurs and are made in even multiples of $1,000.  Interest is 1% per month based on the beginning-of-month loan balance and must be paid at the end of each month when the loan is repaid.   Evergreen paid $4,000 in cash dividends in January and purchased land for $150,000 in March paying cash.

Cost per Unit
Amount per unit Measure Cost Produced
Direct Material kg/unit
Direct Labour per hour
Total Manufacturing Overhead
Evergreen
Income Statement
First Quarter, 2009
January February March TOTAL
Sales
Less Cost of Sales
Gross Margin
Operating Expenses
Income from Operatins
Interest Expense
Net Income

In: Accounting