August
1997 QUESTION 2 Total Marks: 20 Marks |
Click here to access other
questions
Click to access |
2. | (a) Describe the technique of spooling output to a printer. | [4] | |
(b) Discuss two benefits of spooling in a multiprogramming environment. | [4] | ||
(c) With the aid of an example, show how deadlock can occur when two processes are competing for resources. | [4] | ||
(d) Using your example from Part (c), name and describe a suitable method for | [8] | ||
(i) deadlock avoidance | |||
(ii) deadlock detection and recovery | |||
In each case, show how the method could be applied to your example. |