Question Detail
Question
If you are given a word of size n bits, the range of 2's complement of binary numbers is ______
Correct Answer
Option C is the correct answer.
Detailed Explanation
In two's complement representation with n bits, the range is from -2^(n-1) to +2^(n-1)-1. For example, with 8 bits, range is -128 to +127 (-2^7 to +2^7-1).
Hint
For n bits, negative range includes -2^(n-1), positive goes up to 2^(n-1)-1.