GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set1

GATE 2026 set1 · CS · NAT · 1 mark · Operating System › Deadlock

GATE 2026 set1 Computer Science and Information Technology question: Consider a system consisting of k instances of a resource R, being shared by 5…

Consider a system consisting of instances of a resource , being shared by 5 processes. Assume that each process requires a maximum of two instances of resource and a process can request or release only one instance at a time. Further, a process can request the second instance of the resource only after acquiring the first instance.

The minimum value of for the system to be deadlock-free is ________. (answer in integer)

Show answer

Official answer: 6

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion