Questions
Consider an array A[1 · · · n] which is sorted and then rotated k steps...

Consider an array A[1 · · · n] which is sorted and then rotated k steps to the right. For example, we might start with the sorted array [1, 4, 5, 9, 10], and rotate it right by k = 3 steps to get [5, 9, 10, 1, 4]. Give an O(log n)-time algorithm that finds and returns the position of a given element x in array A, or returns None if x is not in A. Your algorithm is given the array A[1 · · · n] but does not know k. Use Java to solve this problem

In: Computer Science

Why has the HRM function increased in stature and influence in many organizations and How has...

Why has the HRM function increased in stature and influence in many organizations and How has increased globalization influenced the way HRM is practiced in the United States?

In: Economics

Culture shock how does it affect life in two paragraphs?

Culture shock how does it affect life in two paragraphs?

In: Psychology

Endless Mountain Company manufactures a single product that is popular with outdoor recreation enthusiasts. The company...

Endless Mountain Company manufactures a single product that is popular with outdoor recreation enthusiasts. The company sells its product to retailers throughout the northeastern quadrant of the United States. It is in the process of creating a master budget for 2017 and reports a balance sheet at December 31, 2016 as follows:

Endless Mountain Company

Balance Sheet

December 31, 2016

Assets

Current assets:

Cash

$

46,200

Accounts receivable (net)

260,000

Raw materials inventory (4,500 yards)

11,250

Finished goods inventory (1,500 units)

32,250

Total current assets

$

349,700

Plant and equipment:

Buildings and equipment

900,000

Accumulated depreciation

(292,000

)

Plant and equipment, net

608,000

Total assets

$

957,700

Liabilities and Stockholders’ Equity

Current liabilities:

Accounts payable

$

158,000

Stockholders’ equity:

Common stock

$

419,800

Retained earnings

379,900

Total stockholders’ equity

799,700

Total liabilities and stockholders’ equity

$

957,700

The company’s chief financial officer (CFO), in consultation with various managers across the organization has developed the following set of assumptions to help create the 2017 budget:

  1. The budgeted unit sales are 12,000 units, 37,000 units, 15,000 units, and 25,000 units for quarters 1-4, respectively. Notice that the company experiences peak sales in the second and fourth quarters. The budgeted selling price for the year is $32 per unit. The budgeted unit sales for the first quarter of 2018 is 13,000 units.
  2. All sales are on credit. Uncollectible accounts are negligible and can be ignored. Seventy-five percent of all credit sales are collected in the quarter of the sale and 25% are collected in the subsequent quarter.
  3. Each quarter’s ending finished goods inventory should equal 15% of the next quarter’s unit sales.
  4. Each unit of finished goods requires 3.5 yards of raw material that costs $3.00 per yard. Each quarter’s ending raw materials inventory should equal 10% of the next quarter’s production needs. The estimated ending raw materials inventory on December 31, 2017 is 5,000 yards.
  5. Seventy percent of each quarter’s purchases are paid for in the quarter of purchase. The remaining 30% of each quarter’s purchases are paid in the following quarter.
  6. Direct laborers are paid $18 an hour and each unit of finished goods requires 0.25 direct labor-hours to complete. All direct labor costs are paid in the quarter incurred.
  7. The budgeted variable manufacturing overhead per direct labor-hour is $3.00. The quarterly fixed manufacturing overhead is $150,000 including $20,000 of depreciation on equipment. The number of direct labor-hours is used as the allocation base for the budgeted plantwide overhead rate. All overhead costs (excluding depreciation) are paid in the quarter incurred.
  8. The budgeted variable selling and administrative expense is $1.25 per unit sold. The fixed selling and administrative expenses per quarter include advertising ($25,000), executive salaries ($64,000), insurance ($12,000), property tax ($8,000), and depreciation expense ($8,000). All selling and administrative expenses (excluding depreciation) are paid in the quarter incurred.
  9. The company plans to maintain a minimum cash balance at the end of each quarter of $30,000. Assume that any borrowings take place on the first day of the quarter. To the extent possible, the company will repay principal and interest on any borrowings on the last day of the fourth quarter. The company’s lender imposes a simple interest rate of 3% per quarter on any borrowings.
  10. Dividends of $15,000 will be declared and paid in each quarter.
  11. The company uses a last-in, first-out (LIFO) inventory flow assumption. This means that the most recently purchased raw materials are the “first-out” to production and the most recently completed finished goods are the “first-out” to customers.


ALL I NEED HELP WITH IS FILLING OUT THE CHART BELOW :)

Prepare the ending finished goods inventory budget at December 31, 2017. (Round your answers to 2 decimal places.)

Endless Mountain Company
Ending Finished Goods Inventory Budget
(absorption costing basis)
For the Year Ended December 31, 2017
Item Quantity Cost Total
Production cost per unit:
Direct materials yards per yard
Direct labor hours per hour
Manufacturing overhead hours per hour
Unit product cost $0.00
Budgeted finished goods inventory:
Units from prior year's production
Unit product cost
Cost from prior year's production
Units from current year's production
Unit product cost
Cost from current year's production
Cost of ending finished goods inventory $0

In: Accounting

a 10 pages report about (Effective stress in soil). introduction-body-conclusion

a 10 pages report about (Effective stress in soil). introduction-body-conclusion




In: Civil Engineering

Match each example with the correct input control.       -       A.      ...

Match each example with the correct input control.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

A code is recalculated to determine that it is correct.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

A blank space is detected where it is expected to see a data value.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

The presence of a letter in a customer account code causes a data processing error.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

The payroll system validates that employee hours worked field does not exceed 50 hours.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

The pay rate field is tested to ensure the rate is between $12 and $35.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

The state of Indiana (IN) code is accidentally entered as NI and is flagged as incorrect.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

An employee pay rate for a line worker in a factor of $32 that has passed the limit and range check is flagged when it is compared with the job skill code (#987) for that job position.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

An entry for a negative purchase for inventory quantity (-200) is flagged.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

A check number #228 is flagged because the checks in that batch are #101 - 151.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

When processing sales orders the system verifies that the Customer file name and serial number in the header label with the sales program's requirements.

A.

Reasonableness Check

B.

Missing Data Check

C.

Sequence Check

D.

Check Digit

E.

Numeric - Alphabetic Check

F.

Limit Check

G.

Validity Check

H.

Range Check

I.

Internal Label Check

J.

Sign Check

In: Accounting

Write a class named Rat (to simulate rational or fraction number) such that it works as...

Write a class named Rat (to simulate rational or fraction number) such that it works as in the main below.

int main()

{

Rat a(3, 4), b(1, 2);

a.print(); // output: 3/4

b.print(); // output: 1/2

Rat c = a.add(b);

c.print(); // output: 5/4

// Hint: 3/4 + 1/2 = 6/8 + 4/8 = 10/8 = 5/4

Rat d = a.multiply(b);

d.print(); // output: 3/8

// Hint: 3/4 x 1/2 = 3/8

return 0;

}

In: Computer Science

paper prototype for laundry delivery and pick up app

paper prototype for laundry delivery and pick up app

In: Computer Science

List and briefly explain each step of the production planning process.

List and briefly explain each step of the production planning process.

In: Operations Management

Does Khan-Cullors tell a fuller mission of Black Lives Matter than what is commonly portrayed in...

Does Khan-Cullors tell a fuller mission of Black Lives Matter than what is commonly portrayed in mainstream media?

In: Psychology

For each of the following indicate whether the statement is TRUE or FALSE. a. ____ A...

For each of the following indicate whether the statement is TRUE or FALSE.

a. ____ A resident alien may be a shareholder of an S-Corporation.

b. ____ An LLC can be taxed as an S-Corporation.

c. ____ A shareholder’s basis in the stock of an S-Corporation can be increased when the corporation borrows money from a bank.

d. ____ A calendar-year C-Corporation which is in its third year of operations can make an S-corporation election on May 15 which will be effective for a partial year beginning June 1st.

e. ____ Section 1245 recapture income of an S-Corporation is reported as a separately stated item shareholders via the K-1

In: Accounting

Match each phrase with the appropriate term.       -       A.       B....

Match each phrase with the appropriate term.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Programmed procedures also known as edits or validation controls.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Determines if a value is reasonable when considered alone with other data fields.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Serves as a journal which includes every transaction successfully processed by the system.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Also known as auditing around the computer and requires a detailed knowledge of application’s internal logic.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Also known as auditing through computer and requires in-depth understanding of internal logic.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Used to establish the application processing integrity.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

A variant of test data method in which comprehensive test data goes through repetitive testing until a valid base case is obtained.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Takes step-by-step walk of application’s internal logic.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Automated technique which allows auditors to test logic and controls during normal operations by setting up a dummy entity within the application system.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

Requires auditor to write a program that simulates key features or processes of the application under review.

A.

Transaction Log

B.

Test Data Method

C.

Black-box Approach

D.

Base Case System Evaluation (BCSE)

E.

White-box Approach

F.

Parallel Simulation

G.

Input Controls

H.

Integrated Test Facility (ITF)

I.

Reasonableness Check

J.

Tracing

In: Accounting

Suppose we have a piece of metal sheet of length l = 5.8 cm, and width...

Suppose we have a piece of metal sheet of length l = 5.8 cm, and width w = 10.2 cm to make a capacitor.

(a) If we cut it in two equal halves and make it into a parallel capacitor with plate separation d = 0.4 cm, find the capacitance in pF.
=____ pF

(b) If we cut it into two sections with widths 2?a and 2?b instead (a < b), and roll them up to form a cylindrical capacitor with two shells separated by the same distance d radially, find a and b (in cm).
a =___ cm

In: Physics

The educational model at UoPeople places a great emphasis on examinations. Does your culture or country...

The educational model at UoPeople places a great emphasis on examinations. Does your culture or country have the same emphasis? Do you personally agree with the emphasis placed on examinations?

In: Psychology

Modify your program from Learning Journal Unit 7 to read dictionary items from a file and...

Modify your program from Learning Journal Unit 7 to read dictionary items from
a file and write the inverted dictionary to a file. You will need to decide on
the following:

    * How to format each dictionary item as a text string in the input file.
    * How to convert each input string into a dictionary item.
    * How to format each item of your inverted dictionary as a text string in
      the output file.

Create an input file with your original three-or-more items and add at least
three new items, for a total of at least six items.

------------------------------------------------------------------------------------------------------------------

The Unit 7 program:

Dr_Appointments = {'Mom':[2, 'April', 2020], 'Brother':[6, 'July', 2020], 'Sister':[6, 'January', 2021], }

def invert_dict(d):
inverse = dict()
for key in d:
    val = d[key]
    for val in val:
      if val not in inverse:
        inverse[val] = [key]
      else:
        inverse[val].append(key)
return inverse

print('Dr. Appointments:', Dr_Appointments)

print('Inverted Dr. Appointments:')
Invert_Appointments = invert_dict(Dr_Appointments)
print(Invert_Appointments)

This is the expanded dictionary: the Unit 7 plus three more:

Mom: 2, April, 2020,
Brother: 6, July, 2020,
Sister: 6, January, 2021,
Aunt: 2, December, 2021,
Uncle: 6, November, 2021,
Niece: 2, December, 2020

In: Computer Science