GATE | Gate IT 2008 | Question 52

An operating system implements a policy that requires a process to release all resources before making a request for another resource. Select the TRUE statement from the following:
(A) Both starvation and deadlock can occur
(B) Starvation can occur but deadlock cannot occur
(C) Starvation cannot occur but deadlock can occur
(D) Neither starvation nor deadlock can occur


Answer: (B)

Explanation: Starvation may occur, as a process may want othe resource in ||<sup>al</sup> along with currently hold resources. <br>

According to given conditions it will never be possible to collect all at a time.<br>

No deadlock.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.