If there are 64 segments, each of size 2KB, then how many bits should a…

2018

If there are 64 segments, each of size 2KB, then how many bits should a logical address have?

  1. A.

    11 bits

  2. B.

    6 bits

  3. C.

    5 bits

  4. D.

    17 bits

Attempted by 113 students.

Show answer & explanation

Correct answer: D

In a segmented memory system, the logical address consists of segment number bits and offset bits. With 64 segments, log2(64) equals 6 bits for the segment number. Each segment is 2KB (2048 bytes), requiring log2(2048) equals 11 bits for the offset. Adding these together gives a total logical address size of 6 plus 11, which equals 17 bits.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs