Question: (8 Points) Suppose that a computer system has the following number o:f instances of the indicated resource types Number of instances Resource Type CD-ROM Tape

 (8 Points) Suppose that a computer system has the following number

(8 Points) Suppose that a computer system has the following number o:f instances of the indicated resource types Number of instances Resource Type CD-ROM Tape Drives Laser Printers Scanner Ink Jet Printers Film Scanners Speakers Dot Matrix Printers 10 12 16 12 15 Let these resources be represented by the vector: [5, 10, 12, 22, 16,12, 11, 15] where the position of a resource is given by the order it appears in the above table Suppose there are 8 processes, P1 through Ps. The current state of resource allocation is given by Allocation where the ith row shows the resource allocation to the ith process The set of requests for additional resources is given by Request; where the ith row shows the requests for the ith process. 1 1 13 4 1 0 1 6 1 0 1 2 5 21 0 2 0 3 3 3 0 3 2 3 0 1 1 1 0 0 0 0 1 1 0 0 21 2 2 0 1 0 1 2 0 3 1 0 0 1 1 2 1 0 1 2 1 01 0 0 0 0 1 2 0 0 2 0 0 01 1 0 0 0 0 0 011 0 1 Allocation Reauest- 0 0 01 1 0 2 1 3 3 4 1 21 0 Determine whether or not there is a deadlock present. If a deadlock is present, state which processes are deadlocked. Show your work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!