Consider a logical address space of 8 pages of 1024 words each, mapped onto a…
2013
Consider a logical address space of 8 pages of 1024 words each, mapped onto a physical memory of 32 frames. How many bits are there in the physical address and logical address respectively?
- A.
5, 3
- B.
10, 10
- C.
15, 13
- D.
15, 15
Attempted by 125 students.
Show answer & explanation
Correct answer: C
To determine the logical address bits: 8 pages require log2(8) = 3 bits for page number, and 1024 words per page require log2(1024) = 10 bits for offset. Total logical address = 3 + 10 = 13 bits. To determine the physical address bits: 32 frames require log2(32) = 5 bits for frame number, and the offset remains 10 bits. Total physical address = 5 + 10 = 15 bits.