Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowLRU page replacement works by replacing the page that has not been used for the longest time. For the reference string 4, 2, 4, 1, 5, 2, 3, 4 with 3 frames, the page faults occur as follows: • Insert 4 (fault), Insert 2 (fault), Access 4 (hit), Insert 1 (fault), Insert 5 (fault, replace 4), Access 2 (hit), Insert 3 (fault, replace 1), Access 4 (fault, replace 5). Thus, there are 6 page faults in total. LRU minimizes page faults compared to other algorithms by always keeping the most recently used pages in memory. Why other options are wrong: A) 3 faults would require the reference string to contain repeated pages with no replacements. B) 5 faults underestimate the replacements required after the first few frames fill up. D) 7 faults occur in algorithms with more aggressive replacements like FIFO. E) 8 faults assume no page hits at all, which is incorrect since some pages are reused before replacement.
A biker travels at a speed of 28 km/hr for 5 hours each day on all days except Sunday. If his journey starts on a Wednesday, on which day will he reach ...
The combined cost price and marked price of Watch 'A' amounts to Rs. 11,000, while for Watch 'B', the total is Rs. 13,400. Watch 'A' is marked 20% above...
A bus moves at a speed of 50 km/h and covers a specific distance in 'x' hours. This time is 2 hours longer than what a car takes to travel 400 km at the...
The speed of a bike increases by 4 km/hr after every 1 hour. If the distance travelled by the bike in 1st hour is 27 km, the find the total distance tra...
A can complete a work in 15 days, and B can complete the same work in 20 days. If they work together for 6 days, what fraction of the work is left?
A car travels at 60 km/h to reach its destination on time. If it travels at 65 km/h, it will reach the destination 30 minutes ear...
A train running at the speed of 35 metre per second crosses a bridge in 30 seconds. Another which is 130 metre shorter than the previous train crosses t...
Sheetal rides a bike at an average speed of 40 kmph and reaches her destination in 5 hours. Hemlata covers the same distance in 4 hrs. If Sheetal increa...
Naveen walking at a speed of 15 km/h reaches his office 20 minutes late. Next time he increases his speed by 5 km/h, but he finds he is still late by 5 ...
A cyclist covers a distance of 14 km in 25 minutes. How much distance will he cover in 18 minutes (in km)?