December
1999 QUESTION 2 Total Marks: 15 Marks |
Click here to access other
questions
SUGGESTED SOLUTIONS |
(a) |
(i)Give one example of the use of a shareable
resource.[1 mark ] (ii)Give one example of the use of an
unshareable resource.[1 mark ] Using a printer. Other valid answers should also receive credit.
|
[2] | ||||||||||||
(b) |
Describe,using examples,three situations
which may lead to deadlock. •Mutual exclusion
(1 mark).Only one process can use a particular resource;if another
process requests that resource,the requesting process ust be delayed
until the resource has been released (1 mark).
|
[9] | ||||||||||||
(c) |
Refer to the scenario given below,in which there are three processes,A,B and C, and three resources,R,S and T.
|
[4] |