Question 11
EasyAs a deadlock condition, what does 'mutual exclusion' mean?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
As a deadlock condition, what does 'mutual exclusion' mean?
No resources are shared
Processes exclude each other from the system
At least one resource can be used by only one process at a time
All resources are shareable
Sign up free to see the answer and a step-by-step explanation.
What is deadlock avoidance?
The OS checks each request and grants it only if the system stays in a safe state
The OS lets deadlocks happen and then fixes them
The OS never allocates any resources
The OS restarts every hour
Sign up free to see the answer and a step-by-step explanation.
What is deadlock detection?
Allowing deadlocks to occur, checking for them from time to time, and then recovering
Preventing processes from requesting resources
Giving every process all resources at start
Killing every process at random
Sign up free to see the answer and a step-by-step explanation.
What is deadlock prevention?
Rebooting after a deadlock
Ignoring deadlocks entirely
Checking every request against a safe state
Designing the system so that at least one of the four necessary conditions can never hold
Sign up free to see the answer and a step-by-step explanation.
Two cars meet head-on on a one-lane bridge and neither driver will reverse. What is this an everyday example of?
Deadlock
Thrashing
Paging
Starvation
Sign up free to see the answer and a step-by-step explanation.
In a resource-allocation graph, what does an arrow from a process to a resource mean?
The process has finished with the resource
The resource has failed
The process is requesting (waiting for) that resource
The resource is assigned to the process
Sign up free to see the answer and a step-by-step explanation.
In a resource-allocation graph, what does an arrow from a resource to a process mean?
The process is deadlocked
The resource is free
The resource has been allocated to that process
The process wants the resource
Sign up free to see the answer and a step-by-step explanation.
Spooling lets many processes 'print' at once by sending output to a disk queue. Which deadlock condition does this help remove for the printer?
Circular wait
Hold and wait
Mutual exclusion
No preemption
Sign up free to see the answer and a step-by-step explanation.
In deadlock recovery, what is a 'victim'?
A resource that is broken
The process that caused the deadlock
The user who reports the problem
The process chosen to be terminated or to lose its resources
Sign up free to see the answer and a step-by-step explanation.
What is rollback in deadlock recovery?
Undoing the whole OS installation
Moving a process to another computer
Returning a process to an earlier saved state so that it can restart from there
Deleting all files
Sign up free to see the answer and a step-by-step explanation.