PROCESS SCHEDULING
Experiment Number 3 : Round Robin Scheduling
Algorithm
• Step 1: Take the process which occurs first and start executing the process(for quantum time only).
• Step 2: Check if any other process request has arrived. If a process request arrives during the quantum time in which another process is executing, then add the new process to the Ready queue.
• Step 3: After the quantum time has passed, check for any processes in the Ready queue. If the ready queue is empty then continue the current process. If the queue not empty and the current process is not complete, then add the current process to the end of the ready queue.
• Step 4: Take the first process from the Ready queue and start executing it (same rules).
• Step 5: Repeat all steps above from 2-4.
• Step 6: If the process is complete and the ready queue is empty then the task is complete.