1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ludmilka [50]
4 years ago
5

The four conditions (mutual exclusion, hold and wait, no preemption and circular wait) are necessary for a resource deadlock to

occur. Give an example to show that these conditions are not sufficient for a resource deadlock to occur. When are these conditions sufficient for a resource deadlock to occur
Business
1 answer:
Evgen [1.6K]4 years ago
5 0

Explanation:

The conditions sufficient for a resource deadlock to occur is when a  deadlock will  prevail for process A, B, and C when two resources R and S; if only one instance of each resources is allowed.

Solution

Deadlock conditions

A deadlock is a situation where two or more processes request for same critical resource at the same time.

The mutual exclusion applies a restriction to a resource when the resource is used by any process, it should become unavailable for the other resources

The hold and wait allocations explains that any process which is allocate resources must hold them; till all needed resources are nor sure.

In the meantime, if any other processes need a resource which is held by another process, then the latter will release the resource to prevent deadlock.

No pre-emption states that the operating system can grant access to resources to another process while it is in use by another process; depending on the priority , to prevent deadlock.

Circular wait should not be implemented so that resources being requested by process are allocated when they get free.

Now,

Three processes A, B, and C functions on a system, having two distinct resources R and S.

The resource  R has one instant active while resource S has two instances available.

The instance of R is allocated to a process A after request. first instance of resource S is allocated to process B, and second instance of resource S is allocated to process C.

When a request is placed by process B for resource R, then the resource is not available for execution. the process A request for resource S which is used by both C and B.

All the four conditions prevail in this situation; yet deadlock does not occur.

The resource S is released by process C and is allocated to process A. when process A finishes, it releases resources and resources R is allocate d to process B.

Hence all three processes end without a deadlock.

However, the deadlock will prevail for process A, B, and C when two resources R and S; if only one instance of each resources is allowed.

You might be interested in
Sensible Insurance Company collected a premium of $18,000 for a 1-year insurance policy on April 1. What amount should Sensible
salantis [7]

Answer:

Current liability for 3 months will be $4500

Explanation:

We have given that

Sensible insurance company has collected a premium of $18000

We have given time = 1 year = 12 months

So the premium collected per month [tex]=\frac{$1800}{12}=$1500[/tex

Now, the company has collected the revenue on April 1 and now it is December 31

So number of months from April to December = 9

So total premium earned in 9 months = 9× $1500 = $13500

So current liability for 3 months will be = 3×$1500 = $4500

6 0
4 years ago
According to Forrester's Social Technographics Model a ______ score measures how common it is for a target segment to share prod
matrenka [14]

According to Forrester's Social Technographics Model a Use score measures how common it is for a target segment to share product and service experiences.

<h3>What is Forrester Social Technographics Model?</h3>

This is the model that was developed by this person which focuses on social behaviors.

The model is one that helps commercial business peiople to target the behaviors of their audiences for the sake of building customers relationships.

Read more on Forrester's Social Technographics Model here:

brainly.com/question/13649774

#SPJ1

8 0
2 years ago
Sharp Company manufactures a product for which the following standards have been set: Standard Quantity or Hours Standard Price
marin [14]

Answer:

1a) Actual Cost per foot = 6$

1b) Materials Price variance = 7530

1b) Spending Variance = 10830

2a) Standard Rate = 7.5 USD

2b) Standard Hours = 4804 hours

2c) Standard hours allowed = 2.09

Explanation:

As usual, let's sort out the data given:

1. For direct materials:

a) Compute the actual cost per foot of materials for March.

For actual cost per foot for materials for march. We need to find the actual quantity first. so, we will come back to it.

Data Given:

Units Produced = 2,290

Standard Quantity for Direct material = 3 feet

Standard Quantity for Direct materials = 3 x 2,290 = 6870 feet

Standard Price per foot = 5 USD

Standard Total Units =  6870

Total Price = 5 x 6870 = 34350 USD

But

Actual Price = unknown

Actual Quantity = Unknown

Actual Cost = 45,180$ company purchased the direct materials at that cost.

Material Quality Variance = Standard Price x (Actual Qty - Standard Qty)

