42.0k views
4 votes
What is the 2's complement of binary 110110?

1) 110100
2) 001001
3) 001010
4) 101010

User SANITH
by
7.8k points

1 Answer

5 votes

Final answer:

The 2's complement of binary 110110 is obtained by inverting the bits to get 001001 and then adding 1, resulting in 001010.

Step-by-step explanation:

The 2's complement of a binary number is found by inverting all the bits (changing 0s to 1s and 1s to 0s) and then adding 1 to the least significant bit (the rightmost bit). Let's find the 2's complement of the binary number 110110:

  1. Invert the digits: 001001
  2. Add 1 to the inverted number: 001001 + 1 = 001010

Therefore, the 2's complement of binary 110110 is 001010.

]

User Scott Yang
by
7.6k points