The range of the numbers that can be represented in 8-bit using 2’s complement…
2023
The range of the numbers that can be represented in 8-bit using 2’s complement representation is ______.
- A.
–128 से +128
- B.
–127 से +127
- C.
–128 से +127
- D.
More than one of the above
- E.
None of the above
Attempted by 909 students.
Show answer & explanation
Correct answer: C
In 8-bit 2’s complement representation, the leftmost bit is the sign bit (0 for positive, 1 for negative). The range of representable numbers is from -2^(n-1) to +2^(n-1) - 1, where n is the number of bits. For n = 8, this gives: -2^7 to +2^7 - 1, which is -128 to +127. Thus, the range is from -128 to +127.