Questions
Deltona, USA is a development company that currently is financed with 100 percent equity. There are...

Deltona, USA is a development company that currently is financed with 100 percent equity. There are 15,000 shares outstanding at a market price of $50 a share. Deltona has earnings before interest and taxes (EBIT) of $20,000. The firm has decided to issue $250,000 of debt at a rate of 8 percent and use the proceeds to repurchase shares. Theresa owns 500 shares of Deltona and wants to use homemade leverage to offset the leverage used by Deltona. Theresa should

Select one:

a. sell 133 shares and invest the proceeds into the debts of Deltona.

b. buy an additional 167 shares.

c. sell 167 shares and invest the proceeds into the debts of Deltona.

In: Finance

c++ #include <iostream> #include <string> #include <ctime> using namespace std; void displayArray(double * items, int start,...

c++

#include <iostream>
#include <string>
#include <ctime>
using namespace std;


void displayArray(double * items, int start, int end)
{
        for (int i = start; i <= end; i++)
                cout << items[i] << " ";
        cout << endl;
}



//The legendary "Blaze Sort" algorithm.
//Sorts the specified portion of the array between index start and end (inclusive)
//Hmmm... how fast is it?
/*
void blazeSort(double * items, int start, int end)
{
        if (end - start > 0)
        {
                int p = filter(items, start, end);
                blazeSort(items, start, p - 1);
                blazeSort(items, p + 1, end);
        }
}
*/

int main()
{
        ////////////////////////////////////////////////////
        //Part 1:  Implement a method called filter.
        ////////////////////////////////////////////////////

        //Filter is a function that takes in an array and a range (start and end).
        //
        //Call the first item in the range the 'pivot'.
        //
        //Filter's job is to simply separate items within the range based on whether they are bigger or smaller than the pivot.
        //In the example array below, 13 is the pivot, so all items smaller than 13 are placed in indices 0-3.  The pivot is then placed at index 4, and all
        //remaining items, which are larger than the pivot, are placed at positions 5-10.  Note that the array is NOT sorted, just "partitioned" around
        //the pivot value.  After doing this, the function must return the new index of the pivot value.

        double testNumsA[] = { 13, 34.1, 43, 189, 4, 4.5, 18.35, 85, 3, 37.2, 5 };

        //The filter will place all items <= 13 to the left of value 13, and all items large than 13 to the right of 13 in the array.
        int p = filter(testNumsA, 0, 10);
        cout << p << endl; //should be 4, the new index of 13.
        displayArray(testNumsA, 0, 10);  //should display something like this:  5 3 4.5 4 13 18.35 85 189 37.2 43 34.1

        //One more example:
        double testNumsB[] = { 13, 34.1, 43, 189, 4, 4.5, 18.35, 85, 3, 37.2, 5 };
        p = filter(testNumsB, 2, 6);  //Here we are only interested in items from indices 2-6, ie, 43, 189, 4, 4.5, 18.35
        cout << p << endl; //should be 5
        displayArray(testNumsB, 0, 10); //Notice only indices 2-6 have been partioned:  13 34.1 18.35 4 4.5 43 189 85 3 37.2 5


        /////////////////////////////////////////////////////////////////////////////////
        //Part 2:  Uncomment "Blaze Sort".
        //Blaze Sort uses/needs your filter to work properly.
        /////////////////////////////////////////////////////////////////////////////////


        //Test if Blaze Sort correctly sorts the following array.
        double testNums[] = { 13, 34.1, 43, 189, 4, 4.5, 18.35, 85, 3, 37.2, 5 };

        blazeSort(testNums, 0, 10);

        displayArray(testNums, 0, 10);

        /////////////////////////////////////////////////////////////////////
        //Part 3:  Test how fast Blaze Sort is for large arrays.
        //What do you think the run-time (big-Oh) of blaze sort is?
        /////////////////////////////////////////////////////////////////////

        //Stress test:
        int size = 100; //test with: 1000, 10000, 100000,1000000, 10000000
        double * numbers = new double[size];

        for (int i = 0; i < size; i++)
        {
                numbers[i] = rand();
        }

        clock_t startTime, endTime;

        startTime = clock();
        blazeSort(numbers, 0, size - 1);
        endTime = clock();

        displayArray(numbers, 0, size - 1);
        cout << "Blaze sort took: " << endTime - startTime << " milliseconds to sort " << size << " doubles."  << endl;

In: Computer Science

1. The Toronto Diner, opened as a sole proprietorship by Felix Fudd, recorded the following transactions...

1. The Toronto Diner, opened as a sole proprietorship by Felix Fudd, recorded the following transactions during its initial mon of operations:

a. Rented facilities for $3,000 per month and paid the lessor $9,000 for the first three months

. b. Purchased equipment costing $30,000 on the first of the month. The diner put 20 percent down and borrowed the remainder from Second Bank. (Equipment will be depreciated over sixty months using the straight-line method. Assume a $3,000 salvage value.)

c. Sold 1,800 meals during the month at an average sales price of $15. Twenty percent of the meals were sold on account, while the remainder were cash sales. None of the charges were collected by the end of the month.

d. Cost of food sold percentage is 30%. Food purchases totaled $10,000 during the first month, of which 60 % were paid for during the month.

e. Paid labor costs of 30 % of sales during the month.

f. Paid all other expenses, which totaled $6,000 with cash. g. Felix opened the business on the first of the month by investing $50,000 h. Felix’s tax rate is 30%. Taxes will be paid subsequent to the first month. Determine the net income for the first month of business by filling in the correct amounts below using the information above. Revenue Net sales Expenses Cost of Goods Sold Wages expense Rent Expense Depreciation Expense Other expenses Income before income taxes Income tax expense Net Income 2. Determine the total sources and use of cash for the first month by filling in the correct amounts below using the information from question 7. Cash sources and uses: Paid rent for next 3 months Down payment for equipment Cash sales Food purchases Labor Other expenses Felix equity

In: Accounting

1 (Chapter 7). You are considering a new project. In the first year, you expect to...

1 (Chapter 7). You are considering a new project. In the first year, you expect to sell 9000 units at $50 net cash apiece, giving you operating cash flow of $450,000. At the end of the first year, you will know whether the project is doing “well” or doing “poorly.” If it is doing well, you will expect sales of 15,000 units per year for the next 10 years. If it is doing poorly, you will expect sales of 4,000 units per year for the next 10 years. You also have the option to (a) expand after the first year, or (b) dismantle the project after the first year and sell components for $1.3 million. The initial (time 0) investment cost for the project is $1.9 million. The cost of expansion is an additional $2 million, and doubles your sales projections in the event that the project is successful in the first year. (Expansion doesn’t alter sales projections if the project is not successful in the first year.) Assume the price of the product remains constant at $50 regardless of success or failure. All cash flows are real, and the real discount rate is 15%. For simplicity, assume no taxes, so investment costs and operating cash flows (the net revenues of $50 per unit) are all your cash flows. The probability of success is 40%.

a. What is your best strategy when you experience success after one year: Do you expand, continue operations without expansion, or abandon the project?

b. What is your best strategy when the project does poorly in the first year: Do you expand, continue operations without expansion, or abandon the project?

c. In view of your answers to a) and b), construct a decision tree for this project and evaluate its NPV. Should you invest at time 0?

