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
Kosher Pickle Company acquires all the outstanding stock of Midwest Produce for $15.0 million. The fair value of Midwest's asset
JulsSmile [24]

Given Information:

Fair value of consideration paid = $15 million

Fair value of Midwest's assets=$11.9 million

Fair value of  Midwest's liabilities=$1.7 million

Required Information:

Amount paid for goodwill = ?

Answer:

Amount paid for goodwill = 4.8 million

Explanation:

The amount of goodwill can be calculated by

Amount of goodwill = Fair value of consideration paid - Fair value of net identifiable assets

The Fair value of net identifiable assets is found by

Fair value of net identifiable assets = Fair value of Midwest's assets - Fair value of Midwest's liabilities

Fair value of net identifiable assets = 11.9 - 1.7

Fair value of net identifiable assets = 10.2 million

Therefore, the amount paid for goodwill is

Amount paid for Goodwill = 15 - 10.2

Amount paid for Goodwill = 4.8 million

7 0
2 years ago
You work for an automotive parts distributor based in Ohio that is expanding operations in China. Management and operations empl
yKpoI14uk [10]

Answer:

b) Heightened global competition

Explanation:

Since in the question it is mentioned that working as a distributor of an automative part i.e. based on the Ohia diversifies its business operations in China. Also the employees and the management are working with this division and taking the classes on the chinese culture and their customs in order to feel comfortable

So this scenario represents that the global competition is on the peak

Therefore the option b is correct

3 0
2 years ago
Below is the complete list of accounts of Sooner Company and the related balance at the end of April. All accounts have their no
allochka39001 [22]

Answer:

                                           Trial Balance

                                                     <u>Debit</u>               <u>Credit</u>

Land                                             53000

Accounts Receivable                  5400

Cash                                              3200

Prepaid Rent                                6700

Accounts Payable                                                 3600

Deferred revenue                                                  1950

Common Stock                                                      33000

Retained earnings                                                 21250

Service Revenue                                                   24700

Salaries expense                          7500

Supplies expense                       <u>  8700  </u>            <u>              </u>

Totals                                            84500               84500                    

Explanation:

The trial balance has been made in the answer section.

3 0
2 years ago
Find the effective interest rate per payment period for an interest rate of 9% compounded monthly for each of the given payment
Temka [501]

Answer:

a. 0.75% per month

b. 2.25% per quarter

c. 4.5% semi- annually

d. 9% yearly

Explanation:

a. Computing the effective interest rate per payment period for the payment schedule which is monthly:

Effective rate (monthly) = Nominal rate (r) / Compounded monthly (m)

where

r is 9%

m is 12

Putting the values above:

= 9% / 12

= 0.75% per month

b. Computing the effective interest rate per payment period for the payment schedule which is quarterly:

Effective rate (quarterly) = Nominal rate (r) / Compounded quarterly (m)

where

r is 9%

m is 4

Putting the values above:

= 9% / 4

= 2.25% per quarter

c. Computing the effective interest rate per payment period for the payment schedule which is semi- annually:

Effective rate (semi- annually) = Nominal rate (r) / Compounded quarterly (m)

where

r is 9%

m is 2 (every 6 months)

Putting the values above:

= 9% / 2

= 4.5% semi- annually

d. Computing the effective interest rate per payment period for the payment schedule which is annually:

Effective rate (annually) = Nominal rate (r) / Compounded yearly (m)

where

r is 9%

m is 1 (end of the year)

Putting the values above:

= 9% / 1

= 9% yearly

3 0
3 years ago
A business in which the owners have little personal responsibility for the company’s debts and actions is called a
adell [148]
I believe the answer is A.
7 0
2 years ago
Other questions:
  • On June 1, Parson Assoc. sold equipment to Arleo and agreed to accept a 3-month, $55,000, 10% interest-bearing note in payment a
    8·1 answer
  • Foreign currencies that are deposited in banks outside the home country are known as A. Eurobond. B. Eurocurrencies. C. foreign
    7·1 answer
  • What is the primary source of revenue for the government?
    11·1 answer
  • Strong global competition can result in ____ in the United States.
    5·2 answers
  • A software engineer believes that if she can complete her current project on time she will get her much awaited promotion to the
    9·1 answer
  • Waterway Company’s checkbook balance on December 31, 2020, was $84800. In addition, Sheridan held the following items in its saf
    10·1 answer
  • Describe an example of a task that it might make sense for a company to outsource.
    5·1 answer
  • The comparative balance sheets for Swifty Company show these changes in noncash current asset accounts: accounts receivable decr
    13·1 answer
  • How legislation can lead to the success and failure of a company​
    15·1 answer
  • A British grocery chain uses previously obtained U.S. dollars to purchase apples from the United States. This transaction
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!