Question: figure is for question 1 1) Based on Figure 6-4, (h), on page 442 of the textbook, which of the following statement is CORRECT? A.
1) Based on Figure 6-4, (h), on page 442 of the textbook, which of the following statement is CORRECT? A. Process R requests Resource A B. Resource S has been allocated to Process B C. Resource C has not been allocated to any process yet D. Process A is waiting for Resource T 2) Regarding conditions for resource deadlocks, which of the following statements is NOT true? A. Resources previously granted cannot be forcibly taken away from a process and must be explicitly released by the process holding them. B. Processes currently holding resources that were granted earlier can request new resources C. There must be a circular list of three or more processes, each of which is waiting for a resource held by the next member of the chain. D. Each resource is either currently assigned to exactly one process or is available 3) To allow a process to request and then hold a single resource at a time is one of the strategies in A. deadlock avoidance B. deadlock detection C. deadlock prevention D. deadlock recovery 4) In deadlock prevention, to have a global mumbering of all the resources is an approach for attacking the condition of A. mutual exclusion B. hold and wait C. no preemption D.circular wait DEADLOCKS 442 Request Repos Release Pleases (a) B Requests Request Releases Release T (6) PER Prot Please 1) T 1. A requests 2 requests 3. requests 4. A requests 5.8 requests T 8C requests deadlock (d) R S R R . (1) d) (o) 999 999 AN R S T R (h) (0) 1. A requests R 2. C requests T 3. A requests S 4. C requests 5. A releases 6. A releases S no deadlock con R S S (0) (m R S B R ST (0) (p) Figure 6-4. An example of how deadlock occurs and how it can be avoided
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
