CS FundamentalsModerateTCS NQT · Infosys pattern

Which statement about a page fault is correct?

  1. A. It is handled entirely by the MMU without involving the OS
  2. B. It means the process tried to access an illegal address and is always terminated
  3. C. It occurs when the TLB misses
  4. D. It occurs when the referenced page is valid but not currently in main memory

Correct answer: D. It occurs when the referenced page is valid but not currently in main memory

A page fault traps to the OS when the valid page is not resident; the OS loads it and restarts the instruction. A TLB miss is resolved by walking the page table and need not be a page fault; an invalid address is a different trap (segmentation fault).

More Operating Systems questions

Exams that ask this topic