Gate CS-2007 Question Paper With Solutions

Q. 71 A single processor system has three resource types X,Y, and Z, which are shared

by three processes. There are 5 units of each resource type. Consider the following

scenario, where the column alloc denotes the number of units of each resource

type allocated to each process, and the column request denotes the number of

units of each resource type requested by a process in order to complete execution.

Which of these processes will finish LAST?

Gate CS-2007 Question Paper With Solutions

(A) P0

(B) P!

(C) P2

(D) None of the above, since the system is in a deadlock

Answer: (C)

Explanation:

Gate CS-2007 Question Paper With Solutions

Learn More:   Gate EE-2004 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here