Consider a logical address space of 8 pages of 1024 words mapped into memory…
2008
Consider a logical address space of 8 pages of 1024 words mapped into memory of 32 frames. How many bits are there in the logical address?
- A.
13 bits
- B.
15 bits
- C.
14 bits
- D.
12 bits
Attempted by 132 students.
Show answer & explanation
Correct answer: A
To determine the number of bits in the logical address, we calculate the bits required for the page number and the offset. There are 8 pages, so log2(8) = 3 bits for the page number. Each page has 1024 words, so log2(1024) = 10 bits for the offset. The total logical address size is 3 + 10 = 13 bits.
A video solution is available for this question — log in and enroll to watch it.