Here in this equation, we know all the quantities except Actual Qty. let's make it subject to calculate it.

Actual Qty = 3,300/$5 + 6870

Actual Qty = 7,530

Now, as we have Actual Quantity, we can calculate the part a of part 1.

So, let's calculate a.

a) a) Compute the actual cost per foot of materials for March.

Actual cost per foot = Direct Material Cost / Actual Qty

Actual Cost per foot = 45,180/7530

Actual Cost per foot = 6$

Let's move on to part 1 b.

b) Compute the price variance and the spending variance.

Formula to calculate the Materials Price Variance is as follows:

Materials Price Variance = Actual Qty x( Actual Price - Standard Price)

Materials Price Variance = 7530 x ( 6 - 5)

Materials Price variance = 7530

Now, we have to calculate the spending variance and the formula is as follows:

Spending Variance = (Actual Price x Actual Qty) - (Standard Qty x Standard Price)

Spending Variance = (6 x 7530) - ( 6870 x 5)

Spending Variance = 10830

Let's move on to part 2 a.

a) Compute the standard direct labor rate per hour:

Formula :

Labor rate variance = (Standard Rate - Actual Rate) x Actual Hours

Labor rate variance = Labor spending variance - Labor efficiency variance

Labor rate variance =   3130 - 780 = 2350

In this equation, we know all the quantities but we have to find Standard rate so make it subject.

Standard Rate = 2350/4700 + 7

Standard Rate = 7.5 USD

b. Compute the standard hours allowed for the month’s production.

Labor Efficiency Variance = Standard rate x ( Actual hours - Standard Hours)

In this part, we need to find the standard hours.

let's make it the subject.

Standard hours = 780/7.5 + 4700

Standard Hours = 4804 hours

c. Compute the standard hours allowed per unit of product.

Standard hours allowed can be found by plugging in the values in the following formula.

Formula:

Standard hours allowed = Standard hours / units produced

Standard hours allowed = 4804/2,290

Standard hours allowed = 2.09

6 0
3 years ago
The goal of brand positioning is to explain why one brand is different and better for its target customers, and why the differen
Andrei [34K]

Answer:

True

Explanation:

Brand positioning refers to creating and occupying a place in a prospective customer's mind with respect to a brand. It refers to a brand image created in the minds of prospective customers whenever they think of a brand.

For instance, when a customer thinks of Lacoste, it reminds him of the quality associated with it along with it's French connect.

Brand positioning helps an enterprise distinguish it's own brand from those of the competitors. Also, such an exercise reveals uniqueness of the brand i.e attributes specific of such a brand.

4 0
4 years ago
when the price of a good rises, consumers will stop buying the more expensive goods and switch to substitutes. this behavior is
ad-work [718]
Purchasing power effect

NOTE THIS!!
ANY EFFECT OTHER THAN PURCHASING EFFECT ARE AFFECTED BY NON PRICE FACTORS.
3 0
4 years ago
Other questions:
  • What are Inventions That i could make that Could Change The World
    8·2 answers
  • Left Hand, Inc. has fixed costs of $400,000. Total costs, both fixed and variable, are $550,000 when 40,000 units are produced.
    6·1 answer
  • Acme, Inc., supplies rocket ships to the retail market and hires workers to assemble the components. A rocket ship sells for $35
    8·1 answer
  • On July 1, 20Y1, Danzer Industries Inc. issued $50,000,000 of 10-year, 8% bonds at a market (effective) interest rate of 10%, re
    9·1 answer
  • Homestead Crafts, a distributor of handmade gifts, operates out of owner Emma Finn’s house. At the end of the current period, Em
    12·1 answer
  • Munos Publishing Company uses a job-order costing system to collect costs related to the manufacture of specialty publications f
    13·1 answer
  • I need Welp Help help Help help​
    11·1 answer
  • . A building owner charges net rent of $20 in the first year, $21 in the second year, and $22 in the third year, but is providin
    11·1 answer
  • approach is when an organization accepts the environmental forces as uncontrollable, and a(n) _______ approach is when an organi
    12·1 answer
  • The regular expression for 4-digit cvc numbers used by american express card holders is?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!