If negative numbers are represented in 2's complement form, then what is the…
2026
If negative numbers are represented in 2's complement form, then what is the range of numbers that can be stored in 8 bits?
- A.
-128 to +128
- B.
-127 to +128
- C.
-128 to +127
- D.
-127 to +127
Attempted by 148 students.
Show answer & explanation
Correct answer: C
In n-bit two's complement representation, the range of representable integers is from -2^(n-1) to 2^(n-1) - 1. For 8 bits, the minimum value is -2^7 = -128 and the maximum value is 2^7 - 1 = 127. Therefore, the range of numbers that can be stored is -128 to +127.