Questions
Linux always picks up the process from the highest priority queue that is not empty. How...

Linux always picks up the process from the highest priority queue that is not empty.

How does it prevent starvation of processes in the lower priority queues?

(Please help Operating system question, 6 points)

In: Computer Science

Question 4: Service department cost allocation Inns Battery Company has two service departments: Maintenance and Personnel....

Question 4: Service department cost allocation

Inns Battery Company has two service departments: Maintenance and Personnel. Maintenance Department costs are allocated on the basis of budgeted maintenance-hours. Personnel Department costs are allocated based on the number of employees. Data on budgeted maintenance-hours and number of employees are as follows:

Support Departments

Production Departments

Maintenance Department

Personnel Department

A

B

Budgeted costs

$180,000

$30,000

$80,000

$120,000

Budgeted maintenance-hours

n/a

240

720

240

Number of employees

20

n/a

60

120

Required:

4a. Using the direct method, determine the amount of support department costs to be allocated to Production Department A.

4b. Using the step-down method, determine the amount of Maintenance Department costs to be allocated to Production Department A, if the service department with the highest percentage of interdepartmental support service is allocated first.

4c. Using the reciprocal method, determine the amount of maintenance department costs to be allocated to Production Department A (round up to nearest dollar).

4d. List and explain two possible reasons why a manager might prefer that budgeted rather than actual cost-allocation rates be used when cost is being allocated to his/her department from another department. Use the textbook and/or other relevant resources to support your answer.

In: Accounting

Write a complete Java program, including import statements, variable declarations and initializations as needed, for the...

Write a complete Java program, including import statements, variable declarations and initializations as needed, for the following problem. DO NOT USE ARRAYS.

The program will read from the keyboard a series of records, each record containing a city ID number (integer), morning temperature (integer) and evening temperature (integer). See below for sample input.

Sample input:

123 72 79

157 80 100

103 76 56

9999

For each city ID read in, compute the average of the two temperatures. Print a heading and below it the city ID, morning temperature, evening temperature and the average temperature (one decimal place) with columns lined up as shown below in the sample output using printf. Continue reading records until the city id is 9999.

Sample output:

City id morning evening average 123 72 79 75.5

When all records have been read in, print (a) the total number of records read in, (b) the lowest AM temperature and the associated city ID and (c) the highest average temperature (one decimal point) and the associated city ID. Don’t print the numbers by themselves (123 72); include a description to explain what the number represents. For example,

City 123 has the lowest morning temperature of 72

If the user entered 9999 as the first city, the program should print “No records read in”.

In: Computer Science

Professor Modyn wants to power his refrigerator with a heat engine. A Carnot heat engine receives...

Professor Modyn wants to power his refrigerator with a heat engine. A Carnot heat engine receives heat from a reservoir at 493.0°C at a rate of 767 kJ/min and rejects heat to the ambient air at 29.1°C. The entire work output of the heat engine is used to drive a refrigerator that removes heat from the refrigerated space at -3.23°C and transfers it to the same ambient air at 29.1°C. Note: The IUPAC sign conversion for work is used. Work into the system has a positive value.

a) Determine the maximum rate of heat removal from the refrigerated space (kW)

b) Determine the total rate of heat rejection to the ambient air. Heat rejection is a negative value. Account for both the heat engine and refrigerator. (kW)

In: Physics

Assuming equal concentrations and complete dissociation, rank these aqueous solutions by their freezing points from highest...

Assuming equal concentrations and complete dissociation, rank these aqueous solutions by their freezing points from highest to lowest freezing points. LiNO3, Li3PO4, K2CO3

In: Chemistry

Describe what causes the differences in markup. What product category in a meat department tends to...

Describe what causes the differences in markup. What product category in a meat department tends to have the highest markups and profit? Explain why this is the case?

In: Economics

What z-score separates the highest 3 percent of the standard normal distribution from the lower 97...

What z-score separates the highest 3 percent of the standard normal distribution from the lower 97 percent (i.e. represents the 97th percentile)?

In: Math

Assume that there are two companies identical in every way except that Company A uses FIFO...

Assume that there are two companies identical in every way except that Company A uses FIFO and Company B uses the average cost method to value their inventory.

If both companies visited a bank for the purpose of obtaining a loan due to rising inventory costs and the bank made its decision based on the highest net income, which company would be better positioned to obtain the loan?

What if the bank made its decision based on the highest cash flows associated with the inventory costing method the company uses? Which company would be better positioned to obtain the loan? Elaborate on your responses for the above questions.

In: Accounting

use C++ Write a program to calculate the frequency of every letter in an input string...

use C++

  1. Write a program to calculate the frequency of every letter in an input string s.
    1. Your program should be able to input a string.
    2. Calculate the frequency of each element in the string and store the results
    3. Your program should be able to print each letter and its respective frequency.
    4. Identify the letter with the highest frequency in your message.
    5. Your message should be constructed from at least 50 letters.

Example of Output:

letters

frequency

a

10

b

4

c

6

v

12

s

20

z

1

r

3

Letter s has the highest frequency of 20.

In: Computer Science

T/F The highest EPS numbers will always produce the lowest WACC figure to maximize stock price

Answer the following true/false statements:

  1. T/F The highest EPS numbers will always produce the lowest WACC figure to maximize stock price

  2. T/F The goal of a firm is to maximize the value of its stock and that occurs at the point where the WACC is the highest

  3. T/F Capital structure refers to the % of equity and the % of debt affirm has with the goal of minimizing that cost or finding the lowest WACC.

  4. T/F Essentially, the whole idea of valuing stocks and bonds and deciding whether or not to accept or reject capital investments (machines, a truck fleet, etc.) is to compute the present value of the cash flows.

In: Finance