Question 30Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2+ 1 more paper
The resource matrix is a data structure used in deadlock detection algorithms to:
ARepresent resource allocation
BRepresent the execution order of processes
CRepresent the execution history of processes
DRepresent the priority of processes
Show answerHide answer
Correct answer: (A) Represent resource allocation
Explanation
In deadlock detection, allocation and request matrices record which resources each process holds and requests, i.e. they represent resource allocation.
From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2