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.
ABC sports material manufacturing company budgeted the following data for the coming year:
Sales (1,00,000 units) = ₹1,00,000
Variable c...
Viability Gap Funding (VGF) is primarily associated with which type of projects?
The unpaid amount on shares that a company can call upon from its shareholders at a later date is called:
As per the Master Circular on Management of Advances – UCBs, for borrowers (other than MSEs) requiring fund-based working capital up to ₹1 crore and...
Provisions of Section 64(1A) will not be applicable to any income of a minor child suffering from any disability specified under ________. In other word...
CERSAI was established to prevent fraudulent lending transactions against equitable mortgages. What does the ‘S’ in CERSAI stand for?
The first auditor of a company (other than government company) is appointed by the ______ within ______ of registration of the company by passing a vali...
What is the interest rate earned on digital currency e-rupee?
If a firm has 100 in inventories, a current ratio equal to 1.2, and a quick ratio equal to 1.1, what is the firm's Net Working Capital?
Holding cash for transaction motive is: