5. Operating Systems
Scheduling — Quiz
Test your understanding of scheduling with 5 practice questions.
Practice Questions
Question 1
Which scheduling disorder is characterized by a lower‐priority task holding a resource needed by a higher‐priority task, causing the latter to wait indefinitely?
Question 2
Given three processes arriving at time 0 with parameters: P₁(burst=4, priority=2), P₂(arrival=1, burst=3, priority=1), P₃(arrival=2, burst=2, priority=3), what is the average turnaround time under preemptive priority scheduling (lower number= higher priority)?
Question 3
What is a primary advantage of multi‐level feedback queue scheduling compared to single‐level priority scheduling?
Question 4
If context switch overhead is $0.2\,$ms and the time quantum is $2\,$ms in Round Robin, what is the CPU utilization assuming continuous ready processes?
Question 5
In Round Robin with quantum $4\,$ms for processes P₁=10\,ms, P₂=4\,ms, P₃=6\,ms (all arrive at 0), what is the average turnaround time?
