Round Robin Process Scheduling algorithm in operating systems

This tutorial covers the concepts of Round Robin Scheduling.

Round Robin Scheduling is the preemptive scheduling algorithm.

We assign a fixed time to all processes for execution, this time is called time quantum.

All processes can execute only until their time quantum and then leave the CPU and give a chance to other processes to complete their execution according to time quantum.

Context switching mechanisms store the states of preempted processes.

Time quantum = 2

Process Burst Time Arrival
P1 4 2nd
P2 2 3rd
P3 8 1st
P4 3 4th


Round robin scheduling in os operating systems
Figure: Round robin scheduling of operating systems (os).

C++ Program for Round Robin Scheduling

Round Robin Implementation in Java

Let us see the Round Robin Implementation in Java.


By: Prof. Fazal Rehman Shamil    CEO @ T4Tutorials
Whatsapp: +92 302 87 000 85     Facebook: For Discussions

One thought on “Round Robin Process Scheduling algorithm in operating systems

  • June 23, 2019 at 10:44 am

    Round robin is the oldest and most widely used algorithm. It is a preemptive algorithm that is especially used for the time-sharing system. Each process is assigned a small unit of time called time quantum. A process is allowed to run within the time slice. This scheme is very easy to implement.

Leave a Reply

Your email address will not be published. Required fields are marked *