Exam-style question
Try this first
What is the two's complement representation of -5 in 8 bits?.
- A.11111011
- B.00000101
- C.11111010
- D.00001011
Answer and explanation
Concise answer
11111011
Why this is correct
To find -5, first represent 5 as 00000101, invert the bits to get 11111010, and then add 1 to get 11111011.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
