Virtual Memory & Paging


Answer & solution
Answer: 12 bits per page-table entry. (no official key was published)
Step through it (8 steps)
There are 232 addressable physical bytes and frames of 212 bytes, so a physical frame number needs 32−12=20 bits. Each page-table entry is 4 bytes=32 bits, leaving 32−20=12 bits for valid, protection, reference, dirty, or other information. The page offset is supplied by the virtual address and is not separately stored in each entry. First-level entries likewise point to page-aligned second-level tables.