CS FundamentalsHardProduct-company MCQ pattern

A machine has 1 GB of physical memory, 4 KB pages, 64-bit virtual addresses and an inverted page table. How many entries does the inverted page table have, and on what does that number depend?

  1. A. 2²⁰ entries, set by the page size alone
  2. B. 2⁵² entries, set by virtual address size
  3. C. 2¹⁸ entries per process
  4. D. 2¹⁸ entries, set by physical memory size

Correct answer: D. 2¹⁸ entries, set by physical memory size

An inverted table has one entry per physical frame, shared by all processes: 2³⁰/2¹² = 2¹⁸. Its size does not depend on the virtual address space, which is why it suits 64-bit systems.

More Operating Systems questions

Exams that ask this topic