Recall & Review
beginner
What is Round Robin scheduling?
Round Robin scheduling is a method used by operating systems to share CPU time fairly among all running processes by giving each process a fixed time slice in a repeating cycle.
Click to reveal answer
beginner
What is a time quantum in Round Robin scheduling?
A time quantum is the fixed amount of time each process is allowed to run before the CPU switches to the next process in the queue.
Click to reveal answer
intermediate
How does Round Robin scheduling handle processes that do not finish in their time quantum?
If a process does not finish during its time quantum, it is moved to the back of the ready queue to wait for its next turn.
Click to reveal answer
beginner
What is the main advantage of Round Robin scheduling?
The main advantage is fairness: every process gets an equal share of CPU time, which prevents any single process from monopolizing the CPU.
Click to reveal answer
intermediate
What can happen if the time quantum is set too small or too large in Round Robin scheduling?
If the time quantum is too small, the CPU spends too much time switching between processes, causing overhead. If it is too large, the system behaves like First-Come, First-Served, reducing responsiveness.
Click to reveal answer
In Round Robin scheduling, what happens when a process's time quantum expires?
✗ Incorrect
When a process's time quantum expires, it is placed at the back of the ready queue to wait for its next turn.
What is the purpose of the time quantum in Round Robin scheduling?
✗ Incorrect
The time quantum limits how long a process can use the CPU before the scheduler switches to the next process.
Which of the following is a key benefit of Round Robin scheduling?
✗ Incorrect
Round Robin scheduling ensures fairness by giving each process equal CPU time in turns.
If the time quantum is very large, Round Robin scheduling behaves like which other scheduling method?
✗ Incorrect
With a very large time quantum, processes run until completion, similar to First-Come, First-Served scheduling.
What is a potential downside of setting a very small time quantum?
✗ Incorrect
A very small time quantum causes frequent context switches, which wastes CPU time on switching rather than running processes.
Explain how Round Robin scheduling works and why it is considered fair.
Think about how the CPU switches between processes regularly.
You got /4 concepts.
Describe the effects of choosing a very small or very large time quantum in Round Robin scheduling.
Consider what happens when switching is too frequent or too rare.
You got /3 concepts.