Question: 1. What is the difference among deadlock avoidance, detection, and prevention? 2. Given the following two Resource-Allocation Graphs. Identify the state (i.e. deadlock, safe,

1. What is the difference among deadlock avoidance, detection, and prevention? 2. Given the following two Resource-Allocation Graphs. Identify the state (i.e. deadlock, safe, or unsafe) for each of them. Explain your answer. R R P Copy R P P R 4. Consider the following page reference string: P2 3. Explain the difference between internal and external fragmentation. 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0, 1. Assuming demand paging with three frames, how many page faults would occur for the following replacement algorithms?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
