CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ

A logical address space has 8 pages of 2 KB each, and physical memory has 32 frames. How many bits are in a logical address and in a physical address?

  1. A. 13 and 15
  2. B. 14 and 16
  3. C. 13 and 16
  4. D. 14 and 15

Correct answer: B. 14 and 16

The offset needs 11 bits (2 KB). Logical: 3 page bits + 11 = 14 (16 KB). Physical: 32 frames of 2 KB = 64 KB, so 5 frame bits + 11 = 16. The two address sizes need not match.

More Operating Systems questions

Exams that ask this topic