When a process is rolled back as a result of deadlock the difficulty which…

2009

When a process is rolled back as a result of deadlock the difficulty which arises is

  1. A.

    Starvation

  2. B.

    System throughput

  3. C.

    Low device utilization

  4. D.

    Cycle stealing

Attempted by 211 students.

Show answer & explanation

Correct answer: A

When a deadlock is detected, one recovery strategy involves rolling back or aborting one of the involved processes to release resources.

The primary difficulty arising from this approach is starvation. If the system repeatedly selects the same process for rollback due to cost factors or priority, that process may never complete its execution.

To mitigate this, operating systems implement mechanisms like aging or cost analysis to ensure fair resource allocation during deadlock resolution.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro