1 According Banker S Algorithm Following Configuration Processes P0 P3 Resources R0 R3 R Q37040417

1. According to the Banker’s algorithm, does the followingconfiguration of processes P0 … P3 and resources R0 … R3represent a safe state?

Claim:
    R0 R1 R2 R3
P0   6   2   1   4
P1   2   3   2   1
P2   1   5   3   2
P3   2   4   5   3

Current:
    R0 R1 R2 R3
P0   2   2   1   2
P1   1   2   0   1
P2   0   3   1   1
P3   1   0   4   3

Total Resources:
R0 R1 R2 R3
6 8 9 7

T/F?

2.Banker’s Algorithm:

Assume the following configuration of processes P0 … P3 andresources R0 … R3? Is the following a safe state?

Claim:
    R0 R1 R2 R3
P0   5   3   2   3
P1   2   3   2   1
P2  

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.