Exam-style question
Try this first
What decimal value does the 5-bit two’s complement pattern 10110 represent?.
- A.-10
- B.-11
- C.22
- D.-9
Model answer
What a good answer should say
- -10
Explanation
Why this works
The leading bit is 1, so the value is negative. Invert 10110 to get 01001, add 1 to get 01010, which is 10.
Therefore, the original value is -10.
Common mistake
No common mistake is linked to this question yet.
