Assignment3 13
Assignment3 13
ASSIGNMENT 3
Course Number: 0101306
Section(s): 61
Date: 24-2-2014
QUESTIONS
Consider the following snapshot of a system (P=Process, R=Resource):
RA
8
P0
P1
P2
P3
P4
P0
P1
P2
P3
P4
Maximum Demand
RA
RB
RC
3
2
1
0
2
5
5
1
0
1
5
3
3
0
3
Current Allocation
RA
RB
RC
1
0
1
0
1
2
4
0
0
1
2
1
1
0
3
Available
RB
RC
5
9
RD
7
RD
4
2
5
0
3
RD
1
1
3
0
0
Needs
RB
RC
RD
P0
P1
P2
P3
P4
b)
Is the system in a safe state? If so, show a safe order in which the processes can run.
GOOD LUCK