CS FundamentalsVery hardGATE CS

A virtual address is 0x00403A7C on a system with 4 KB pages and a two-level page table (10-bit outer index, 10-bit inner index, 12-bit offset). What are the outer index, inner index and offset (in decimal)?

  1. A. 1, 3, 2684
  2. B. 4, 3, 2684
  3. C. 1, 58, 124
  4. D. 0, 1027, 2684

Correct answer: A. 1, 3, 2684

0x00403A7C = 0000 0000 01|00 0000 0011|1010 0111 1100. Top 10 bits = 1, next 10 bits = 3, offset 0xA7C = 2684.

More Operating Systems questions

Exams that ask this topic