216k views
5 votes
In eight bit two's complement notation write down the binary for -125

a. 0111 1110
b. 1000 0010
c. 1000 0011
d. 125 is too large to represent in 8 bits 2's complement

1 Answer

3 votes

Final answer:

The two's complement binary representation of -125 in an eight-bit format is 1000 0011.

Step-by-step explanation:

To represent the number -125 in eight-bit two's complement notation, you would perform the following steps:

  1. Write the binary equivalent of the positive number 125, which is 0111 1101.
  2. Invert all the bits to get the complement, resulting in 1000 0010.
  3. Add 1 to the least significant bit to get 1000 0011, which is the two's complement representation of -125 in eight-bit binary.

Therefore, the correct answer is c. 1000 0011.

User Brokentypewriter
by
8.5k points