LAB No.11: Lab Tasks Task No.01: Assuming That All Processes Arrive in The Ready Queue at The Same

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

LAB No.

11
Lab tasks

Task no.01: Assuming that all processes arrive in the ready queue at the same
time that is arrival time for all processes is 0. Read the number of
processes/jobs in the ready queue and their respective burst/service times and
then simulate the following CPU scheduling algorithms to find the average
turnaround time and average waiting time.

a. FCFS
b. SJF
c. Round Robin

FIRST COME FIRST SERVE (FCFS)

F16SW32
ROUND ROBIN

F16SW32
F16SW32
SHORTEST JOB FIRST (SJF)

F16SW32

You might also like