,

[SOLVED] Cmsc412 –

$25

File Name: Cmsc412____.zip
File Size: 103.62 KB

Categories: , Tags: ,
5/5 - (1 vote)

Demand paging problems (page replacement algorithms):

1. For the following reference string apply the FIFO page replacement algorithm.

– Option 1 – according to Week 6 – Textbook Readings:
Reference string 2 4 5 6 1 5 3 4 5 2 3 6 5 3 4 7 3 5 6
Physical frame 0 2 2 2 2
Physical frame 1 4 4 4
Physical frame 2 5 5
Physical frame 3 6
Page faults F F F F
Victim frames
OR
– Option 2 – according to Week 6 – Module Readings
Reference string 2 4 5 6 1 5 3 4 5 2 3 6 5 3 4 7 3 5 6
Physical frame 0 2 4 5 6
Physical frame 1 2 4 5
Physical frame 2 2 4
Physical frame 3 2
Page faults F F F F
Victim frames

2. For the following reference string apply the OPT page replacement algorithm.
Reference string 2 4 5 6 1 5 3 4 5 2 3 6 5 3 4 7 3 5 6
Physical frame 0 2 2 2 2
Physical frame 1 4 4 4
Physical frame 2 5 5
Physical frame 3 6
Page faults F F F F
Victim frames

3. For the following reference string apply the LRU page replacement algorithm.
Reference string 2 4 5 6 1 5 3 4 5 2 3 6 5 3 4 7 3 5 6
Physical frame 0 2 2 2 2
Physical frame 1 4 4 4
Physical frame 2 5 5
Physical frame 3 6
Page faults F F F F
Victim frames

4. For the following reference string apply the LFU page replacement algorithm.
Reference string 2 4 5 6 1 5 3 4 5 2 3 6 5 3 4 7 3 5 6
Physical frame 0 2 2 2 2
Physical frame 1 4 4 4
Physical frame 2 5 5
Physical frame 3 6
Page faults F F F F
Victim frames

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] Cmsc412 –[SOLVED] Cmsc412 –
$25