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
bearhunter [10]
3 years ago
7

Illustrate that the system is in a safe state by demonstrating an order in which the threads may complete.If a request from thre

ad T4 arrives for (2, 2, 2, 4), can the request be granted immediately?If a request from thread T2 arrives for (0, 1, 1, 0), can the request be granted immediately?If a request from thread T3 arrives for (2, 2, 1, 2), can the request be granted immediately?
Computers and Technology
1 answer:
Kamila [148]3 years ago
5 0

Answer:

a. safe sequence is T2 , T3, T0, T1, T4.

b. As request(T4) = Available, so the request can be granted immediately

c. As request(T2) < Available, so the request can be granted immediately

d. As request(T3) < Available, so the request can be granted immediately.

Explanation:

It will require matrix

[i, j] = Max [i, j] – Allocation [i, j]

A B C D

T0 3 3 3 2

T1 2 1 3 0

T2 0 1 2 0

T3 2 2 2 2

T4 3 4 5 4

Available = (2 2 2 4)

1. Need(T2) < Available so, T2 can take all resources

Available = (2 2 2 4) + (2 4 1 3) (Allocation of T2) = (4 6 3 7)

2. Need(T3)<Available so, T3 will go next

Available = (4 6 3 7) + (4 1 1 0) = (8 7 4 7)

Like wise next T0, T1, T4 will get resources.

So safe sequence is T2 , T3, T0, T1, T4.

(Note, there may be more than one safe sequence).

Solution b.

Request from T4 is (2 2 2 4) and Available is (2 2 2 4)

As request(T4) = Available, so the request can be granted immediately.

Solution c.

Request from T2 is (0 1 1 0) and Available is (2 2 2 4)

As request(T2) < Available, so the request can be granted immediately.

Solution d.

Request from T3 is (2 2 1 2) and Available is (2 2 2 4)

As request(T3) < Available, so the request can be granted immediately.

You might be interested in
How does one decide which businesses to invest in.
GREYUIT [131]
As you consider your options, here are seven things you should know about a company before you decide to invest:
Earnings Growth. Check the net gain in income that a company has over time. ...
Stability. ...
Relative Strength in Industry. ...
Debt-to-Equity Ratio. ...
Price-to-Earnings Ratio. ...
Management. ...
Dividends.
3 0
3 years ago
Data ________ is important because it establishes an organization's rules for sharing, disseminating, acquiring, standardizing,
photoshop1234 [79]

Data protection policy is important because it establishes an organization's rules for acquiring, standardizing and disseminating data.

<h3>What is Data protection policy?</h3>

These are policies adopted by organizations that help to ensure data is adequately protected.

When data isn't protected , it could get to the hands of criminals which could use it for different types of cybercrime and also to ensure compliance with data protection laws in the country.

Read more about Data protection policy here brainly.com/question/26493645

3 0
2 years ago
In this lab you will learn about the concept of Normal Forms for refining your database design. You will then apply the normaliz
noname [10]

Answer:

I don't know

Explanation:

is about knowing how to make use of the refinery

7 0
3 years ago
In the lab, you defined the information systems security responsibility for each of the seven domains of a typical IT infrastruc
vladimir1956 [14]

Answer:

Remote Access Domain

Explanation:

Remote access Domain allows users to enter into system network through VPN.

8 0
4 years ago
Media convergence is the result of the integration of the different media technologies. Please select the best answer from the c
AlladinOne [14]

This is true

We can simply put media convergence as the merging of previously distinct media technologies into one core technology or ecosystem. All it takes is separate ideas being smashed together to form one big idea. An example of media convergence is a smartphone. The smartphone is the technological convergence of communication. It can be used to communicate while functioning as a computer on which we share and view content. Before, this could have taken several devices to accomplish the above task individually.

7 0
4 years ago
Read 2 more answers
Other questions:
  • What kinds of unstructured data or big data might the BITS corporation want to gather in the future? What kind of devices might
    14·1 answer
  • When using Microsoft word, what would happen to the text of a paragraph if the "Justify" option is used?
    9·1 answer
  • For window 7 explain the steps you will use to find the available program you will list.
    13·1 answer
  • What kind of security features does Microsoft Security Analyzer promise?
    5·1 answer
  • Choose a simple way to let a VPN into your VPC continue to work in spite of routing changes.
    15·1 answer
  • Which of the following best describes when a packet is addressed so that more than one destination can receive it and the first
    11·1 answer
  • Difference between primary key and foreign key
    12·1 answer
  • Yo, my Lenovo laptop keeps showing this screen but I can't sign in, can someone help me?
    5·2 answers
  • The border to the right of a column is called the ____.
    12·1 answer
  • When you are typing data that is in a series, such as days of the week or months of the year, you can use this tool to complete
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!