Question: Which of the following is a common method to prevent deadlocks?
Options:
Correct Answer: Resource allocation graph
Solution:
Using a resource allocation graph can help in detecting and preventing deadlocks by showing the allocation and request of resources.