In: Finance

O’Brien Company manufactures and sells one product. The following information pertains to each of the company’s...

O’Brien Company manufactures and sells one product. The following information pertains to each of the company’s first three years of operations:

Variable costs per unit:
Manufacturing:
Direct materials $28
Direct labor $15
Variable manufacturing overhead $5
Variable selling and administrative $3
Fixed costs per year:
Fixed manufacturing overhead $580,000
Fixed selling and administrative expenses $100,000

During its first year of operations, O’Brien produced 94,000 units and sold 76,000 units. During its second year of operations, it produced 80,000 units and sold 93,000 units. In its third year, O’Brien produced 82,000 units and sold 77,000 units. The selling price of the company’s product is $73 per unit.

3. Assume the company uses absorption costing and a FIFO inventory flow assumption (FIFO means first-in first-out. In other words, it assumes that the oldest units in inventory are sold first):

a. Compute the unit product cost for Year 1, Year 2, and Year 3. (Round your intermediate calculations and final answers to 2 decimal places.)

b. Prepare an income statement for Year 1, Year 2, and Year 3. (Round your intermediate calculations to 2 decimal places.)

4. Assume the company uses absorption costing and a LIFO inventory flow assumption (LIFO means last-in first-out. In other words, it assumes that the newest units in inventory are sold first):

a. Compute the unit product cost for Year 1, Year 2, and Year 3. (Round your intermediate calculations and final answers to 2 decimal places.)

b. Prepare an income statement for Year 1, Year 2, and Year 3. (Round your intermediate calculations to 2 decimal places.)

In: Accounting

