Home » Operating Systems » Operating systems miscellaneous » Question

Operating systems miscellaneous

  1. Which of the following is not true for deadlock prevention and deadlock avoidance schemes?
    1. In deadlock prevention, the request for resources is always granted, if the resulting state is safe
    2. In deadlock avoidance, the request for resources is always granted, if the resulting state is safe
    3. Deadlock avoidance is less restrictive than deadlock prevention
    4. Deadlock avoidance requires knowledge of resource requirement a priori
Correct Option: A

Deadlock prevention does not guarantee the state that the state would be safe when the request for resources is granted instead it is guaranteed by deadlock avoidance and there will be no deadlock at that time.



Your comments will be displayed only after manual approval.