arrow
arrow
arrow
Which of the following scenarios can lead to starvation in process scheduling?
Question



Which of the following scenarios can lead to starvation in process scheduling?

A.

A process is stuck in a circular wait due to resource allocation.

B.

A high-priority process continuously preempts a lower-priority process.

C.

All processes have equal priority and resources are allocated fairly.

D.

Processes are executed in the order of their arrival without preemption.

E.

Processes communicate with each other to avoid mutual exclusion violations.

Correct option is B

Starvation occurs when a low-priority process waits indefinitely because higher-priority processes keep preempting its execution. This is common in priority scheduling algorithms, where lower-priority processes may never get CPU time if higher-priority processes continue to arrive.
Important Key Points:
1. Starvation:
· A condition where a process waits indefinitely for resources or execution due to unfair resource allocation policies, such as in priority-based scheduling.
2. Deadlock vs. Starvation:
· Deadlock occurs when processes are stuck in a circular wait for resources.
· Starvation occurs when a process cannot access resources due to a scheduling policy, even if resources are available.
3. Common Cause of Starvation:
· Priority scheduling, where high-priority processes monopolize CPU time.
· Lack of proper aging mechanisms to increase the priority of waiting processes.
Knowledge Booster:
· Option (a): Refers to deadlock, not starvation, as it involves a circular wait for resources.
· Option (c): Equal priority and fair resource allocation prevent starvation.
· Option (d): In First-Come, First-Served (FCFS) scheduling, starvation does not occur since processes are executed in the order of their arrival.
· Option (e): Mutual exclusion violations and process communication mechanisms are unrelated to starvation.

Free Tests

Free
Must Attempt

DSSSB G-II/ASO Full Mock Test 1

languageIcon English
  • pdpQsnIcon200 Questions
  • pdpsheetsIcon200 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

DSSSB ASO PYP (Held on 18 Aug 2025 S1)

languageIcon English
  • pdpQsnIcon200 Questions
  • pdpsheetsIcon200 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

General Awareness Subject Test 1

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon10 Mins
languageIcon English
test-prime-package

Access ‘IBPS SO IT Officer’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
383k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow