CS FundamentalsHardProduct-company MCQ pattern

How many of the following statements are correct? 1. On a context switch, the TLB must be flushed unless its entries carry an address-space identifier (ASID). 2. A TLB miss always causes a page fault. 3. Larger pages reduce page-table size but increase internal fragmentation. 4. Pure demand paging loads every page of a process at start-up so that later references never fault.

  1. A. Only one
  2. B. Only two
  3. C. Only three
  4. D. All four

Correct answer: B. Only two

Only 1 and 3 are correct. 2 is false: on a TLB miss the page table is walked, and if the page is resident the TLB is simply refilled. 4 is false: demand paging loads a page only when it is first referenced, so a pure demand-paged process starts with page faults.

More Operating Systems questions

Exams that ask this topic