Question

Chapter 5 Process Synchronization 7. Consider a system with 14 dedicated devices of the same type. All jobs cur- a maximum of

10. This system has 16 devices. Job No. Devices Allocated Maximum Required Job 1 Job 2 8 Job 3 Job 4 2

I need answer of 10th question.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

10. Total number of devices in the system=16
  Total number of allocated devices is 5+3+4+2=14
So, number of free devices=16-14=2
Number of devices needed by Job1=8-5=3
  Number of devices needed by Job2=9-3=6
  Number of devices needed by Job3=8-4=4
  Number of devices needed by Job1=5-2=3

So, we can see that none of the above jobs can be completed using the free devices because the no. of free devices is less than the number of devices needed by any of the above jobs.

Therefore, the above situation is in a Deadlock and none of the jobs can proceed further.


If the answer helped then please upvote.And for any queries,please comment.

Add a comment
Know the answer?
Add Answer to:
I need answer of 10th question. Chapter 5 Process Synchronization 7. Consider a system with 14...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need help with this operating systems question

    Consider a system with 13 dedicated devices of the same type and all jobs currently running on this system require a maximum of three devices to complete their execution but they each run for long periods of time with just two devices and request the remaining one only at the very end of the run. Assume that the job stream is endless and that your operating system’s device allocation policy is a very conservative one: No job will be started...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT