Question: Problem H (13 Points) Suppose that a computer system has the following number of instances of the indicated resource types Number of instances Resource T
Problem H (13 Points) Suppose that a computer system has the following number of instances of the indicated resource types Number of instances Resource T CD-ROM Tape Drives Laser Printers Scanner Ink Jet Printers Film Scanners Speakers Dot Matrix Printers 12 16 12 10 15 Let these resources be represented by the vector: [5, 11, 12, 22, 16, 12, 10, 15] where the position of a resource is given by the order it appears in the above table Suppose there are 7 processes, Pi through Pr. 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 4 2 1 3 2 2 0 0 0 1 2 0 0 2 0 0 0 1 0 0 1 611 1 1 0 1 15 2 1 0 2 2 0 0 1 0 0 1 0 Request -2 0 0 2 1 2 Allocation0 0 0 0 0 1 0 0 0 1 0 2 2 2 3 41 3 2 0 2 1 01 1 1 0 0 3 0 1 2 01 1 etermine 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
Get step-by-step solutions from verified subject matter experts
