CST232 Test 1 2015/2016
CST232 Test 1 2015/2016
CST232 Test 1 2015/2016
Test 1
2. Given that main memory is composed of three page frames for public
use and that a program requests pages in the following order:
e, b, 6, c, 6,'f , e,1,'*, t, 6, A
a. using the FlFo page removal algorithm, perform a page trace analysis
indicating page faults with asterisks {*)" Then cornpute the failure and
success ratios.
b. Using the LRU page removai algorithm, perform a page trace analysis
and compute the failure and success ratios.
c. Which is better? Why do you think it is better? 0 I f^z) q
t^
l'L
rr
t