A 2's complement representation in n bits can represent integers in which range?
A0 to 2^n - 1 always
B-2^(n-1) to +2^(n-1) - 1
C-2^n to +2^n - 1 always
D-2^(n-1)+1 to +2^(n-1) always
Answer & Solution
Correct answer: B. -2^(n-1) to +2^(n-1) - 1
2's complement n-bit: range [-2^(n-1), 2^(n-1)-1]. E.g.
8-bit: -128 to +127. Asymmetric (one more negative value than positive). Negation = invert + 1.
Keep practising Gateece Digital
Browse all Gateece Digital questions for GATE ECE, or explore more Electronics topics.
Related questions
For a synchronous counter with N flip-flops, the maximum count modulus is which value?A SRAM cell typically uses how many MOSFETs per stored bit in the standard 6T topology?A Karnaugh map of n variables has how many cells, and adjacent cells differ in which way?A multiplexer (MUX) with n select lines can route which number of inputs to a single outpuIn Boolean algebra, the absorption law A + A·B simplifies to which expression?