Hillside issues $4,000,000 of 6%, 15-year bonds dated January 1, 2013, that pay interest semiannually on...

Hillside issues $4,000,000 of 6%, 15-year bonds dated January 1, 2013, that pay interest semiannually on June 30 and December 31. The bonds are issued at a price of $4,895,980.

1.

Prepare the January 1, 2013, journal entry to record the bonds’ issuance.

No Date General Journal Debit Credit
1 Jan. 1, 2013
2.(b)

For each semiannual period, complete the table below to calculate the straight-line premium amortization.

Bond price Par (maturity value) Premium on Bonds Payable Semiannual periods Straight-line premium amortization
- = ÷ 30 =
   
2.(c)

For each semiannual period, complete the table below to calculate the bond interest expense.

Semiannual cash payment Premium amortization Bond interest expense
$120,000 =
3.

Complete the below table to calculate the total bond interest expense to be recognized over the bonds' life.

Total bond interest expense over life of bonds:
Amount repaid:
payments of
Par value at maturity
Total repaid 0
Less amount borrowed
Total bond interest expense $0
4. Prepare the first two years of an amortization table using the straight-line method.
Semiannual Period-End Unamortized Premium Carrying Value
01/01/2013
06/30/2013
12/31/2013
06/30/2014
12/31/2014
5.

Prepare the journal entries to record the first two interest payments.

Journal entry worksheet

Record the first interest payment on June 30, 2013.

Date General Journal Debit Credit
Jun 30, 2013
Dec. 31, 2013

     

In: Accounting

Viking InterWorks is one of many manufacturers that supplies memory products to original equipment manufacturers (OEMs)...

Viking InterWorks is one of many manufacturers that supplies memory products to original equipment manufacturers (OEMs) of desktop systems. The CEO recently read an article in a trade publication that reported the projected demand for desktop systems to be:

Qddesktop = 1600 - 2Pdesktop + 0.6M (in millions of units), where Pdesktop is the price of a desktop system and M is consumer income.

The same article reported that the incomes of the desktop system’s primary consumer demographic would increase 4.2 percent this year to $61,300 and that the selling price of a desktop would decrease to $980, both of which the CEO viewed favorably for Viking. In a related article, the CEO read that the upcoming year’s projected demand for 512 MB desktop memory modules is:

Qdmemory = 11,200 - 100Pmemory - 2Pdesktop (in thousands of units), where Pmemory is the market price for a 512 MB memory module and Pdesktop is the selling price of a desktop system.

The report also indicated that five new, small start-ups entered the 512 MB memory module market bringing the total number of competitors to 100 firms. Furthermore, suppose that Viking’s CEO commissioned an industry-wide study to examine the industry capacity for 512 MB memory modules. The results indicate that when the industry is operating at maximum efficiency, this competitive industry supplies modules according to the following function:

Qsmemory = 1000 + 25Pmemory + N where Pmemory is the price of a 512 MB memory module and N is the number of memory module manufacturers in the market.

Viking’s CEO provides you, the production manager, with the above information and requests a report containing the market price for memory modules and the number of units to manufacture in the upcoming year based on the assumption that all firms producing 512 MB modules supply an equal share to the market.

Round to 2 decimals

A) Market Price for Memory Modules ($):

B) Number of units to manufacture (thousand):

How would your report change if the price of desktops were $1,080?

C) Market Price for Memory Modules ($):

D) Number of units to manufacture (thousand)

Please clearly indicate what number goes with what letter!

In: Economics

Viking InterWorks is one of many manufacturers that supplies memory products to original equipment manufacturers (OEMs)...

Viking InterWorks is one of many manufacturers that supplies memory products to original equipment manufacturers (OEMs) of desktop systems. The CEO recently read an article in a trade publication that reported the projected demand for desktop systems to be:

Qddesktop = 1600 - 2Pdesktop + 0.6M (in millions of units), where Pdesktop is the price of a desktop system and M is consumer income.

The same article reported that the incomes of the desktop system’s primary consumer demographic would increase 4.2 percent this year to $61,300 and that the selling price of a desktop would decrease to $980, both of which the CEO viewed favorably for Viking. In a related article, the CEO read that the upcoming year’s projected demand for 512 MB desktop memory modules is:

Qdmemory = 11,200 - 100Pmemory - 2Pdesktop (in thousands of units), where Pmemory is the market price for a 512 MB memory module and Pdesktop is the selling price of a desktop system.

The report also indicated that five new, small start-ups entered the 512 MB memory module market bringing the total number of competitors to 100 firms. Furthermore, suppose that Viking’s CEO commissioned an industry-wide study to examine the industry capacity for 512 MB memory modules. The results indicate that when the industry is operating at maximum efficiency, this competitive industry supplies modules according to the following function:

Qsmemory = 1000 + 25Pmemory + N where Pmemory is the price of a 512 MB memory module and N is the number of memory module manufacturers in the market.

Viking’s CEO provides you, the production manager, with the above information and requests a report containing the market price for memory modules and the number of units to manufacture in the upcoming year based on the assumption that all firms producing 512 MB modules supply an equal share to the market.

Instructions: Enter your responses rounded to two decimal places.

Market price for memory modules: $

Number of units to manufacture: thousand


How would your report change if the price of desktops were $1,080?

Market price for memory modules: $

Number of units to manufacture: thousand


What does this indicate about the relationship between memory modules and desktop systems?

In: Economics

QUESTION 3 Cloudsdale plc makes a wide range of motor accessories in a mass production environment....

QUESTION 3

Cloudsdale plc makes a wide range of motor accessories in a mass production environment. Standard costing is used to control performance and variances are incorporated into weekly management reports using the planning and operational approach. The following data relates to one of their most popular products.

  1. The standards set at the beginning of the period include the following:

Selling price per unit                                                           £80

Direct materials price per kilo                                            £5

Direct materials usage per unit                                         7 kilos

Other variable costs (per unit)                                          £20

Budgeted sales (week 4)                                                    48,000 units

  1. Information extracted from the reports for the first 3 weeks is given below:

Variances

Week 1

Week 2

Week 3

Materials usage (£)

100,000F

20,000F

45,000A

Materials usage (%)

25

4.2

(2.6)

Materials price (£)

119,000F

32,000F

16,000A

Materials price (%)

6.3

1.2

(0.9)

Sales volume (£)

125,000A

75,000A

75,000A

Sales volume (%)

(9.3)

(5)

(5.8)

Selling price (£)

0

0

219,520A

Selling price (%)

0

0

(5.6)

  1. The following information relating to actual results for week 4 is also available:

Total sales                                                                            49,000 units

Average selling price per unit                                            £75.44

Total direct materials used                                                 353,000 kilos

Total direct materials cost                                                  £1.861m

  1. Revised standards (set after the 4-week period):

Materials price per kilo                                                        £5.75

Selling price per unit                                                           £78

Required:

  1. Calculate direct materials and sales variances for week 4 in monetary and percentage terms, using the revised standards and including planning variances where appropriate.

  1. Discuss the results over the 4 week period, commenting on those variances which you deem to be material and any trends which are evident from the results.

In: Accounting

Question: The function predictAnswer should be made based on the following. Your answer must be able...

Question:

The function predictAnswer should be made based on the following. Your answer must be able to run in LESS than quadratic time. Either NLogN or linear time is expected.

In the prediction game, the first player gives the second player some stock market data for some consecutive days. The data contains a company's stock price on each day. The rules for the game are:

  1. Player 1 will tell player 2 a day number
  2. Player 2 has to find the nearest day on which stock price is smaller than the given day
  3. If there are two results, then player 2 finds the day number which is smaller
  4. If no such day exits, then the answer is -1.

Example 1

stockData size n =10;

stockData = [5,6,8,4,9,10,8,3,6,4]

queries = [6,5,4]

Result is [5,4,8]

On day 6, the stock price is 10. Both 9 and 8 are lower prices one day away. Choose 9 (day 5) because it is before day 6. On day 5, the stock price is 9. 4 is the closest lower price on day 4. On day 4, the stock price is 4. The only lower price is on day 8. The return array is [5,4,8]

Example - 2

stockData size n = 10

stockData = [5,6,8,4,9,10,8,3,6,4]

queries = [3,1,8]

Result is [2,4,-1]

If the day number is 3.both days 2 and 4 are smaller.choose the earlier day,day 2.

If the day number is 1,day 4 is the closet day with a smaller price.

If the day number is 8,there is no day where the price is less than 3.

The return array is [2,4,-1]

Code Snippet:

/*

     * Complete the 'predictAnswer' function below.

     *

     * The function is expected to return an INTEGER_ARRAY.

     * The function accepts following parameters:

     *  1. INTEGER_ARRAY stockData

     *  2. INTEGER_ARRAY queries

     */

def predictAnswer(stockData, queries):

In: Computer Science