A system shares tape drives. The current allocation and maximum requirement of tape drives for that processes are shown below:
Which of the following best describes current state of the system?
View worked solution
Answer: B
To determine the state of the system, we first calculate the total allocated resources, the available resources, and the remaining need for each process.
1. Calculate Available Resources:
- Total tape drives =
- Total allocated =
2. Calculate Remaining Need:
3. Find a Safe Sequence:
- With , we can satisfy the need of since . After completes and releases its resources, the new available resources become:
- With , we can satisfy the need of since . After completes and releases its resources, the new available resources become:
- With , we can satisfy the need of since .
Since a safe sequence exists, the system is in a Safe state, which guarantees that it is Not Deadlocked.
Free practice · Your answers on this page are not saved.
