Virtual Memory & Paging



Answer & solution
Answer: 128 bytes (no official key was published)
The eight segments need 3 segment-number bits, leaving 13 bits of segment offset. Each segment therefore contains 216/8=213=8192 bytes. If page size is P=2p bytes, the segment contains 8192/P pages and needs that many page-table entries. At 2 bytes each, its table occupies 16384/P bytes. The one-page requirement is 16384/P≤P, or P²≥16384=214. Thus p≥7 and the smallest allowed power of two is P=128. Verification: 8192/128=64 entries occupy 128 bytes exactly. The preceding power of two, 64 bytes, would need 128 entries or 256 bytes, exceeding one page. The hardware segment table does not add to the per-segment page-table storage being bounded.