GATE - 2008 | OS | Which of the following is NOT true of deadlock prevention and deadlock

GATE - 2008 | OS | Which of the following is NOT true of deadlock prevention and deadlock
Posted on 14-02-2022

GATE - 2008 [Operating System]

Question:

Which of the following is NOT true of deadlock prevention and deadlock avoidance schemes?

A

In deadlock prevention, the request for resources is always granted if the resulting state is safe

B

In deadlock avoidance, the request for resources is always granted if the result state is safe

C

Deadlock avoidance is less restrictive than deadlock prevention

D

Deadlock avoidance requires knowledge of resource requirements a priori

   

Solution:

Option (A).

The deadlock prevention scheme handles deadlock by making sure that one of the four necessary conditions doesn't occur.

So, it may be the case that a resource request might be rejected even if the resulting state is safe.

Hence, option (A) is false.

Thank You

Download App for Free PDF Download

GovtVacancy.Net Android App: Download

government vacancy govt job sarkari naukri android application google play store https://play.google.com/store/apps/details?id=xyz.appmaker.juptmh