2,875 views
1 votes
1 votes

2 Answers

0 votes
0 votes
Why There is Priority given when FCFS has been asked is it to break the ties for arrival time 0
0 votes
0 votes

Because FCFS scheduling is based on Arrival Time as a criteria so there is no need of priority 

Process  Arrival TIme  Burst Time  Completion Time Turn Around Time = CT-AT  Waiting Time=TAT-BT 
P1 0 10 10 10 0
P2 0 5 15 15 10
P3 2 3 18 16 13
P4 5 20 38 33 13
P5 10 2 40 30 28

Total Waiting time = 0+10+13+13+28 = 64

Because there are total 5 processes so Average Waiting time = 64/5 = 12.8 ms 

Related questions

0 votes
0 votes
1 answer
1
iarnav asked Jul 17, 2018
835 views
Let's say we have four processes as (P1, P2, P3, P4) and have Arrival time as (0,1,2,3) respectively, but all of them has same CPU Burst time as (10ms) then does SRTF wil...
0 votes
0 votes
1 answer
2
ejaz asked Jun 10, 2018
2,388 views
Queue  98, 183, 37, 122, 14, 124, 65, 67head starts at 53Find total head movements
0 votes
0 votes
1 answer
3
Sanjay Sharma asked May 29, 2018
585 views
if priorities of processes are given in question which has to be solved using round robin policy , how the order of execution is decided by FCFS or on base of priority
0 votes
0 votes
2 answers
4