The range of integers that can be represented by a 32-bit computer using 2's…

2015

The range of integers that can be represented by a 32-bit computer using 2's complement to represent integers is:

  1. A.

    -232 to 232

  2. B.

    -232 to 231

  3. C.

    -231 to 232

  4. D.

    -231 to 231 -1

  5. E.

    Question not attempted

Attempted by 1205 students.

Show answer & explanation

Correct answer: D

In 2's complement representation, the range of integers that can be represented using n bits is from -2^(n-1) to 2^(n-1) - 1.

For a 32-bit system, n = 32.

Minimum value: -2^(32-1) = -2^31

Maximum value: 2^(32-1) - 1 = 2^31 - 1

Therefore, the range is -2^31 to 2^31 - 1.

हिन्दी उत्तर:

2 के पूरक प्रतिनिधित्व में, n बिट का उपयोग करके पूर्णांकों की सीमा -2^(n-1) से 2^(n-1) - 1 तक होती है।

32 बिट सिस्टम के लिए, n = 32 है।

न्यूनतम मान: -2^(32-1) = -2^31

अधिकतम मान: 2^(32-1) - 1 = 2^31 - 1

इसलिए, सीमा -2^31 से 2^31 - 1 तक है।

Explore the full course: Up Lt Grade Assistant Teacher 2025