426 views
1 votes
1 votes
A process burst time can be using exponential averaging technique of shortest process next scheduling.

Assume E(t) is the estimation burst time of a process at time t , B(t) is the actual burst time of a process at time t , and 0<=α<=1.

What is the formula to predict the burst time of t?

a) E(t) = B(t) * α + (1 - α) * B(t - 1)

b) E(t) = α * E(t - 1) + (1 - α) * E(t - 2)

c) E(t) = B(t - 1) * α + (1 - α) * B(t - 2)

d) E(t) = α * E(t - 1) + (1 - α) * B(t - 1)

e) none

2 Answers

0 votes
0 votes
Ans should be d). You can refer Galvin for further reading. The variables have been changed but d formula for exponential averaging technique is same.

And d formula given in options somewhat resembles d one in Galvin. I hope d descp helps u. Okay. Pg no 156 for further reading.

Galvin: 7th Edition. :)
0 votes
0 votes

should be e) none 

formula is $E\left ( t \right )=\alpha *\left ( B\left ( t-1 \right ) \right )+\left ( 1-\alpha \right )*E\left ( t-1 \right )$

Where ,

$E\left ( t -1\right )=\text{predicted burst time at time}  t-1$

$B\left ( t-1 \right )=\text{actual burst time at time }t-1$

Refer galvin page 191 here

http://www.uobabylon.edu.iq/download/M.S%202013-2014/Operating_System_Concepts,_8th_Edition%5BA4%5D.pdf

Related questions

0 votes
0 votes
1 answer
2
Nam14 asked Apr 5, 2023
536 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...
0 votes
0 votes
3 answers
3
Chaitanya Kale asked Sep 22, 2022
664 views
If we are using non-preemptive CPU scheduling then can there be process state transition from running to ready state?
1 votes
1 votes
1 answer
4
iarnav asked Jan 12, 2022
405 views
Does non preemptive CPU scheduling needs hardware support.kindly explain.