GATEverse
← GATE CSE 2007

Q57

MCQ2 marks, −0.5

A single processor system has three resource types X,YX, Y and ZZ, which are shared by three processes. There are 55 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?

alloc requestXYZXYZP0121103P1201012P2221120\begin{array}{|l|lll|lll|}\hline &\text{} \rlap{\textbf{alloc}} &&&\rlap{ \textbf{request}} \\\hline &\text{X} & \text{Y} & \text{Z} &\text{X} & \text{Y} & \text{Z} \\\hline \textbf{P0} & \text{1} & \text{2} & \text{1}& \text{1} & \text{0} & \text{3} \\\hline \textbf{P1} & \text{2} & \text{0} & \text{1} & \text{0} & \text{1} & \text{2} \\\hline \textbf{P2} & \text{2} & \text{2} & \text{1} & \text{1} & \text{2} & \text{0} \\\hline \end{array}
Sign in to save attempts.

Loading…