Question
a.
8
b.
1
c.
16
d.
0
Posted under Operating System
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
Similar Questions
Discover Related MCQs
Q. With a single resource, deadlock occurs
View solution
Q. A state is safe if the system can allocate resources to each process (up to its maximum) in some order and still avoid deadlock. Then
View solution
Q. A computer system has 6 tape drives, with 'n' processes competing for them. Each process may need 3 tape drives. The maximum value of 'n' for which the system is guaranteed to be deadlock free is
View solution
Q. 'm' processes share 'n' resources of the same type. The maximum need of each process doesn't exceed 'n' and the sum all the their maximum needs is always less than m + n. In this set up
View solution
Q. Consider a system having 'm' resources of the same type. These resources are shared by 3 processes A, B, C, which have peak time demands of 3, 4, 6 respectively. The minimum value of 'm' that ensures that deadlock will never occur is
View solution
Q. The methods for dealing with the deadlock problem is
View solution
Q. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units, then
View solution
Q. A process said to be in ___________ state if it was waiting for an event that will never occur.
View solution
Q. In one of the deadlock prevention methods, impose a total ordering of all resource types, and require that each process requests resources in an increasing order of enumeration. This violates the _______________ condition of deadlock.
View solution
Q. Resource locking ________.
View solution
Q. A set of resources' allocations such that the system can allocate resources to each process in some order, and still avoid a deadlock is called ________.
View solution
Q. Situations where two or more processes are reading or writing some shared data and the final results depends on the order of usage of the shared data, are called ________.
View solution
Q. When two or more processes attempt to access the same resource a _________ occurs.
View solution
Q. A process is starved
View solution
Q. Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________ .
View solution
Q. The state of a process after it encounters an I/O instruction is __________.
View solution
Q. The Banker's algorithm is used
View solution
Q. ______ is a high level abstraction over Semaphore.
View solution
Q. In one of the deadlock prevention methods, impose a total ordering of all resource types, and require that each process requests resources in an increasing order of enumeration. This voilates the _______________ condition of deadlock.
View solution
Q. Banker's algorithm for resource allocation deals with ?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Operating System? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!