What is the difference between 2’s complement and 2’s complement representation of a number? Please can you do 2’s complement of (43) and (-43) and also represent 43 and (-43) in two’s complement form. Also, write binary of 43 and (-43).

For Unsigned numbers → Normal binary form = Sign Magnitude = 1’s complement form = 2’s comp form.all are same.

So, for unsigned numbers you don’t need to specify in which representation to use to represent a number.

But for signed number you need to specify, “represent -43 in 2’s complement form “ like this.

8 bit Binary of 43 → 00101011. 43 is an unsigned number, so you can think it as represented in 1’s complement form or 2’s complement form or Sign Magnitude form. Because for Unsigned numbers all the representations are same.

2’s complement representation of +43 = 00101011 (Normal Binary)

2’s complement representation of -43 = 11010101 = 2’s complement of 43

2’s complement of -43 = 00101011 = Binary representation of 43.

2’s complement of 43 = 11010101

Note: 2’s complement representation of -X = 2’s complement of X.