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.
Related questions
In Verilog HDL, the difference between `always @(*)` and `always @(posedge clk)` blocks isFor a synchronous counter with N flip-flops, the maximum count modulus is which value?A CMOS inverter's static power dissipation is dominated by which mechanism in modern deep-For a Mealy state machine vs a Moore state machine, the key behavioural difference is whicThe HAZARD called a 'static-1 hazard' in combinational logic refers to which?The Quine-McCluskey method differs from K-map minimisation primarily by which feature?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?