Questions
To understand the value of counting loops: Write a java program that implements matrix multiplication using...

To understand the value of counting loops:

  1. Write a java program that implements matrix multiplication using counting loop constructs.
  2. Then write the same program using only logical loops—for example, while loops.
  3. Write 2 classes for each program

Sample Result is shown below:

Enter the number of rows of matrix A: 2

Enter the number of columns of matrix A: 3

Enter the number of columns of matrix B: 3

Enter the number of columns of matrix B: 4

Enter matrix A;

1 2 3

4 5 6

Enter matrix B:

7 8 9 10

11 12 13 14

15 16 17 18

Matrix A:

1 2 3

4 5 6

Matrix B:

7    8    9 10

11    12 13 14

15 16 17    18

Product of matrix A and Matrix B ( A x B) :

74 80 86 92

173 188 203    218   

In: Computer Science

Darby consulting was established on 1 March and during March Darby entered into the following transactions:...

Darby consulting was established on 1 March and during March Darby entered into the following transactions:

1 Issued $10000 shares in exchange for cash

3 Purchased $300 of supplies on account

7 Prepaid $1500 rent for April, May and June

8 Paid $175 towards 3 March purchase of supplies

11 Billed customers $5780 for services rendered

12 Paid $700 for March advertising

25 Received $4500 from customers billed on March 11

28 Paid $200 in dividends to shareholders

29 Paid $1200 in March salaries

29 Paid $760 for water usage

Prepare a balance sheet for the end of March.

In: Accounting

ASSETS (1.1.) EUR    EQUITY (1.1.) EUR Fixed assets 3400000 Shareholder's capital 2499000 Inventory 1360000 Retained...

ASSETS (1.1.)

EUR

  

EQUITY (1.1.)

EUR

Fixed assets

3400000

Shareholder's capital

2499000

Inventory

1360000

Retained earnings

0

Accounts receivable

0

Profit for the financial year

0

Cash and equivalents

1122000

DEBT (1.1)

-

Loans

2975000

Accounts payable

408000

The operating income of the financial period (1.1.-31.12.) is 3060000 €. In addition, the following is given on the events in the company during the financial period: The company has delivered products to the customers for a worth of 17000000 € according to the billing information. 15980000 € of this has been received from the customers. According to the bills, the company has received 7684000 € worth of materials of which 7299800 € has been paid. Naturally, the company has paid the bills of previous periods. According to the inventory taken, the value of inventory at the end of the financial year is 2244000 €. The company has also invested in its means of production (machines) with 408000 €. The total depreciation of the financial year is 680000 €. 595000 € of the loans has been amortized and 148750 € has been paid in interests. The income tax percentage is 20 %.

Give the following information for the balance sheet at the end of the year (31.12.) to the nearest euro.

a. Shareholder's capital =

b. Retained earnings and the profit for the financial year =

c. Long and short-term loans (only those with interest) =

d. Accounts payable =

e. Inventories =

f. Accounts receivable =

g. Cash and equivalents =

h. Fixed assets =

i. Working capital =

In: Accounting

The National State Bank is trying to make sure that they have enough tellers to handle...

The National State Bank is trying to make sure that they have enough tellers to handle the Friday afternoon rush of workers wanting to cash their paychecks. They are only concerned with the last hour of the day from 4:00 to 5:00 P.M. It takes 5 minutes per customer to be processed by the tellers. The average customer arrivals are shown in the table below.

TIME CUSTOMERS
ARRIVING
4:00 4:05 4
4:05 4:10 6
4:10 4:15 3
4:15 4:20 5
4:20 4:25 10
4:25 4:30 13
4:30 4:35 20
4:35 4:40 11
4:40 4:45 11
4:45 4:50 3
4:50 4:55 3
4:55 5:00 2
5:00 5:05 0
Total 91
The bank currently has 8 teller stations, and all are staffed during the Friday afternoon rush hour.
a. What is the current maximum output at the bank during rush hour?
  Current maximum output customers per hour
b. Can the bank process all the customers by 5:00 P.M.?
  (Click to select)YesNo, the bank (Click to select)cancannot process all the customers by 5:00 P.M.
c.

What is the maximum waiting time for customers, and what time period does it occur in? (Round your answer to 2 decimal places.)

  The maximum waiting time is  minutes and it occurs from (Click to select)4:50-4:554:30-4:354:40-4:454:35-4:404:45-4:50.

In: Operations Management

VF is a small accounting firm supporting wealthy individuals in their preparation of annual income tax...

VF is a small accounting firm supporting wealthy individuals in their preparation of annual income tax statements. Every December, VF sends out a short survey to their customers, asking for the information required for preparing the tax statements. Based on 24 years of experience, VF categorizes their cases into the following groups:

  • Group 1 (new customers, easy): 15 percent of cases
  • Group 2 (new customers, complex): 6 percent of cases
  • Group 3 (repeat customers, easy): 55 percent of cases
  • Group 4 (repeat customers, complex): 24 percent of cases

Here, “easy” versus “complex” refers to the complexity of the customer’s earning situation.


In order to prepare the income tax statement, VF needs to complete the following set of activities. Processing times (and even which activities need to be carried out) depend on which group a tax statement falls into. All of the following processing times are expressed in minutes per income tax statement.

Group Filling Initial Meeting Preparation Review by Senior Accountant Writing
1 20 35 95 20 55
2 40 110 310 50 70
3 20 No meeting 90 5 35
4 40 No meeting 210 25 70

The activities are carried out by the following three persons:

  • Administrative support person: filing and writing.
  • Senior accountant (who is also the owner): initial meeting, review by senior accountant.
  • Junior accountant: preparation.

Assume that all three persons work eight hours per day and 20 days a month. For the following questions, assume the product mix as described above. Assume that there are 60 income tax statements arriving each month.

A.  What is the (implied) utilization of the senior accountant? The junior accountant? The administrative support person? (Round the answers to 3 decimal places.)

In: Accounting

1. A company that makes cell phones has the following cost structure. The have fixed costs...

1. A company that makes cell phones has the following cost structure. The have fixed costs of $145 000 per period and manufacturing costs of $15.16 per cell phone. Advertising is expected to be $25 000 per period and a special promotional contest will involve providing a free case for a cost of $5.30 per cell phone. Each cell phone sells for $49.95. What is the break-even point in the number of phones?
2. A pen manufacturer makes luxury pens. The pen case costs $7.26 each, the ink holder costs $1.26 each, the spring costs $.07 each and the velvet pen case costs $0.91 each. The plant has general and administrative costs of $55 000 and fixed selling expenses of $37 500. The pens sell of $39.95 each. Plant capacity is 4 000 pens per period. At what percentage of capacity is the break-even point?
3. A local health care facility has fixed costs per month of $187 400. They also have patient costs of $4.15 per day per patient for linen and cleaning, medication costs are $23.32 per patient per day and lab tests cost $75.61 per patient per day. The government is considering allowing the health care facility to charge each patient and amount to recover his or her costs and to make a "profit" of $15 000 per month. The health care facility averages 690 patients per month. The VP-Finance for the facility wants you to calculate the daily rate charge per patient. Your answer is:
4. A company that makes optical computer input devices has calculated their revenue and costs as follows for the most recent fiscal period:
Sales ​$522 000
Costs:
​Fixed Costs​ $145 000
​Variable Costs ​208 800
Total Costs ​353 800
Net Income ​$168 200
​What is the break-even point in sales dollars?
5. A company that makes environmental measuring devices has calculated their revenue and costs as follows for the most recent fiscal period:
Sales ​$750 000
Costs:
​Fixed Costs​ $200 000
​Variable Costs ​250 000
Total Costs ​450 000
Net Income ​$300 000
​What is the break-even point in sales dollars?
6. A company that makes audio computer input devices has calculated their revenue and costs as follows for the most recent fiscal period:
Sales ​$723 000
Costs:
​Fixed Costs ​$345 000
​Variable Costs ​404 880
Total Costs ​749 880
Net Income (Loss) ​$(26 880)
The company has a target level of profitability of $35,000 per fiscal period. What sales dollar volume do they have to achieve in order to achieve their goal?
7. A company that makes basketballs has calculated their revenue and costs as follows for the most recent fiscal period:
Sales ​$623 000
Costs:
​Fixed Costs ​$???????
​Variable Costs ​404 880
Total Costs ​???????
Net Income (Loss) ​$(26 880)
What are the company's fixed costs per fiscal period?
8. A company that makes customized pens has calculated their revenue and costs as follows for the most recent fiscal period:
Sales ​$100,000
Costs:
​Fixed Costs ​$???????
​Variable Costs ​15 000
Total Costs ​???????
Net Income (Loss) ​$(20,000)
What are the company's fixed costs per fiscal period?
9. A local toolmaker makes the best hammers on the market. The head of the hammer costs $12.11 and the handle costs $4.37. It takes 1.4 minutes to assemble the hammer and the hourly cost is $90.00 for assembly time. The company has fixed operating costs of $22 310 per month. They sell the hammers for three times their total variable cost. The company wants to make a monthly profit of $5000. How many hammers must they sell?
10. A local restaurant has the best meals in town. The average variable cost per meal is $22.74 and the desserts are $5.24. Only half of the patrons order desserts. The restaurant has fixed operating costs of $112 714 per month. They sell the meals and desserts for four times their average variable cost per meal. They company wants to make a monthly profit of $75 000. How many meals must they sell?
11. A local college hospitality restaurant has the best meals in town. The average variable cost per meal is $10.25 and the desserts are $1.25. The restaurant has fixed operating costs of $110 500 per month. They sell the meals and desserts for three times their average variable cost per meal. The college wants to make a monthly profit of $50 000. How many meals must they sell (Round up to nearest whole meal)?
12. A company has variable costs that are 3/8 the value of their sales revenues. Total net income for the most recent period was a profit of $123 400 and sales were $400 000. The company has started a new marketing campaign that they hope will increase sales, but it will require additional advertising of $11 200. How many sales dollars does the company have to generate in order to remain at the same level of profitability as before the new ad campaign?
13. A company has variable costs that are 1/8 the value of their sales revenues. Total net income for the most recent period was a profit of $50 400 and sales were $500 000. The company has started a new marketing campaign that they hope will increase sales, but it will require additional advertising of $15 000. How many sales dollars does the company have to generate in order to remain at the same level of profitability as before the new ad campaign?
14. A company has variable costs that are 4/7 the value of their sales revenues. Total net income for the most recent period was a profit of $53 770 and sales were $420 000. The company has started a new marketing campaign that they hope will increase sales, but it will require additional advertising of $6400. How many sales dollars does the company have to generate in order to remain at the same level of profitability as before the new ad campaign?
15. Excel hardware is introducing a new product on a new product line of capacity 800 units per week at a production cost of $50 per unit. Fixed costs are $22,400 per week. Variable selling and shipping costs are estimated to be $20 per unit. Excel plan to market the new product at $110 per unit. What is the break-even capacity per week?
16. Excel hardware is introducing a new product on a new product line of capacity 800 units per week at a production cost of $50 per unit. Fixed costs are $22 400 per week. Variable selling and shipping costs are estimated to be $20 per unit. Excel plan to market the new product at $110 per unit. What would be the weekly net income at 90% of the capacity?
17. Sala pipe fittings produce pipe elbows and reducers from stainless steel. The company can process up to 20 000 tonnes of stainless steel sheets in a year. The company pays the steel company $800 per tonne of stainless steel sheets and each tonne is used to manufacture $2000 worth of elbows and reducers. Variable processing costs are $470 per tonne and fixed processing costs $3.4 million per year at all production levels. Administrative overhead is $3 million per year regardless of the volume of the production. Marketing and transportation costs work out to be $230 per tonne. Determine the break-even volume in terms of percent capacity utilization.
18. Last year, Terrific Copying had total revenue of $475 000, while operating at 60% of capacity. The total of its variable cost is $150 000. Fixed costs were $180 000. What is Terrific's contribution rate?
19. Last year, Terrific Copying had total revenue of $475 000, while operating at 60% of capacity. The total of its variable cost is $150 000. Fixed costs were $180 000. What is Terrific's break-even point expressed in dollars of revenue?
20. Last year, Terrific Copying had total revenue of $475 000, while operating at 60% of capacity. The total of its variable cost is $150 000. Fixed costs were $180 000. If the current selling price, variable costs, and fixed costs are the same as last year, what net income can be expected from revenue of $500 000 in the current year

