(A) Using thread
(B) Using pipes
(C) Defining a linear ordering of resource types
(D) All of the above
Tag: Operating System Mcqs with Answers PDF
A system is in the safe state if?
(A) There exist a safe sequence
(B) The system can allocate resources to each process in some order and still avoid a deadlock
(C) Both of the above
(D) None of the above
Which condition is required for a deadlock to be possible?
(A) A process may hold allocated resources while awaiting assignment of other resources
(B) Mutual exclusion
(C) No resource can be forcibly removed from a process holding it
(D) All of the above
A reusable resource is?
(A) That can be used by more than one process at a time
(B) That can be shared between various threads
(C) That can be used by one process at a time and is not depleted by that use
(D) None of the above
To ensure that deadlock will never occur the system can be used?
(A) Deadlock Avoidance Scheme
(B) Deadlock Prevention Scheme
(C) Deadlock Recovery Scheme
(D) Both A & B
Deadlocks can be described more precisely in terms of a directed graph called a?
(A) System Resource Allocation Graph
(B) Bar graph
(C) Pie graph
(D) Line graph
A process must be holding at least one resource and waiting to acquire additional resources that are currently being held by other processes. This condition for deadlock is referred to as?
(A) No preemption
(B) Circular wait
(C) Mutual exclusion
(D) Hold and wait
All deadlocks involve connecting needs for?
(A) Users
(B) Computers
(C) Programs
(D) Resources