To find the two’s complement, we first invert all the bits of the binary number:
Original number: 110101Inverted bits: 001010
Then we add 1 to the inverted result:
001010 + 1 = 001011
So, the two’s complement of 110101 is 001011.