Menu

Process Synchronization Questions

MCQ
91.
A deadlock avoidance algorithm dynamically examines the __________ to ensure that a circular wait condition can never exist.
forum Discussion
MCQ
92.
A state is safe, if ____________
forum Discussion
MCQ
93.
A system is in a safe state only if there exists a ____________
forum Discussion
MCQ
94.
All unsafe states are ____________
forum Discussion
MCQ
95.
A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives.
Process    
P0            
P1                             
P2                             
 
Maximum needs (process-wise: P0 through P2 top to bottom)    
10             
4   
9
 
Currently allocated (process-wise)
5
2
2
Which of the following sequence is a safe sequence?
forum Discussion
MCQ
96.
If no cycle exists in the resource allocation graph ____________
forum Discussion
MCQ
97.
The resource allocation graph is not applicable to a resource allocation system ____________
forum Discussion
MCQ
98.
The Banker's algorithm is _____________ than the resource allocation graph algorithm.
forum Discussion
MCQ
99.
The content of the matrix Need is ____________
forum Discussion
MCQ
100.
A system with 5 processes P0 through P4 and three resource types A, B, C have A with 10 instances, B with 5 instances, and C with 7 instances. At time t0, the following snapshot has been taken:
Process
P0               
P1               
P2           
P3           
P4       

Allocation (process-wise : P0 through P4 top TO bottom) 
A   B   C
0   1   0
2   0   0
3   0   2
2   1   1
0   0   2

MAX (process-wise: P0 through P4 top TO bottom)
A   B   C
7   5   3
3   2   2
9   0   2
2   2   2
4   3   3

Available
A   B   C
3   3   2
The sequence leads the system to ____________
forum Discussion