A process said to be in _____ state, if it was waiting for an event that will…

2024

A process said to be in _____ state, if it was waiting for an event that will never occur.

  1. A.

    safe

  2. B.

    unsafe

  3. C.

    starvation

  4. D.

    deadlock

Attempted by 153 students.

Show answer & explanation

Correct answer: D

Option 4 : deadlock

A state is safe if the system can allocate resources to each process (up to its maximum) in some order and still avoid a deadlock

In unsafe state, one or more sequence of executing process exists which leads to deadlock

Starvation is long waiting by processes to get system resources

Deadlock is infinite waiting in which process is waiting for an event that will never occur

A safe state is not a deadlocked state; Conversely, a deadlocked state is an unsafe state; Not all unsafe states are deadlocks, however, an unsafe state may or may not lead to a deadlock

Explore the full course: Amcat Preparation