To understand the value of counting loops:
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:
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 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 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 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:
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:
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
In: Advanced Math
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 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 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. | ||||||||||||||
|
|||||||||||||||
| (b) | Develop a probability distribution for the job satisfaction score of a randomly selected middle manager. | ||||||||||||||
|
|||||||||||||||
| (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 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