ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > zstu-(2021-2022)-1 > online classroom excerse >
online classroom excerse 4 Version 0
👤 Author: by writer 2021-11-03 01:34:35
question7.11

Please login to reply. Login

enochdongbogmailcom • 2021-11-03 10:49:03
Solution to this question is shown below:

 

a. What is the content of the matrix Need? The values of Need for processes P0 through P4 respectively are (0, 0, 0, 0), (0, 7, 5, 0), (1, 0, 0, 2), (0, 0, 2, 0), and (0, 6, 4, 2).

b. Is the system in a safe state? Yes. With Available being equal to (1, 5, 2, 0), either process P0 or P3 could run. Once process P3 runs, it releases its resources which allow all other existing processes to run.

c. If a request from process P1 arrives for (0,4,2,0), can the request be granted immediately? Yes it can. This results in the value of Available being (1, 1, 0, 0).One ordering of processes that can finish is P0, P2, P3, P1, and P4. PostVer 0

Please login to reply. Login

wx287_oz26ft9kj5xmhwpxrgrproeojxwo • 2021-11-03 10:52:49
<a href="http://www.yvsou.com/wp-content/uploads/sites/30/2021/11/A24F5C4A-905D-4F86-8E70-79DA53055B28.jpeg"><img class="alignnone size-medium wp-image-9673" src="http://www.yvsou.com/wp-content/uploads/sites/30/2021/11/A24F5C4A-905D-4F86-8E70-79DA53055B28-300x225.jpeg" alt="" width="300" height="225" /></a> PostVer 0

Please login to reply. Login

meekkofaoutlookcom • 2021-11-03 10:53:41
Answer only

A) The values of need for processes Po through P4 respectively are (0,0,0,0),(0,7,5,0),(1,0,0,2),(0,0,2,0) and (0,6,4,2).

B) Yes, with available being equal to (1,5,2,0), either process Po or P3 could run. Once process P3 runs it releases its resources which allow all other existing processes to run.

C) Yes, it can. This results in the value of available being (1,1,0,0). One ordering of processes that can finish is P0,P2,P3,P1 and P4. PostVer 0

Please login to reply. Login

wx287_oz26ft8z0hrxg4bfxzjnbg_sik8g • 2021-11-03 10:56:41
What is the content of the matrix Need? The values of Need for
System0,0,2),(0,0,2,0),and (0,6,4,2). processes Po through P respectively are (0,0,0,0),(0,7,5,0),(1
b. Is the system in a safe state? Yes. With Aailable being equal to (1
5,2,0),either process Py or Ps could run. Once process Py runs,it releases its resources which allow all other existing processes to run.
C. If a request from process P arrives for (0,4,2,0),can the request
be granted immediately? Yes it can. This results in the value of Availablebeing(1,1,0,0).One ordering of processes that can finish is Po, Pz,Ps, Pi,and P. PostVer 0

Please login to reply. Login

wx287_oz26ft5hylnh-3avnwh-nhhga730 • 2021-11-03 10:56:54
SEYIDOWA Jemile   Solution to this question is shown below:   a. What is the content of the matrix Need? The values of Need for processes P0 through P4 respectively are (0, 0, 0, 0), (0, 7, 5, 0), (1, 0, 0, 2), (0, 0, 2, 0), and (0, 6, 4, 2). b. Is the system in a safe state? Yes. With Available being equal to (1, 5, 2, 0), either process P0 or P3 could run. Once process P3 runs, it releases its resources which allow all other existing processes to run. c. If a request from process P1 arrives for (0,4,2,0), can the request be granted immediately? Yes it can. This results in the value of Available being (1, 1, 0, 0).One ordering of processes that can finish is P0, P2, P3, P1, and P4. PostVer 0

Please login to reply. Login

yusup2000yusupgmailcom • 2021-11-03 10:59:33
.2019529628023 A.YUSUP What is the content of the matrix Need? The values of Need for
System0,0,2),(0,0,2,0),and (0,6,4,2). processes Po through P respectively are (0,0,0,0),(0,7,5,0),(1
b. Is the system in a safe state? Yes. With Aailable being equal to (1
5,2,0),either process Py or Ps could run. Once process Py runs,it releases its resources which allow all other existing processes to run.
C. If a request from process P arrives for (0,4,2,0),can the request
be granted immediately? Yes it can. This results in the value of Availablebeing(1,1,0,0).One ordering of processes that can finish is Po, Pz,Ps, Pi,and P4 PostVer 0

Please login to reply. Login

2990994011qqcom • 2021-11-03 10:59:50
a.
matrix Need
(0 0 0 0)
(0 7 5 0)
(1 0 0 2)
(0 0 2 0)
(0 6 4 2)
b.Yes. With Available being equal to (1,5, 2, 0), either process P0 or P3 could run. Once process P3 runs, it releases its resources which allow all other existing processes to run.
c.Yes.This results in the value ofAvailable being (1, 1, 0, 0). One ordering of processes that can finish
is P0, P2, P3, P1, and P4. PostVer 0

Please login to reply. Login

xamraev2020mailru • 2021-11-03 11:02:58
. What is the content of the matrix Need? The values of Need for
System0,0,2),(0,0,2,0),and (0,6,4,2). processes Po through P respectively are (0,0,0,0),(0,7,5,0),(1
b. Is the system in a safe state? Yes. With Aailable being equal to (1
5,2,0),either process Py or Ps could run. Once process Py runs,it releases its resources which allow all other existing processes to run.
C. If a request from process P arrives for (0,4,2,0),can the request
be granted immediately? Yes it can. This results in the value of Availablebeing(1,1,0,0).One ordering of processes that can finish is Po, Pz,Ps, Pi,and P. PostVer 0

Please login to reply. Login

feropatienceoutlookcom • 2021-11-03 11:12:10
PATIENCE FERO  2019529628044

a. The values of Need for processes P0 through P4 respectively are (0, 0, 0, 0), (0, 7, 5, 0), (1, 0, 0, 2), (0, 0, 2, 0), and (0, 6, 4, 2).

b.  Yes, With Available being equal to (1, 5, 2, 0), either process P0 or P3 could run. Once process P3 runs, it releases its resources which allow all other existing processes to run.
<ul>
<li>c. Yes it can. This results in the value of Available being (1, 1, 0, 0).One ordering of processes that can finish is P0, P2, P3, P1, and P4.</li>
</ul> PostVer 0

Please login to reply. Login

1615379639qqcom • 2021-11-03 11:45:16
<div data-canvas-width="241.10735215686273">a. What is the content of the matrix Need? The values of Need for processes P0 through P4 respectively are (0, 0, 0, 0), (0, 7, 5, 0), (1,0, 0, 2), (0, 0, 2, 0), and (0, 6, 4, 2).</div>
<div> b. Is the system in a safe state? Yes.With Available being equal to (1,5, 2, 0), either process P0 or P3 could run. Once process P3 runs, itreleases its resources which allow all other existing processes torun.</div>
<div>c. If a request from process P1 arrives for (0,4,2,0), can the requestbe granted immediately? Yes it can. This results in the value ofAvailable being (1, 1, 0, 0).One ordering of processes that can finishis P0, P2, P3, P1, and P4.</div> PostVer 0

Please login to reply. Login

1097682897qqcom • 2021-11-03 12:06:59
a.The values of Need for processes P0 through P4respectively are (0,0,0,0),(0,7,5,0), (1,0,0,2),(0,0,2,0), and (0,6,4,2).
b.Yes.If the available processes are equal to(1,5,2,0), PO or P3could run.If process P3 runs, it releases resources and allows all other processes to run.
c.Yes it can.The available values are (1,1,0,0).P0,P2,P3,P1,and P4 . PostVer 0

Please login to reply. Login

shadowchrisbaby23gmailcom • 2021-11-03 12:07:44
. What is the content of the matrix Need? The values of Need for
System0,0,2),(0,0,2,0),and (0,6,4,2). processes Po through P respectively are (0,0,0,0),(0,7,5,0),(1
b. Is the system in a safe state? Yes. With Aailable being equal to (1
5,2,0),either process Py or Ps could run. Once process Py runs,it releases its resources which allow all other existing processes to run.
C. If a request from process P arrives for (0,4,2,0),can the request
be granted immediately? Yes it can. This results in the value of Availablebeing(1,1,0,0).One ordering of processes that can finish is Po, Pz,Ps, Pi,and P. PostVer 0

Please login to reply. Login

jtjabakagmailcom • 2021-11-03 12:39:11
a)  (0,0,0,0), (0,7,5,0), (1,0,0,2), (0,0,2,0), and (0,6,4,2) respectively

b) yes, available being (1,5,2,0), P0 or P3 could run.

c)  Yes. result will be (1,1,0,0) with ordering P0, P2, P3, P1 and P4. PostVer 0

Please login to reply. Login

rootfreanjacn • 2021-11-08 15:41:43
<a href="http://www.yvsou.com/wp-content/uploads/sites/30/2021/11/7.11-Consider-the-following-snapshot-of-a-system.png"><img class="alignnone size-medium wp-image-9674" src="http://www.yvsou.com/wp-content/uploads/sites/30/2021/11/7.11-Consider-the-following-snapshot-of-a-system-248x300.png" alt="" width="248" height="300" /></a> PostVer 0

Please login to reply. Login

3317097493qqcom • 2021-12-29 20:32:06
<a href="http://yvsou.com/wp-content/uploads/2021/12/ex4.jpg"><img class="alignnone size-medium wp-image-95790" src="http://yvsou.com/wp-content/uploads/2021/12/ex4-225x300.jpg" alt="" width="225" height="300" /></a> PostVer 0

Please login to reply. Login

nintendolinkfoxmailcom • 2021-12-30 00:07:24
<a href="http://www.yvsou.com/wp-content/uploads/sites/30/2021/12/ScreenShot-2021-12-30-at-00.17.02@2x.png"><img class="alignnone size-large wp-image-9803" src="http://www.yvsou.com/wp-content/uploads/sites/30/2021/12/ScreenShot-2021-12-30-at-00.17.02@2x-1024x328.png" alt="" width="620" height="199" /></a> PostVer 0

Please login to reply. Login

Reversion History

Loading...
No reversions found.