Question
In a virtual memory system, a process requests a page
that is not currently in memory, triggering a page fault. Which of the following is the most optimal approach to replace the page?Solution
The Optimal Page Replacement algorithm replaces the page that will not be used for the longest duration in the future. While not practically implementable due to the need for future knowledge, it serves as a theoretical benchmark for evaluating other algorithms. It minimizes the number of page faults. Why Other Options Are Incorrect: • A) LRU: Although practical, LRU does not guarantee the lowest page faults as it only considers past usage. • B) FIFO: FIFO can cause frequent page faults due to the lack of relevance to actual usage patterns. • D) Random: Random selection is arbitrary and inefficient. • E) MFU: Assumes pages used frequently in the past will be required again, which is often incorrect.
Five persons, G, H, I, J and K, live in a five storey building. The floor which is at the bottom is numbered as 1, the floor above it as 2 and so on. J ...
In a symbolic language, ‘surat is a hot place' is written as 'a hot is place surat' and 'water vapour to air here', as 'to air vapour here water', the...
Four of the five among the following are similar in such a way to form a group, which one of following doesn’t belong to the group?
...Statements:
Z ≤ Y < E < I; O > P > V > Q = I;
Conclusions:
I) Y > O
II) Q > Z
Find the one who visits on Saturday?
Statements:
Only a few House are Flats.
Only Room are Root.
No Flat is Kitchen.
Conclusion
I) Some House are Root is ...
B visits the country on which of the following day?
How many persons booked the ticket between U and R?
Achillea was exhibited by which state?
Answer the questions based on the information given below.
Seven persons stay in 7 different floors of a building such that no two persons stay...