Open In App

GATE | Gate IT 2008 | Question 52

Like Article
Like
Save
Share
Report

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 other 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
Please comment below if you find anything wrong in the above post


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads