Additional questions of Unit_IV
Explain need of Virtual Memory.
Describe Petersons solution for critical section problem.
Compare and contrast the advantages and disadvantages of using paging versus segmentation
for memory management in an OS.
Explain Deadlock with its necessary conditions
Considering a system
with five processes P0 through P4 and three resources of type A, B, C. Resource type A has 10
instances, B has 5 instances and type C has 7 instances. Suppose at time t0 following snapshot of
the system has been taken
A) What will be the content of the Need matrix?
B) Is the system in a safe state? If Yes, then what is the safe sequence?
Assum
e that there are 5 processes, P0 through P4, and 4 types of resources. At T0 we have the
following system state:
1)Create the need matrix.
2)Use the safety algorithm to test if the system is in a safe state.