Bird
Raised Fist0

In a Round Robin scheduler with a 3ms time quantum, a process arrives with a CPU burst of 7ms. How many times will this process be preempted before completion?

easy🧾 Trace Q3 of Q15
Operating Systems - Round Robin Scheduling - Quantum & Turnaround Time
In a Round Robin scheduler with a 3ms time quantum, a process arrives with a CPU burst of 7ms. How many times will this process be preempted before completion?
A2 times
B3 times
C1 time
DNo preemption
Step-by-Step Solution
Solution:
  1. Step 1: Calculate number of quanta needed

    The process needs 7ms total, with each quantum 3ms, so it requires 3 quanta (3+3+1).
  2. Step 2: Determine preemptions

    Preemption occurs after each quantum except the last. So, preemptions = 3 - 1 = 2.
  3. Final Answer:

    Option A -> Option A
  4. Quick Check:

    7ms / 3ms = 2 full quanta + remainder, so 2 preemptions [OK]
Quick Trick: Preemptions = number of quanta minus one [OK]
Common Mistakes:
MISTAKES
  • Assuming preemption equals number of quanta
  • Ignoring the last partial quantum
  • Confusing burst time with quantum length
Trap Explanation:
PITFALL
  • Counting all quanta as preemptions ignores that the last quantum finishes the process.
Interviewer Note:
CONTEXT
  • Tests understanding of how Round Robin preemption relates to quantum and burst time.
Master "Round Robin Scheduling - Quantum & Turnaround Time" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes