Problems Using Bankers Algortihm: Operating System
Problems Using Bankers Algortihm: Operating System
Q1.
Available
A B C D
2 5 3 2
Process Need
A B C D
P0 0 1 1 0
P1 1 6 5 0
P2 0 1 2 2
P3 1 3 3 0
P4 1 2 4 4
Available
A B C D
3 3 2 1
Process Need
A B C D
P0 2 2 1 1
P1 2 1 3 1
P2 0 2 1 3
P3 0 1 1 2
P4 2 2 3 3
Operating System
Available
A B C D
1 5 2 0
Process Need
A B C D
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
Operating System
Available
A B C
3 3 2
Process Need
A B C
P0 7 4 3
P1 1 2 2
P2 6 0 0
P3 0 1 1
P4 4 3 3