Question
When using virtual memory, what happens when a page
fault occurs and the operating system cannot find a free frame in physical memory?Solution
When a page fault occurs, the operating system attempts to load the required page into memory. If no free frames are available, the OS must replace an existing page using a page replacement algorithm such as FIFO, Optimal, or LRU. The chosen algorithm determines which page is swapped out of physical memory to make room for the new page. This approach is fundamental to virtual memory systems, allowing processes to execute even when their memory demands exceed the available physical memory. Why Other Options are Incorrect: A) The process is terminated: The OS does not terminate the process unless a severe error occurs, such as a protection fault. B) The page is loaded into a random memory frame: Pages are never loaded into random frames; the OS follows a replacement strategy. D) The OS reduces the process’s memory size: Reducing memory size is not a response to page faults; instead, page replacement is used. E) The process continues execution without any changes: The process cannot continue until the required page is loaded into memory.
The volume and height of a cylinder are 2662 cm3 and 7 cm. Find the radius of the cylinder.
A sphere of the greatest possible size is enclosed within a cube whose edge length is 28 cm. Calculate the surface area (in cm²) of the sphere. (Take �...
The sum of length, breadth and height of cuboid is 25cm.If the length of the diagonal is 15 cm, then find the total surface area of the cuboid. (in cm <...
ABC is an equilateral triangle with sides of 42cm. Find the difference between its in-radius and circum-radius.
What is the difference between (in m2) the area of a circular field of radius 35 metres and area of a rectangular piece of land having its di...
The ratio of the breadth to the length of a rectangular field is 2:3. The total cost of cutting the grass of the field at the rate of Rs 6 per m2
In measuring the sides of a rectangle, there is an excess of 14% on one side and 10% deficit on the other. Then the error percent in the area is
Two cylindrical buckets 'A' and 'B' are such that the radius of bucket 'A' is thrice that of bucket 'B' whereas the height of bucket 'A' is twice that o...
The average cost of two chairs is Rs. 15000. The average cost decrease by 30% when one more chair is included. What is the cost price of the 3 rd <...
If the area of a rhombus is 14504 m² and the ratio of the diagonals is 37:49 then find the length of the shorter diagonal.