Write a program that will find the class average of fifteen (15) test scores for five (5) different tests. The class average must be stored into an integer array. You are to have three separate arrays: Note: _jd represents the initials of the programmer. Your array and function names should be named by replace the initials jd with your first and last initials Arrays Student Names Scores Averages Name of array students_jd scores_jd averages_jd Size of array [15][10] [15][5] .[5] Data for array Initialized in code Read from data file Calculated and stored Excluding the main function, your program should have three additional functions that will get the scores, calculate the averages and display your output. Functions Read Input File Calculate Average Output Results Name of function get_jd calc_jd prt_jd Properties of function Called from main Called from main Called from main Definition of Function Should pass scores array and add data to array Should pass average array and add averages to array Should pass students, scores and average array and print data Data file should be named da
In: Computer Science
For java.
It's your turn to write a test suite! Let's start out simple. Create a public class TestArraySum that provides a single void class method named test. test accepts a single parameter: an instance of ArraySum.
Each ArraySum provides a method sum that accepts an int[] and returns the sum of the values as an int, or 0 if the array is null. However, some ArraySum implementations are broken! Your job is to identify all of them correctly.
To do this you should use assert to test various inputs. Here's an example:
assert sum.sum(null) == 0;
Your function does not need to return a value. Instead, if the code is correct no assertion should fail, and if it is incorrect one should.
As you design test inputs, here are two conflicting objectives to keep in mind:
In: Computer Science
a) Ngomongo Holdings Limited has investment interests in three companies. Kirinyaga Video Limited (KVL), Kilgoris Hauliers Limited (KHL) and Turkana Limited (TFL). The following financial data relate to these companies:
As at 31st December 2013, the financial statements of two of the companies revealed the following information:
Company | Price of share | Earnings per share Kshs. | Dividends per share Kshs. |
Kirinyaga Video Ltd | 160 | 8 | 8 |
Kilgoris Hauliers(KHL) | 270 | 18 | 9 |
Earnings and dividends information for Turkana Fisheries Ltd (TFL) for the past five years is given below:
Year ended 31st December | 2009 Kshs. | 2010 Kshs. | 2011 Kshs. | 2012 Kshs. | 2013 Kshs. |
Earnings per share | 5.0 | 6.0 | 10.0 | 7.0 | 12.0 |
Dividend per share | 3.0 | 3.0 | 5.0 | 3.5 | 5.5 |
The estimated return on equity before tax required by investors in Turkana Fisheries Ltd’s shares is 20%.
Required:
For Kirinyaga Video Ltd (KVL) and Kilgoris Hauliers Ltd (KHL) determine and compare:
Dividends yields.
Price/earnings ratio
Dividends covers
Using the dividends growth model, determine the market value of 1,000 shares held in Turkana Fisheries Ltd (TFL) as at 31st December 2001.
b) Distinguish between financial risk and operating risk.
c) Define the following term as used in financial management: (10 Mark)
Financial distress
Moral hazard
Adverse selection
Bonus issue
Stock split
In: Finance
No Growth Incorporated had operating income before interest and taxes in 2011 of $225 million.The firm was expected to generate this level of operating income indefinitely. The firm had depreciation expense of $9.5 million that same year.Capital spending totaled $20 million during 2011. At the end of 2010 and 2011, working capital totaled $70 and $80 million, respectively.The firm’s combined marginal state, local, and federal tax rate was 30% and its debt outstanding had a market value of $1 billion.The 10-year Treasury bond rate is 6% and the borrowing rate for companies exhibiting levels of creditworthiness similar to No Growth is 7%.The historical risk premium for stocks over the risk free rate of return is 6%.No Growth’s beta was estimated to be 1.25.The firm had 2,000,000 common shares outstanding at the end of 2011. No Growth’s target debt to total capital ratio is 30%. (14 points)
Estimate free cash flow to the firm in 2011. Make sure to show your work.
Estimate the firm’s cost of capital. Make sure to show your work.
Estimate the value of the firm (i.e., includes the value of equity and debt) at the end of 2011, assuming that it will generate the value of free cash flow estimated in (a) indefinitely. Make sure to show your work.
Estimate the value of the equity of the firm at the end of 2011. Make sure to show your work.
Estimate the value per share at the end of 2011. Make sure to show your work.
In: Finance
The following data relate to the Machinery account of Eshkol,
Inc. at December 31, 2014.
|
Machinery |
||||||||
|
A |
B |
C |
D |
|||||
| Original cost | $63,480 | $70,380 | $110,400 | $110,400 | ||||
| Year purchased | 2009 | 2010 | 2011 | 2013 | ||||
| Useful life | 10 years | 15,000 hours | 15 years | 10 years | ||||
| Salvage value | $4,278 | $4,140 | $6,900 | $6,900 | ||||
| Depreciation method | Sum-of-the-years'-digits | Activity | Straight-line | Double-declining balance | ||||
| Accum. depr through 2014* | $43,056 | $48,576 | $20,700 | $22,080 | ||||
*In the year an asset is purchased, Eshkol, Inc. does not record
any depreciation expense on the asset.
In the year an asset is retired or traded in, Eshkol, Inc. takes a
full year’s depreciation on the asset.
The following transactions occurred during 2015.
| (a) | On May 5, Machine A was sold for $17,940 cash. The company’s bookkeeper recorded this retirement in the following manner in the cash receipts journal. | ||
|
Cash |
17,940 |
||
|
Machinery (Machine A) |
17,940 |
||
| (b) | On December 31, it was determined that Machine B had been used 2,898 hours during 2015. | ||
| (c) | On December 31, before computing depreciation expense on Machine C, the management of Eshkol, Inc. decided the useful life remaining from January 1, 2015, was 10 years. | ||
| (d) | On December 31, it was discovered that a machine purchased in 2014 had been expensed completely in that year. This machine cost $38,640 and has a useful life of 10 years and no salvage value. Management has decided to use the double-declining-balance method for this machine, which can be referred to as “Machine E.” | ||
In: Accounting
Question 10 (1 point)
You are looking for a way to incentivize the sales reps that you are in charge of. You design an incentive plan as a way to help increase in their sales. To evaluate this innovative plan, you take a random sample of your reps, and their weekly incomes before and after the plan were recorded. You calculate the difference in income as (after incentive plan - before incentive plan). You perform a paired samples t-test with the following hypotheses: Null Hypothesis: μD ≤ 0, Alternative Hypothesis: μD > 0. You calculate a p-value of 0.3076. What is the appropriate conclusion of your test?
Question 10 options:
|
|||
|
|||
|
|||
|
|||
|
Question 11 (1 point)
You are looking for a way to incentivize the sales reps that you are in charge of. You design an incentive plan as a way to help increase in their sales. To evaluate this innovative plan, you take a random sample of your reps, and their weekly incomes before and after the plan were recorded. You calculate the difference in income as (after incentive plan - before incentive plan). You perform a paired samples t-test with the following hypotheses: Null Hypothesis: μD ≤ 0, Alternative Hypothesis: μD > 0. You calculate a p-value of 0.0474. What is the appropriate conclusion of your test?
Question 11 options:
|
|||
|
|||
|
|||
|
|||
|
Question 12 (1 point)
Consumers Energy states that the average electric bill across the state is $62.74. You want to test the claim that the average bill amount is actually less than $62.74. The hypotheses for this situation are as follows: Null Hypothesis: μ ≥ 62.74, Alternative Hypothesis: μ < 62.74. If the true statewide average bill is $51.97 and the null hypothesis is not rejected, did a type I, type II, or no error occur?
Question 12 options:
|
|||
|
|||
|
|||
|
|||
|
Question 13 (1 point)
Consumers Energy states that the average electric bill across the state is $57.42. You want to test the claim that the average bill amount is actually greater than $57.42. The hypotheses for this situation are as follows: Null Hypothesis: μ ≤ 57.42, Alternative Hypothesis: μ > 57.42. If the true statewide average bill is $24.71 and the null hypothesis is rejected, did a type I, type II, or no error occur?
Question 13 options:
|
|||
|
|||
|
|||
|
|||
|
In: Statistics and Probability
what will healthcare look like in 2020 economic and structural wise?
In: Nursing
write an essay about the challenges college students face in 2020
In: Nursing
Discuss and examine the 3rd quarter GDP in 2020. one paragraph
In: Economics
Does Healthy People 2020 follow the medical or wellness model?
In: Nursing