A logical address is 32 bits long and the page size is 4 KB. How many bits are used for the page number?

Options

  • A. 20 bits
  • B. 22 bits
  • C. 24 bits
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. 20 bits

Detailed Explanation

4 KB requires 12 offset bits. Therefore, page number bits are 32 - 12 = 20 bits.