# I just learned about signed magnitude ,1's complement and 2's complement representation and I want to make sure that I understood them

So if I have the number 17 ( 8 bit code), the signed-magnitude representation is : 00010001
For -17 : 10010001
For 1's complement 17 = 00010001
For 1's complement -17 = 11101110
For 2's complement 17 = 00010001
For 2's complement -17 = 11101111
Please I need someone to tell me if it is correct.
Thank you in advance.

You can test your 2's compliment math on a calculator that displays binary. For $$n$$-bit numbers, you negate the number by subtracting it from (positive) $$2^n$$.