0
1.2kviews
Consider the following set of process with CPU burst time.

Subject: Operating System

Topic: Process Concept and Scheduling

Difficulty: Medium

Process Burst Time Arrival Time
P1 10 11
P2 4 2
P3 5 3
P4 3 4

i) Draw Gnatt chart for FCFS, SJF pre-emptive and Round Robin (Quantum = 3). Calculate average waiting time and average turnaround time.

1 Answer
0
15views

Turn Around Time = Process Completion Time – Process Arrival Time

Waiting time = Turn Around time – Burst time


First Come First Serve (FCFS) Scheduling

FCFS

Process Arrival Time Burst Time Completion Time Turn Around Time Waiting Time
P1 11 10 24 24 – 11 = 13 13 – 10 …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.