Add os/round-robin: Round Robin scheduler in C++ and C with Gantt chart, quantum sweep and captured output

This commit is contained in:
ankurm
2026-11-26 00:42:10 +05:30
parent f784f9b6ee
commit 9ed8479cec
24 changed files with 513 additions and 0 deletions
@@ -0,0 +1,26 @@
Enter No of Processes:
Enter Burst Time of Process 1:
Enter Burst Time of Process 2:
Enter Burst Time of Process 3:
Enter Burst Time of Process 4:
Enter Burst Time of Process 5:
Enter Time Quantum:
Entered Data
ProcesstBurst Time
1 10
2 29
3 3
4 7
5 12
Result of Round Robin Scheduling
PNo BT WT TT
1 10 0 10
2 29 32 61
3 3 20 23
4 7 23 30
5 12 40 52
Average Waiting Time : 23
Average Turnaround Time : 35.2