CS FundamentalsHardGATE CS
Which scheduling algorithms can lead to STARVATION? 1. FCFS 2. Non-preemptive SJF 3. SRTF 4. Round Robin 5. Priority without aging
- A. 1, 2, 3 and 5
- B. 2, 3 and 5 only
- C. All five
- D. 3 and 5 only
Correct answer: B. 2, 3 and 5 only
SJF/SRTF can starve long jobs if short ones keep arriving, and priority without aging can starve low-priority jobs. FCFS and RR serve every job eventually (FCFS assumes jobs terminate).
More Operating Systems questions
- A system uses Round Robin with quantum q. As q → ∞ it becomes FCFS. What does it approach as q → 0 (ignoring switch overhead)?
- Under a fair-share / proportional-share scheduler, user A runs 1 process and user B runs 4 processes, all CPU-bound, and the two users…
- Lottery scheduling gives process A 30 tickets, B 20 and C 50. Over many scheduling decisions, what fraction of the time does B run, and…
- In real-time scheduling, three periodic tasks have (execution time, period) = (1, 4), (2, 6), (1, 8), with deadline = period. Which…
- Two periodic tasks: T1 (execution 2, period 5) and T2 (execution 4, period 7), deadlines equal to periods. Which statement is correct?
- Priority inversion: low-priority L holds a mutex needed by high-priority H, and medium-priority M (which does not need the mutex) keeps…