Diese Präsentation wurde erfolgreich gemeldet.

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
×

1 von 2 Anzeige

CECS-326 ho ar IlI PROBLEMS (50 points) In all problems- you must show.docx

CECS-326 ho ar IlI PROBLEMS (50 points) In all problems, you must show your work to receive proper Problem l: (15 points) Assume a system with 4 resource types, C-, and the maximum claim and the current FROBL ESMS 050 points) on al ust show your work to receive proper credit. allocation tables are shown below: Current Allocation Table Maximum Claim Table RO RI R2 R3 RO RI R2 R3 Process Po Pl P2 P3 P4 4 se the banker\'s algorithm to determine if the system is in a safe state. If it is, show a sequence of processes to be allocated that forms the safe state. Explain your answer fully.
Solution
Given 5 process and 4 resource types R0(with 7), R1(with 7), R2(with 6), and R3( with 7 instances)
By using banker\'s algorithm we find that system is in a safe state and <P1, P0, P2, P3, P4> is a safe sequence.

.

CECS-326 ho ar IlI PROBLEMS (50 points) In all problems, you must show your work to receive proper Problem l: (15 points) Assume a system with 4 resource types, C-, and the maximum claim and the current FROBL ESMS 050 points) on al ust show your work to receive proper credit. allocation tables are shown below: Current Allocation Table Maximum Claim Table RO RI R2 R3 RO RI R2 R3 Process Po Pl P2 P3 P4 4 se the banker\'s algorithm to determine if the system is in a safe state. If it is, show a sequence of processes to be allocated that forms the safe state. Explain your answer fully.
Solution
Given 5 process and 4 resource types R0(with 7), R1(with 7), R2(with 6), and R3( with 7 instances)
By using banker\'s algorithm we find that system is in a safe state and <P1, P0, P2, P3, P4> is a safe sequence.

.

Anzeige
Anzeige

Weitere Verwandte Inhalte

Anzeige

CECS-326 ho ar IlI PROBLEMS (50 points) In all problems- you must show.docx

1. 1. CECS-326 ho ar IlI PROBLEMS (50 points) In all problems, you must show your work to receive proper Problem l: (15 points) Assume a system with 4 resource types, C-, and the maximum claim and the current FROBL ESMS 050 points) on al ust show your work to receive proper credit. allocation tables are shown below: Current Allocation Table Maximum Claim Table RO RI R2 R3 RO RI R2 R3 Process Po Pl P2 P3 P4 4 se the banker's algorithm to determine if the system is in a safe state. If it is, show a sequence of processes to be allocated that forms the safe state. Explain your answer fully. Solution Given 5 process and 4 resource types R0(with 7), R1(with 7), R2(with 6), and R3( with 7 instances) By using banker's algorithm we find that system is in a safe state and <P1, P0, P2, P3, P4> is a safe sequence. Available Available Available Available R0 R1 R2 R3 1 0 3 1