The methods for dealing with the deadlock problem is
A. | Use a protocol to make sure that the system never enters in to the deadlock state. |
B. | Allow the system to enter a deadlock state and then recover. |
C. | Ignore the problem, and pretend that deadlocks never occur in the system. The UNIX operating system uses this solution. |
D. | all of these |
Option: D Explanation : Methods for Handling Deadlocks
Click on Discuss to view users comments. |
A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units, then
A. | deadlock can never occur |
B. | deadlock may occur |
C. | deadlock has to occur |
D. | none of these |
Option: A Explanation : Atleast one process will be holding 2 resources in case of a simultaneous demand from all the processes. That process will release the 2 resources, thereby avoiding any possible deadlock. Click on Discuss to view users comments. |
Syllabus covered in this section is-
This Section covers Operating System Questions Answers .These questions can be used for the preparation of various competitive and academic exams like
Who can benefit
Various search terms used for This section are