31.7k views
3 votes
25 An 8-bit computer uses 2's complement to store negative numbers. The range of numbers that can be

stored in this computer is...
A) from - 256 to +256
B) from - 127 to +127
C) from - 255 to +256
D) from - 128 to +127
E) none of the above.

1 Answer

1 vote

Answer:

-128 to +127

Step-by-step explanation:

8-bits = 2⁸ = 256 possible values

Half of those will be positive and the other half will be negative.

So 128 positive number and -128 negative numbers. But we must also include

the value 0, so now the range will be from -128 to 127

User Puchatek
by
5.9k points