Consider a system with 3 processes that share 4 instances of the same resource type. Each process can request a maximum of instances. Resource instances can be requested and released only one at a time. The largest value of that will always avoid deadlock is ____.
GATE CS 2018 (Forenoon) — Question 34
Operating Systems (OS)Deadlock Prevention, Avoidance, Detection, RecoveryNAT1 markMedium
A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.
More on Deadlock Prevention, Avoidance, Detection, Recovery
- GATE CS 2026 (Forenoon) · Q29With respect to deadlocks in an operating system, which of the following statements is/are FALSE?
- GATE CS 2026 (Forenoon) · Q35Consider a system consisting of k instances of a resource R , being shared by 5 processes. Assume that each process requires a maximum of t…
- GATE CS 2025 (Afternoon) · Q48P = \ P 1, P 2, P 3, P 4\ consists of all active processes in an operating system. R = \ R 1, R 2, R 3, R 4\ consists of single instances o…
- GATE CS 2022 (Forenoon) · Q26Which of the following statements is/are TRUE with respect to deadlocks?
- GATE CS 2021 (Afternoon) · Q53Consider a computer system with multiple shared resource types, with one instance per resource type. Each instance can be owned by only one…
- GATE CS 2019 (Forenoon) · Q49Consider the following snapshot of a system running n concurrent processes. Process i is holding X i instances of a resource R, 1 i n . Ass…

