GATE CS 2018 (Forenoon) — Question 34

Operating Systems (OS)Deadlock Prevention, Avoidance, Detection, RecoveryNAT1 markMedium

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 ____.
Practise the full 2018-FN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkOperating System Concepts (Galvin)Scheduling, synchronisation, deadlocks, memory and file systems.
Practise more on Deadlock Prevention, Avoidance, Detection, RecoveryTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group