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.

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
192k+ students have already unlocked exclusive benefits with Test Prime!

Free Tests

Free
Must Attempt

Current Affairs (Jul 16, 2025 - Jul 23, 2025)

languageIcon English
  • pdpQsnIcon40 Questions
  • pdpsheetsIcon40 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt

General Awareness Section Test 01

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon8 Mins
languageIcon English
Free
Must Attempt

IB ACIO Grade-II Executive (Held on 17 Jan 2024 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English