In: Advanced Math

A carpet company advertises that it will deliver your carpet within 6 days of purchase. A...

A carpet company advertises that it will deliver your carpet within 6 days of purchase. A sample of 46 past customers is taken. The average delivery time in the sample was 6.8 days. The population standard deviation is known to be 2.7 days.

Test to determine if their advertisement is legitimate at a  significance level 0.01. (Show all steps)

In: Statistics and Probability

You are appointed as a credit manager in the local branch of ZAA Bank that is...

You are appointed as a credit manager in the local branch of ZAA Bank that is situated in an industrial area. Most customers are businesses. Provide a brief summary of important credit risk factors relating to the following forms of business that you as a banker should keep in mind:


a. Sole proprietor

b. Partnership

c. Private company

In: Finance

The percent frequency distributions of job satisfaction scores for a sample of information systems (IS) senior...

The percent frequency distributions of job satisfaction scores for a sample of information systems (IS) senior executives and middle managers are as follows. The scores range from a low of 1 (very dissatisfied) to a high of 5 (very satisfied).

Job Satisfaction Score IS Senior Executives (%) IS Middle Managers (%)
1 5 4
2 9 10
3 27 13
4 42 46
5 17 27

If required, round your answers to two decimal places.

(a) Develop a probability distribution for the job satisfaction score of a randomly selected senior executive.
x f(x)
1
2
3
4
5
(b) Develop a probability distribution for the job satisfaction score of a randomly selected middle manager.
x f(x)
1
2
3
4
5
(c) What is the probability that a randomly selected senior executive will report a job satisfaction score of 4 or 5?
(d) What is the probability that a randomly selected middle manager is very satisfied?
(e) Compare the overall job satisfaction of senior executives and middle managers.
Senior executives appear to be more satisfied/less satisfied than middle managers.

In: Statistics and Probability

Language for this question is Java write the code for the given assignment Given an n...

Language for this question is Java

write the code for the given assignment

Given an n x n matrix, where every row and column is sorted in non-decreasing order. Print all elements of matrix in sorted order.Input:
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains an integer n denoting the size of the matrix. Then the next line contains the n x n elements in row wise order.Output:
Print the elements of the matrix in sorted order.Constraints:
1<=T<=100
1<=n<=100
1<=a[n][n]<=100Example:
Input:
2
4
10 20 30 40 15 25 35 45 27 29 37 48 32 33 39 50
3
1 3 4 2 6 7 5 8 9Output:
10 15 20 25 27 29 30 32 33 35 37 39 40 45 48 50
1 2 3 4 5 6 7 8 9

In: Computer Science