ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329600005_胡悦 >
Homework_05 Version 0
👤 Author: by 2014329600005valerie 2016-12-23 18:27:24
7.11 Consider the following snapshot of a system:

IMG_8131

Answer the following questions using the banker’s algorithm:

a. What is the content of the matrix Need?

P0(0 0 0 0)

P1(0 7 5 0)

P2(1 0 0 2)

P3(0 0 2 0)

P4(0 6 4 2)

b. Is the system in a safe state?

Yes, consider the safty algorithm.

c. If a request from process P1 arrives for (0,4,2,0), can the request be granted immediately?

Yes, consider the resource-request algorithm.

Please login to reply. Login

Reversion History

Loading...
No reversions found.