Suppose that there are ten resources available to three processes. At time 0, the following data is collected. The table indicates the process, the maximum number of resources needed by the process, and the number of resources currently owned by each process. Process Maximum Needs Currently Owned
P0 10 4
P1 3 1
P2 5 4
At time 1, P1 requests a resource. Which of the following is correct?
A) The request will be granted, since the current state is safe.
B) The request will not be granted, since the current state is not safe.
C) The request will be granted, since the state after granting the request will be safe.
D) The request will not be granted, since the state after granting the request will be unsafe.
Correct Answer:
Verified
Q3: The Linux Lockdep tool is
A) used to
Q4: Deadlocks can be prevented only if
A) all
Q5: In a system resource-allocation graph, _.
A) a
Q6: In the deadlock example shown in Figure
Q7: In a system resource-allocation graph, _.
A) a
Q9: A claim edge in a resource-allocation graph
Q10: One necessary condition for deadlock is _,
Q11: One necessary condition for deadlock is _,
Q12: Which of the following is not a
Q13: In a resource allocation graph, when a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents