You can prepare effectively for Computer Science Engineering (CSE) GATE Computer Science Engineering(CSE) 2027 Mock Test Series with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: Deadlock- 2". These 9 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
Detailed Solution: Question 1
Detailed Solution: Question 2
Suppose we have a system in which processes is in hold and wait condition then which of the following approach prevent the deadlock.
Detailed Solution: Question 4
Detailed Solution: Question 5
An operating system makes use of Banker’s algorithm to allocate 12 printers. Printers will be allocated to a process requesting them only if there are enough available printers to allow it to run to completion.
User 1 using 7 printers and will need at most a total of 10 printers.
User 2 is using 1 printer and will need at most 4 printers.
User 3 is using 2 printers and will need at most 4 printers.
Each user is currently requesting 1 more printer, Which of the following is true?
Detailed Solution: Question 6
A state is safe if the system can allocate resources to each process (up to its maximum) in some order and still avoid deadlock, which of the following is/are true
1. Deadlocked state is unsafe,
2. Unsafe state may lead to a deadlock situation.
3. Unsafe state must lead to a deadlock situation.
4. Deadlock state is a subset of unsafe state,
Detailed Solution: Question 7
Which of the following is NOT true of deadlock prevention and deadlock avoidance schemes?
Detailed Solution: Question 8
An operating system implements a policy that requires a process to release all resources before making a request for another resource.
Detailed Solution: Question 9