Two's complement
Why it is needed
With 8 signed bits you can represent values from -128 to 127. For a negative number: write its positive magnitude on 8 bits, invert every bit and add 1.
Example
Positive magnitude: 00000101
Invert every bit: 11111010
Now add 1, always aligning the least significant bit on the right:
11111010+1=11111011
Therefore -5 = 11111011 in two's complement on 8 bit.
Practice with 8 bits
Progress: 0 / 5 — correct: 0
Represent 82 in 8-bit two's complement.
Non-negative value: write 82 in binary on 8 bits: 01010010.