If we preempt a resource from a process, the process cannot continue with its…

2021

If we preempt a resource from a process, the process cannot continue with its normal execution and it must be:

  1. A.

    aborted

  2. B.

    rolled back

  3. C.

    terminated

  4. D.

    queued

  5. E.

    Question not attempted

Attempted by 241 students.

Show answer & explanation

Correct answer: B

When a resource is preempted from a process, the process cannot continue with its normal execution because it no longer has the required resource. The process must be placed in a waiting state until the resource becomes available again. This is typically done by queuing the process in a ready queue or a resource wait queue. The process will resume execution only when the resource is reassigned or released. This mechanism ensures fair resource allocation and prevents deadlock in multitasking systems.

Explore the full course: Up Lt Grade Assistant Teacher 2025