DSA Factory
Free CPU scheduling lessonsCPU scheduling · Stage 2 · Priorities and taking turns · Step 2

Round robin

Give every process a short turn in rotation, and choose the time quantum that balances response and overhead. About 14 minutes.

Quick check

What happens when a process's time quantum runs out under round robin?

  1. AIt is preempted and goes to the back of the ready queue
  2. BIt is terminated
  3. CIt goes to the front of the queue for another turn
Show the answer

It is preempted and goes to the back of the ready queue. The next process in line gets a turn.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve