Group 4
Group 4
Operatin
g System
:
ROUND
ROBIN
• OBJECTIVES
• INTRODUCTION
RO U N D • EXECUTION OF CODE
RO B I N • CONCLUSION
Group Members:
Aguilar, John Emil M. OBJECTIVES
Ang, Paul Anthony Each group will create a
program that will compute
Doniza, Kevin for the Average turn around
time and average waiting
Gicana, Mae Kaila time of a given set of
processes. Gantt chart should
Mendoza, Bernard be shown after the
Montecillo, Peter computation. The number of
processes, arrival times, burst
Requiz, Kathleen times, quantum and priority
number is to be provided by
the user. The CPU
The name of this algorithm
Introduction comes from the round-robin
principle, where each person
gets an equal share of
something in turns. It is the
oldest, simplest scheduling
algorithm, which is mostly
used for multitasking.
In Round-robin scheduling,
each ready task runs turn by
turn only in a cyclic queue
for a limited time slice. This
algorithm also offers
starvation free execution of
processes.
Execution of
Code
Simulation
Step 1: Enter the number of
processes
Execution of
Code
Simulation
Step 2: Enter the Time
Quantum
Execution of
Code
Simulation
Step 3: Enter the following
Processes, Arrival times &
Burst Time of each
OU T P U T
B L E O F:
H E T A
WITH T ,
O C E S S E S
(1 ) PR
L T I M E ,
A R R I VA
N T IM E ,
PL E T IO
COM U R N
T I M E , T
BURS T
I M E A N D
N D T
AROU .
N G T I M E
W A IT I
U D I N G :
INCL F A V G .
T I N G O
COMPU & A V G .
N G T I M E
W A IT I E
U N D T I M
R O
TURN A
OU T P U T
E RTI CAL
HART (V
GANTT C
VIEW)
CONCL U S I O N S