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.

 

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

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 Algorithms Questions!