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]
3 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]3 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
One of your customers is delinquent on his accounts payable balance. You’ve mutually agreed to a repayment schedule of $500 per
jekas [21]

Answer: Number of months = 66.87 months

Explanation:

Given that,

Monthly Payment = $500

Interest rate(r) = 1.95% per month

Current Balance = $18,500

Number of months(t) = ?

Current\ balance = Monthly\ payment\times(\frac{1-present\ value\ factor}{r})

Current\ balance = Monthly\ payment\times(\frac{1-\frac{1}{(1+r)^{t}} }{r})

18,500 = 500\times(\frac{1-\frac{1}{(1+0.0195)^{t}} }{0.0195})

\frac{18,500}{500}\times0.0195=1-\frac{1}{1.0195^{t} }

\frac{1}{1.0195^{t}}=1-0.7215

1.0195^{t}=\frac{1}{0.2785}

1.0195^{t}=3.5906

Taking log on both side

t log(1.0195) = log(3.5906)

t = \frac{0.5551}{0.0083}

t = 66.87 months

6 0
4 years ago
Lorenzo and Lila own all of the Double L Corporation's stock. The stock of this corporation is not sold to the general public. L
ladessa [460]

Owners of the company.

<h3>What is a stock of a company?</h3>
  • A stock usually referred to as equity, is a type of investment that denotes ownership in a portion of the issuing company.
  • Shares, also known as units of stock, entitle their owners to a share of the company's assets and income in proportion to the number of shares they possess.
<h3>What is an owner of a company?</h3>
  • A company's "owner" is a person who owns all of the shares.
  • In contrast, a "co-owner" shares ownership of a business with one or more partners.
  • The owner, who is frequently the company's founder, is free to run their business however they like.

Therefore, Lorenzo and Lila are owners of the Double L Corporation.

Know more about stocks here:

brainly.com/question/1957305

#SPJ4

6 0
2 years ago
Edith Carolina is president of the Deed Corporation. The company is decentralized, and leaves investment decisions up to the dis
Softa [21]

Answer:

Check the explanation

Explanation:

In this case option A is the correct option, i.e. Carolina will accept the new cosmetic line but Sanders will reject the new cosmetic line. This is because Carolina being the president of Deed Corporation would like to take the cosmetic line differently and with the expected rate of return of 12%, i.e. higher than the minimum required rate of return of 8%.

However, Sanders has achieved a 14% rate of return from his cosmetic division thus, being the manger he would not like his performance to go down with 12% return from the new cosmetic line. Thus, option A is the correct option.  

8 0
3 years ago
The Sealing Company has 1,500 bonds outstanding that are selling for $1,060 each. The company also has 5,000 shares of preferred
iris [78.8K]

The weight of the common stock as it relates to the firm's weighted average cost of capital is <u>35%</u>.

<h3>What is the weighted average cost of capital?</h3>

The weighted average cost of capital computes a firm's cost of capital based on the firm's average cost of capital from all sources: common stock, preferred stock, bonds, and other forms of debt.

The weight of the common stock can be determined by dividing the common stock market value by the total capitalization from all sources.

<h3>Data and Calculations:</h3>

Outstanding:

Bonds payable = $1,590,000 (1,500 x $1,060)

Preferred stock = $160,000 (5,000 x $32)

Common stock = $936,000 (36,000 x $26)

Total debts and equity = $2,686,000

Weight of common stock = 35% ($936,000/$2,686,000 x 100)

Thus, the weight of the common stock as it relates to the firm's weighted average cost of capital is <u>35%</u>.

Learn more about the weighted average cost of capital at brainly.com/question/14703616

4 0
2 years ago
In 2017, Orear Manufacturing signed a contract with a supplier to purchase raw materials in 2018 for $700,000. Before the Decemb
MArishka [77]

Answer:

d) as a current liability

Explanation:

Current Liabilities are those liabilities which are payable within one years time e.g trade payable, tax payable etc.

The credit against the purchase of inventory is classified as the trade payable and it is paid in a short time, so it will be reported on the balance sheet in current liability section.

5 0
3 years ago
Other questions:
  • A house is appraised for $25,000, and shows an assessed value of $20,000. The taxes on the house are $300 annually. What would t
    10·1 answer
  • The "swish" design for Nike is a _[blank]_.
    13·2 answers
  • One of Hartman Company's activity cost pools is inspecting, with estimated overhead of $140,000. Hartman produces throw rugs (70
    15·1 answer
  • Which of the following statements concerning a bank savings account is false? a. Deposits are insured for at least $100,000. b.
    9·1 answer
  • "________ are a form of product that consists of activities, benefits, or satisfactions offered for sale that are essentially in
    11·1 answer
  • _____ is a process in which managers and employees at all levels set objectives for what they are to accomplish
    14·1 answer
  • Barbara Smith is an employee of Allied Manufacturing Company. She has an 8-hr workday and each day is paid $0.60 for each unit p
    12·1 answer
  • Multiple Choice Question 38 Vaughn, Inc. has 1000 shares of 5%, $10 par value, cumulative preferred stock and 63000 shares of $1
    7·1 answer
  • Joseph lost $5,000 after engaging in a work-from-home scam. What action should he take to seek retribution?
    6·1 answer
  • You are putting together your first post-graduation budget. Your take-home pay will be $2,500 per month. You estimate your month
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!