Questions
Propose an algorithm in C to match numbers / tokens (words) from one array to another...

Propose an algorithm in C to match numbers / tokens (words) from one array to another array and pull out the matching numbers.

In: Computer Science

The following data for Throwback Industries Inc. relate to the payroll for the week ended December...

The following data for Throwback Industries Inc. relate to the payroll for the week ended December 9, 20Y8:

Employee Hours Worked Hourly Rate Weekly Salary Federal Income Tax Retirement Savings
Aaron 45 $62 $641.84 $115
Cobb 42 67 623.92 125
Clemente 49 68 835.88 135
DiMaggio 38 54 376.68 0
Griffey, Jr. 46 63 681.60 145
Mantle $1,600 292.45 135
Robinson 38 56 418.40 145
Williams 1,900 370.24 140
Vaughn 46 63 702.60 40

Employees Mantle and Williams are office staff, and all of the other employees are sales personnel. All sales personnel are paid 1½ times the regular rate for all hours in excess of 40 hours per week. The social security tax rate is 6.0%, and Medicare tax is 1.5% of each employee’s annual earnings. The next payroll check to be used is No. 901.

Required:
1. Prepare a payroll register for Throwback Industries Inc. for the week ended December 9, 20Y8. Assume the normal working hours in a week are 40 hours. Enter amounts as positive numbers and round your intermediate calculations and final answers to the nearest whole cent (two decimal places).
2. Journalize the entry to record the payroll for the week. If required, round your answers to two decimal places. Refer to the Chart of Accounts for exact wording of account titles.

1. Prepare a payroll register for Throwback Industries Inc. for the week ended December 9, 20Y8. Assume the normal working hours in a week are 40 hours. Enter amounts as positive numbers and round your intermediate calculations and final answers to the nearest whole cent (two decimal places).

Payroll for Week Ending December 9, 20Y8

1

Earnings

Earnings

Earnings

Deductions

Deductions

Deductions

Deductions

Deductions

Paid

Paid

Account Debited

Account Debited

2

Employee

Total Hours

Regular

Overtime

Total

Social Security Tax

Medicare Tax

Federal Income Tax

Retirement Savings

Total

Net Pay

Ck. No.

Sales Salaries Expense

Office Salaries Expense

3

Aaron

45.00

$641.84

$115.00

#901

4

Cobb

42.00

623.92

125.00

#902

5

Clemente

49.00

835.88

135.00

#903

6

DiMaggio

38.00

376.68

#904

7

Griffey, Jr.

46.00

681.60

145.00

#905

8

Mantle

292.45

135.00

#906

9

Robinson

38.00

418.40

145.00

#907

10

Williams

370.24

140.00

#908

11

Vaughn

46.00

702.60

40.00

#909

12

$4,943.61

$980.00

2. Journalize the entry to record the payroll for the week. If required, round your answers to two decimal places. Refer to the Chart of Accounts for exact wording of account titles.

PAGE 1

JOURNAL

ACCOUNTING EQUATION

DATE DESCRIPTION POST. REF. DEBIT CREDIT ASSETS LIABILITIES EQUITY

1

2

3

4

5

6

7

In: Accounting

Calculate Payroll Breakin Away Company has three employees—a consultant, a computer programmer, and an administrator. The...

Calculate Payroll

Breakin Away Company has three employees—a consultant, a computer programmer, and an administrator. The following payroll information is available for each employee:

Consultant Computer Programmer Administrator
Regular earnings rate $4,000 per week $60 per hour $50 per hour
Overtime earnings rate* Not applicable 1.5 times hourly rate 2 times hourly rate
Number of withholding allowances 2 1 2
*For hourly employees, overtime is paid for hours worked in excess of 40 hours per week.

For the current pay period, the computer programmer worked 50 hours and the administrator worked 48 hours. The federal income tax withheld for all three employees, who are single, can be determined from the wage bracket withholding table in Exhibit 2. Assume further that the social security tax rate was 6.0%, the Medicare tax rate was 1.5%, and one withholding allowance is $75.

Determine the gross pay and the net pay for each of the three employees for the current pay period. If required, round your answers to two decimal places.

Consultant Computer Programmer Administrator
Gross pay $4,000 $3,300 $2,800
Net pay $ $ $

In: Accounting

You are given the table below which contains sales figures for three industries. Firm                Industry1        Industry2  &nbs

  1. You are given the table below which contains sales figures for three industries.

Firm                Industry1        Industry2        Industry3

