Skip to content
MCQtimes.com
GK
Pakistan Studies
Current Affairs
Islamic Studies
English
MCQtimes.com
Toggle Menu
OS Deadlocks
Home
/
Computer Science
/
Operating System
/
OS Deadlocks
- Page 4
Show/Hide Answers
OS Deadlocks
To avoid deadlock ____________
there must be a fixed number of resources to allocate
resource allocation must be done only once
all deadlocked processes must be aborted
inversion technique can be used
Author:
rikazzz
Comment
OS Deadlocks
Those processes should be aborted on occurrence of a deadlock, the termination of which?
is more time consuming
incurs minimum cost
safety is not hampered
all of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock ____________
can never occur
may occur
has to occur
none of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
A deadlock eventually cripples system throughput and will cause the CPU utilization to ______
increase
drop
stay still
none of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
For a Hold and wait condition to prevail ____________
A process must be not be holding a resource, but waiting for one to be freed, and then request to acquire it
A process must be holding at least one resource and waiting to acquire additional resources that are being held by other processes
A process must hold at least one resource and not be waiting to acquire additional resources
None of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
The process to be aborted is chosen on the basis of the following factors?
priority of the process
process is interactive or batch
how long the process has computed
all of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
For a deadlock to arise, which of the following conditions must hold simultaneously?
Mutual exclusion
No preemption
Hold and wait
All of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
Each request requires that the system consider the _____________ to decide whether the current request can be satisfied or must wait to avoid a future possible deadlock.
resources currently available
processes that have previously been in the system
resources currently allocated to each process
future requests and releases of each process
Author:
rikazzz
Comment
OS Deadlocks
Every time a request for allocation cannot be granted immediately, the detection algorithm is invoked. This will help identify ____________
the set of processes that have been deadlocked
the set of processes in the deadlock queue
the specific process that caused the deadlock
all of the mentioned
Author:
rikazzz
Comment
OS Deadlocks
All unsafe states are ____________
deadlocks
not deadlocks
fatal
none of the mentioned
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
2
3
4
5
6
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English