Computer Science · Demand Paging
In the context of Virtual Memory implementation, which of the following statements correctly describes the operational mechanism of Demand Paging and the role of the Valid-Invalid bit?
- 1The demand paging mechanism requires that all logical pages of a process be loaded into physical frames during the initial system startup to prevent the occurrence of page faults during execution.
- 2The valid-invalid bit is a hardware security feature used primarily to ensure that one process cannot access the memory space of another process, thereby replacing the need for base and limit registers.
- 3In demand paging, a process begins execution with its page table entries typically set to 'Invalid', and the system relies on the valid-invalid bit to trigger a trap to the operating system only when the CPU attempts to access a page not currently residing in physical memory.✓
- 4During the execution of a process under demand paging, the Memory Management Unit automatically resets all 'Valid' bits to 'Invalid' every time a context switch occurs to ensure that the next process can utilize the same physical frames.
Correct answer
In demand paging, a process begins execution with its page table entries typically set to 'Invalid', and the system relies on the valid-invalid bit to trigger a trap to the operating system only when the CPU attempts to access a page not currently residing in physical memory.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Demand Paging?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Demand Paging