All mock tests are FREE till 31 December — register to save your progress

(Same machine as above: 16 GB main memory, 32-bit virtual address space, 4 KB page size.) The number of bits reserved for the frame offset is ____.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 12

Explanation

The frame offset identifies one specific byte within a frame, so it must be able to index every byte of a single frame. Since the frame size equals the page size of 4 KB = 212 bytes, the offset needs exactly 12 bits (212 = 4096 distinct byte positions), matching option (i).

More Programming Languages and Computer Graphics questions