Question : Which process recovery method breaks deadlock by terminating processes?
Solution :
Correct Answer : Process termination
Description -
Question : Which recovery method involves returning the system to a previous safe state?
Solution :
Correct Answer : Rollback
Description -
Question : Which of the following is a deadlock recovery technique related to resources?
Solution :
Correct Answer : Resource preemption
Description -
Question : In a system with single-instance resources, what indicates a deadlock?
Solution :
Correct Answer : Presence of a cycle in Resource Allocation Graph
Description -
Question : In deadlock detection, the operating system periodically checks the system using which structure?
Solution :
Correct Answer : Resource Allocation Graph
Description -
Question : If resources have multiple instances and a cycle exists in the RAG, what does it mean?
Solution :
Correct Answer : Deadlock may or may not exist
Description -
Question : If a Resource Allocation Graph has a cycle and each resource has only one instance, what does it indicate?
Solution :
Correct Answer : Deadlock
Description -
Question : What does an edge from a process to a resource represent in RAG?
Solution :
Correct Answer : Resource request
Description -
Question : In a Resource Allocation Graph, processes are represented by:
Solution :
Correct Answer : Circles
Description -
Question : What is the main purpose of a Resource Allocation Graph (RAG) in Operating Systems?
Solution :
Correct Answer : To detect deadlocks in a system
Description -
Question : If a Resource Allocation Graph contains no cycle, then:
Solution :
Correct Answer : Deadlock never occurs
Description -
Question : An edge from a resource to a process (R → P) represents:
Solution :
Correct Answer : Assignment edge
Description -
Question : An edge from a process to a resource (P → R) indicates:
Solution :
Correct Answer : Process waiting for resource
Description -
Question : In a Resource Allocation Graph, a resource type is represented by:
Solution :
Correct Answer : Rectangle
Description -
Question : In a Resource Allocation Graph, a process is represented by which shape?
Solution :
Correct Answer : Circle
Description -