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?

  1. A.

    5, 3

  2. B.

    10, 10

  3. C.

    15, 13

  4. 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.

Explore the full course: Isro