2,101 views

1 Answer

0 votes
0 votes
Answer: 

On taking all the $4$ previous run times, the prediction

$\begin {align} =& (((40 + 20) / 2 + 40) /2 +15) / 2 \\ =& ((30 + 40 / 2 + 15 ) /2  \\=& (35 + 15)/2 \\=& 25 \end {align}$

On taking only $2$ previous executions, the prediction$ = \frac{40 + 15}{2} = 27.5$

edited by

Related questions

0 votes
0 votes
0 answers
1
admin asked Oct 25, 2019
567 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
4