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.
- Under what circumstances can insiders communicate unpublished price-sensitive information as per Reg 3 of SEBI (Prohibition of Insider Trading) Re... 
- What is the primary aim of the Mischief Rule in statutory interpretation? 
- What is the tenure for which an additional director is appointed under the Companies Act? 
- As per the provisions of section 105 of the Bharatiya Nagarik Suraksha Sanhita, 2023 the recording of search and seizure through audio video electronic ... 
- What is the obligation of a person who has received advantage under void agreement, or contract that becomes void as per section 65 of the Contract Act? 
- The Schedule of Limitation Act, 1963 contains- 
- What shall be credited to the Pension Regulatory and Development Fund as per the PFRDA Act? 
- Instruments of gift of immovable property is a document for which, as per Section 17 of the Registration Act, 1908, ___________________________. 
- As per the Insolvency and Bankruptcy Code, who can initiate the corporate insolvency resolution process in the case of a corporate debtor's default? 
- As per Regulation 8 of SEBI (Prohibition of Fraudulent and Unfair Trade Practices Relating to Securities Market) Regulations, 2003, what is the duty of ...