169k views
2 votes
How is -1 (base 10) represented in 8-bit two's complement notation? Select one:

a. 11111111
b. 00000010
c.00000001
d. 11111110

User Katriel
by
8.2k points

1 Answer

3 votes

Final answer:

The 8-bit two's complement representation of -1 is 11111111, which is done by inverting the binary of positive 1 and adding 1 to the result.

Step-by-step explanation:

To represent the number -1 in 8-bit two's complement notation, we follow a specific process: first, we write the binary equivalent of the positive value (in this case, 1), then we invert the digits (also known as finding the one's complement), and finally, we add 1 to the inverted number to obtain the two's complement.

  • Write the positive value 1 in binary: 00000001
  • Invert the digits to get the one's complement: 11111110
  • Add 1 to the one's complement to get the two's complement: 11111111

Therefore, the two's complement representation of -1 in 8-bit is 11111111, which corresponds to option a.

User Joshuatvernon
by
8.3k points