Management Notes

Reference Notes for Management

Suppose a system has six equivalent tape drives. Three concurrent processes P1,P2 and P3 require three, two and four of these tape drives, respectively, to complete their execution. At a given instance two, one and one of these tape drives are allocated to these processes P1, P2 and P3 respectively. Which of the following allocations will bring the system to an unsafe state?

Looking for the answer to the question below related to Operating System?

Suppose a system has six equivalent tape drives. Three concurrent processes P1,P2 and P3 require three, two and four of these tape drives, respectively, to complete their execution. At a given instance two, one and one of these tape drives are allocated to these processes P1, P2 and P3 respectively. Which of the following allocations will bring the system to an unsafe state?

 Options:

(a) Allocating one tape drive to process P1
(b) Allocating one tape drive to process P2
(c) Allocating one tape drive to process P3
(d) allocating two tape drives to process P3
(e) Allocating one tape drive to P1 and another one to P3.

 

The Correct Answer Is:

  • (d) allocating two tape drives to process P3

 

Conclusion

I hope you got the answer to your question.

Smirti

Leave a Comment