218k views
5 votes
What is the range of numbers that can be represented with n-bit one's complement binary?

Option (a) states that the range is from -2⁽ⁿ⁻¹⁾ to 2⁽ⁿ⁻¹⁾ - 1. For an 8-bit binary, the range would be from -127 to 127.

Option (b) states that the range is from -2⁽ⁿ⁻¹⁾ to 2⁽ⁿ⁻¹⁾. For an 8-bit binary, the range would be from -128 to 127.

Option (c) states that the range is from -2ⁿ to 2ⁿ - 1. For an 8-bit binary, the range would be from -128 to 127.

Option (d) states that the range is from -2ⁿ to 2ⁿ. For an 8-bit binary, the range would be from -127 to 127.

User Katlynn
by
7.2k points

1 Answer

1 vote

Final answer:

The correct range for n-bit one's complement binary is from -2^(n-1) to 2^(n-1) - 1, which makes Option (a) the accurate choice for an 8-bit binary range.

Step-by-step explanation:

The range of numbers that can be represented by n-bit one's complement binary is from -2(n-1) to 2(n-1) - 1. Therefore, the correct option for the given question is Option (a). For an 8-bit binary represented in one's complement form, the range is indeed from -127 to 127. With one’s complement, the most significant bit indicates the sign of the number (with 0 for positive and 1 for negative), and the range is symmetric around zero, excluding the fact that both +0 and -0 can be represented.

User Smartmeta
by
7.9k points