Given yhat main memory is composed of 4 page frames for publicuse, use the follo
ID: 3612901 • Letter: G
Question
Given yhat main memory is composed of 4 page frames for publicuse, use the following table to answer questions below Page Frame Time when Timewhen last Reference Modified Loaded referenced bit bit 0 126 279 0 0 1 230 280 1 0 2 120 282 1 1 3 160 290 1 1 a) The contents of which page frame would be swapped out byFIFO b) The contents of which page frame would be swapped out byLRU (least recentlyused) c) The contents of which page frame would be swapped out usingMRU (mostrecently used) d) The contents of which page frame would be swapped out usingLFU (leastfrequently used) thanks, will rate !!! Given yhat main memory is composed of 4 page frames for publicuse, use the following table to answer questions below Page Frame Time when Timewhen last Reference Modified Loaded referenced bit bit 0 126 279 0 0 1 230 280 1 0 2 120 282 1 1 3 160 290 1 1 a) The contents of which page frame would be swapped out byFIFO b) The contents of which page frame would be swapped out byLRU (least recentlyused) c) The contents of which page frame would be swapped out usingMRU (mostrecently used) d) The contents of which page frame would be swapped out usingLFU (leastfrequently used) thanks, will rate !!!Explanation / Answer
(a) The contents of page frame 2 will beswapped out by FIFO because FIFO swaps out in a first in First Outmanner. From the column Time When Loaded we can see that age frame2 has entered first. So it is swapped out. (b) By LRU page frame 0 will be swapped outbecause it has the least referenced time. That means it was notreferenced recently. (c) Page frame 3 will be swapped out by MRUbecause it has been referenced most recently. We come to know thisby seeing the Time When Last Referenced. (d) By LFU page frame 0 will be swapped outbecause it is the one which is used less frequently. The referencebit and modified bits of page frame 0 are 0 and0 respectively. That means, it is neither referenced normodified. So it is the one which is being used lessfrequently.Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.