solution - Operating System : Deadlock (Test 1)

Question : If granting a resource request leads to an unsafe state, the operating system will

Solution :
725320260314111618 Correct Answer : Deny or postpone the request

Description -

Operating System : Deadlock (Test 1)

Question : In Banker’s Algorithm, the Need matrix is calculated as

Solution :
614520260314111503 Correct Answer : Need = Max – Allocation

Description -

Operating System : Deadlock (Test 1)

Question : A system is said to be in a safe state if

Solution :
13720260314111421 Correct Answer : There exists a sequence in which all processes can complete

Description -

Operating System : Deadlock (Test 1)

Question : Which algorithm is commonly used for deadlock avoidance in operating systems?

Solution :
786020260314111329 Correct Answer : Banker’s Algorithm

Description -

Operating System : Deadlock (Test 1)

Question : Deadlock avoidance in an operating system ensures that the system

Solution :
282720260314111228 Correct Answer : Always remains in a safe state

Description -

Operating System : Deadlock (Test 1)

Question : Spooling is mainly used to reduce which deadlock condition?

Solution :
926620260314110430 Correct Answer : Mutual exclusion

Description -

Operating System : Deadlock (Test 1)

Question : The hold and wait condition occurs when:

Solution :
752220260314110333 Correct Answer : A process holds one resource and waits for another

Description -

Operating System : Deadlock (Test 1)

Question : Which of the following is a practical way to prevent circular wait?

Solution :
351020260314110234 Correct Answer : Assign priorities to resources

Description -

Operating System : Deadlock (Test 1)

Question : Which of the following conditions must be removed to prevent deadlock?

Solution :
256420260314110145 Correct Answer : Any one of the above

Description -

Operating System : Deadlock (Test 1)

Question : Deadlock prevention ensures that:

Solution :
334020260314110048 Correct Answer : Deadlock never occurs in the system

Description -

Operating System : Deadlock (Test 1)

Question : Which of the following is NOT a strategy for handling deadlocks?

Solution :
679120260314105749 Correct Answer : Deadlock scheduling

Description -

Operating System : Deadlock (Test 1)

Question : Which strategy allows deadlocks to occur and then detects and resolves them?

Solution :
309320260314105650 Correct Answer : Deadlock detection and recovery

Description -

Operating System : Deadlock (Test 1)

Question : In deadlock avoidance, the operating system allocates resources only if:

Solution :
987020260314105603 Correct Answer : The system remains in a safe state

Description -

Operating System : Deadlock (Test 1)

Question : Deadlock prevention works by:

Solution :
20260314105503 Correct Answer : Eliminating at least one of the necessary conditions of deadlock

Description -

Operating System : Deadlock (Test 1)

Question : Which strategy assumes that deadlock rarely occurs and the operating system simply ignores it?

Solution :
714720260314105419 Correct Answer : Deadlock ignorance

Description -

Operating System : Deadlock (Test 1)

Question : In a deadlock situation, what happens to the processes?

Solution :
62020260314105129 Correct Answer : They remain blocked and cannot proceed

Description -

Operating System : Deadlock (Test 1)

Question : Which condition means a process holds a resource while waiting for another resource?

Solution :
696020260314105032 Correct Answer : Hold and wait

Description -

Operating System : Deadlock (Test 1)

Question : Which of the following is NOT a necessary condition for deadlock?

Solution :
696920260314104957 Correct Answer : Multitasking

Description -

Operating System : Deadlock (Test 1)

Question : Deadlock mainly occurs due to competition for:

Solution :
749620260314104851 Correct Answer : Resources

Description -

Operating System : Deadlock (Test 1)

Question : What is a deadlock in an operating system?

Solution :
915020260314104802 Correct Answer : When processes wait indefinitely for resources held by each other

Description -

Operating System : Deadlock (Test 1)