The range of integers that can be represented by an n bit 2’s complement…

2015

The range of integers that can be represented by an n bit 2’s complement number system is: ISRO 2015

  1. A.

    - 2n - 1 to 2n - 1 - 1

  2. B.

    - (2n - 1 - 1) to (2n - 1 - 1)

  3. C.

    - 2n - 1 to 2n - 1

  4. D.

    - (2n - 1 + 1) to (2n - 1 - 1)

Attempted by 260 students.

Show answer & explanation

Correct answer: A

In an n-bit 2's complement number system, the range of representable integers is from -2^(n-1) to 2^(n-1) - 1. The most significant bit acts as the sign bit, allowing for one more negative number than positive numbers.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro