Part 1 A small computer on a smart card has four page frames. At the first clock tick, the R bits are 0111 (page 0 is 0, the rest are 1). At subsequent clock ticks, the values are 1011, 1010, 1101, 0010, 1010, 1100, and 0001. If the aging algorithm is used with an 8-bit counter, give the values of the four page counters after the last tick.
Part 1
A small computer on a smart card has four page frames. At the first clock tick, the R bits are 0111 (page 0 is 0, the rest are 1). At subsequent clock ticks, the values are 1011, 1010, 1101, 0010, 1010, 1100, and 0001. If the aging
Part 2
A computer has four page frames. The time of loading, time of last access, and the R and M bits for each page are as shown below (the times are in clock ticks):
Page |
Loaded |
Last Referenced |
R |
M |
0 |
176 |
330 |
1 |
0 |
1 |
280 |
315 |
0 |
1 |
2 |
190 |
320 |
0 |
0 |
3 |
160 |
335 |
1 |
1 |
(a) Which page will NRU replace?
(b) Which page will FIFO replace?
(c) Which page will LRU replace?
(d) Which page will second chance replace?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps