

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


1. (3 pts.) What are the four necessary conditions for deadlock to occur?
1. (3 pts.) On each of the following two graphs, give an example execution path that does and does not result in deadlock. If deadlock is never possible for the graph, state so. If deadlock is always inevitable for the graph, state so.
1. (3 pts.) Name four different things that can be done to prevent deadlocks? 1. (3 pts.) Name an algorithm described in class for avoiding deadlocks? 1. (3 pts.) Give an example of a situation (not related to computers) where a deadlock has occurred. Give enough detail to exhibit that the situation is in deadlock. 1. (3 pts.) Explain why it is or is not possible to have a deadlock involving a single process. 1. (3 pts.) Name four different things that can be done to prevent the deadlock shown below from occurring.