Exam-style question
Try this first
What is the range of values that can be represented using 6-bit two’s complement?.
- A.-31 to 32
- B.-32 to 31
- C.0 to 63
- D.-63 to 63
Model answer
What a good answer should say
- -32 to 31
Explanation
Why this works
For n bits, the range is -2^(n-1) to 2^(n-1) - 1. For 6 bits, this is -32 to 31.
Common mistake
No common mistake is linked to this question yet.