A                     $450                $800                $200

B                     $200                $50                  $200

C                     $150                $25                  $200

D                     $100                $25                  $200

E                     $50                  $20                  $200

All Others       5X$10            2X$40             $0

Figures in millions of current dollars.

Note that, 5X$10 in all others category for Industry 1 means 5 firms each having 10 (millions of) dollars sales figures. All others category in Industry2 should be similarly interpreted

a) Compute the 4-firm concentration ration (C4) for each industry. What does this index have to say about which industry is most concentrated?

b) Compute the Herfindahl-Hirschman Index (HHI) for each industry. What does this index have to say about which industry is most concentrated?

c) Why do you think the HHI does a better job than C4 of measuring industry concentration? Give two reasons for your answer and illustrate each one by reference to the above table.

d) In the end, which industry would you describe as the most concentrated?

In: Economics

Using the following 8 weeks of demand data to determine the best forecasting method. Compare 3...

Using the following 8 weeks of demand data to determine the best forecasting method. Compare 3 period simple moving average, 3 period weighted moving average and exponential smoothing. Week Sales 1 133 2 137 3 145 4 146 5 150 6 124 7 135 8 130

a) What is the MAD using the 3 period simple moving average (SMA) method

b) What is the forecast for Week 9 using the 3 period simple moving average forecasting method?

c) What is the MSE using the 3 period weighted moving average (WMA) (weights of 0.40, 0.35, and 0.25) method

d)What is the forecast for Week 9 using the 3 period weighted moving average (weights of 0.40, 0.35, and 0.25) forecasting method?

e) What is the MAPE using the exponential smoothing (ES) method (using α = 0.21)? (Assume the forecast for the first week is 133)

f) What is the forecast for Week 9 using the exponential smoothing (using α = 0.21) forecasting method?(Assume the forecast for the first week is 133)

g) Which of these methods is the best forecasting method? Choose one error measurement for comparison. Explain using quantitative values.

In: Statistics and Probability

Students are expected to have higher grades if they spend more time studying. An educational theorist...

Students are expected to have higher grades if they spend more time studying. An educational theorist collects data on 22 students and the number of hours they spend studying is:

In R: hours <- c(22.3, 22.8, 21.7, 21.3, 18.5, 20.2, 20.7, 18.2, 22.9, 21.5, 18.1, 19.8, 22.7, 22.9, 19.3, 20.8, 21.1, 18.8, 22.4, 18.2, 20, 23) Their grade average is: grades <- c(8.6, 8.5, 7.8, 9.1, 8, 10.2, 7.4, 8.8, 8.8, 8, 8.3, 8.8, 9.8, 9.1, 9.4, 7.4, 10.2, 7.1, 10.4, 7, 9.2, 10.7)

Is there evidence that students who spend more hours studying score higher grades?

(a) State a sensible null hypothesis

(b) State the precise definition of p-value and explain what “more extreme” means in this context

(c) Is a one-sided or two-sided test needed? justify

(d) Perform a linear regression using R and interpret

In: Statistics and Probability

Two Sample Hypothesis Test Show all five steps in your analysis. To get full credit you...

Two Sample Hypothesis Test

Show all five steps in your analysis. To get full credit you must label the CV (critical value) and TV (Test Value) in your drawing. Use the p-value for this test.

A teacher claims that students retain more when reading a novel than when watching a movie version of the novel. Each student read a novel and watched a film version of a different novel. Then they were given a test on both the novel and the movie. A researcher randomly selected a sample of 8 students. Using a one sample statistical test on their differences, test the results at an alpha level of .05. The results are shown in the table below:

Student

1

2

3

4

5

6

7

8

Book

92

80

88

75

82

90

84

76

Movie

86

72

80

80

75

75

80

72

What type of test are you going to perform? ______________________________

In: Statistics and Probability

NOK/NZD swap arrangements (a) You are CFO for a company that borrows NOK 100M at 10%...

NOK/NZD swap arrangements

(a) You are CFO for a company that borrows NOK 100M at 10% for seven years, and you swap the load into NZD at a spot rate of NOK/NZD 4 and the sevenyear swap rates of 7% (NZD) and 8% (NOK). What are the payments on the loan, on the swap, and on the combination of them? Is there a gain if you could have borrowed NZD at 9%?

(b) The swap now has three years to go and your CEO asks you to estimate the value of the swap contract. To recap, your company has now an outstanding fixed-for-fixed NOK/NZD swap for NOK 100M based on the historic spot rate of NOK/NZD 4 and initial swap rates of 7% (NZD) and 8% (NOK). With three years to go and current rates at NOK/NZD 4.5, 6% (NZD) and 5% (NOK). What is the market value of the swap contract?

(c) Use the same data as in the previous part, except that now the NZD leg is a floating rate. The rate has just been reset. What is the market value of the swap?

In: Finance

Suppose an initially empty stack S has performed a total of 15 push operations, 12 top...

Suppose an initially empty stack S has performed a total of 15 push operations, 12 top operations, and 13 pop operations ( 3 of which returned null to indicate an empty stack ). What is the current size of S?

Question 1 options:

Question 2 (1 point)

Saved

What values are returned during the following series of stack operations, if executed upon an initially empty stack? push(5), push(3), pop(), push(2), push(8), pop(), pop(), push(9), push(1), pop(), push(7), push(6), pop(), pop(), push(4), pop(), pop().

seperate by commas ie: 1, 2, 3, 4, 5, 6, 7, 8, 9

Question 2 options:

Question 3 (1 point)

Saved

What values are returned during the following sequence of queue operations, if executed on an initially empty queue? enqueue(5), enqueue(3), dequeue(), enqueue(2), enqueue(8), dequeue(), dequeue(), enqueue(9), enqueue(1), dequeue(), enqueue(7), enqueue(6), dequeue(), dequeue(), enqueue(4), dequeue(), dequeue().

seperate by commas ie: 1, 2, 3, 4, 5, 6, 7, 8, 9

Question 3 options:

Question 4 (1 point)

Saved

What values are returned during the following sequence of deque ( double ended queue ) ADT operations, on an initially empty deque? addFirst(3), addLast(8), addLast(9), addFirst(1), last( ), isEmpty( ), addFirst(2), removeLast( ), addLast(7), first( ), last( ), addLast(4), size( ), removeFirst( ), removeFirst( ).

seperate by commas ie: 1, 2, 3, 4, 5, 6, 7, 8, 9

Question 4 options:

Question 5 (1 point)

Saved

Suppose an initially empty queue Q has performed a total of 30 enqueue operations, 10 first operations, and 15 dequeue operations, 5 of which returned null to indicate an empty queue. What is the current size of Q?

Question 5 options:

In: Computer Science

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1...

Visit the NASDAQ historical prices weblink. First, set the date range to be for exactly 1 year ending on the Monday that this course started. For example, if the current term started on April 1, 2018, then use April 1, 2017 – March 31, 2018. (Do NOT use these dates. Use the dates that match up with the current term.) Do this by clicking on the blue dates after “Time Period”. Next, click the “Apply” button. Next, click the link on the right side of the page that says “Download Data” to save the file to your computer.

This project will only use the Close values. Assume that the closing prices of the stock form a normally distributed data set. This means that you need to use Excel to find the mean and standard deviation. Then, use those numbers and the methods you learned in sections 6.1-6.3 of the course textbook for normal distributions to answer the questions. Do NOT count the number of data points.

Complete this portion of the assignment within a single Excel file. Show your work or explain how you obtained each of your answers. Answers with no work and no explanation will receive no credit.

  1. a) Submit a copy of your dataset along with a file that contains your answers to all of the following questions.

b) What the mean and Standard Deviation (SD) of the Close column in your data set?

c) If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than the mean for that year? Hint: You do not want to calculate the mean to answer this one. The probability would be the same for any normal distribution.

  1. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at more than $950?
  2. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed within $50 of the mean for that year? (between 50 below and 50 above the mean)
  3. If a person bought 1 share of Google stock within the last year, what is the probability that the stock on that day closed at less than $800 per share. Would this be considered unusal? Use the definition of unusual from the course textbook that is measured as a number of standard deviations
  4. At what prices would Google have to close in order for it to be considered statistically unusual? You will have a low and high value. Use the definition of unusual from the course textbook that is measured as a number of standard deviations
  5. What are Quartile 1, Quartile 2, and Quartile 3 in this data set? Use Excel to find these values. This is the only question that you must answer without using anything about the normal distribution.
  6. Is the normality assumption that was made at the beginning valid? Why or why not? Hint: Does this distribution have the properties of a normal distribution as described in the course textbook? Real data sets are never perfect, however, it should be close. One option would be to construct a histogram like you did in Project 1 to see if it has the right shape. Something in the range of 10 to 12 classes is a good number.

In: Statistics and Probability