Gate CS-2018 Question Paper With Solutions

Q. 30 Consider a system with 3 processes that share 4 instances of the same resource type. Each process can request a maximum of K instances. Resource instances can be requested and released only one at a time. The largest value of K that will always avoid deadlock is _______ .

Note – This was Numerical Type question.

(A) 1

(B) 2

(C) 3

(D) 4

Answer: (B)

Explanation:

Gate CS-2018 Question Paper With Solutions

Learn More:   Gate EC-2016 - 2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here