Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

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

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Cargando en…3
×

Eche un vistazo a continuación

1 de 2 Anuncio

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

Descargar para leer sin conexión



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.

.

Anuncio
Anuncio

Más Contenido Relacionado

Más de mmary455 (20)

Anuncio

Más reciente (20)

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

×