retagged by
586 views
0 votes
0 votes
Three processes have the cpu burst times 5,4,3 ms respectively .what will be the predicted value of the next processs cpu burst in milliseconds for shortest job first sheduling ?

Ans: 3.125 i am getting 3.85 ??
retagged by

1 Answer

0 votes
0 votes
The above is a question of SJF with the prediction of BT. It is incomplete though. If I use simple averaging then:

(5+4+3)/3 = 4       which is right if I followed this method.

For using exponential averaging we need, α: smoothening factor and τ1: predicted burst of process 1.

How did you get 3.85? Maybe I'm wrong somewhere.

Related questions

0 votes
0 votes
0 answers
4
srestha asked Nov 4, 2017
541 views
Where is the difference between in a single processor system and a multiprocessor system , in calculating turned around time(with Burst Time and IO time)