Practice free →
HomeGATE ECEElectronics & CommunicationGATE ECE — Core › In 2's complement representation, range of 8-bit…

In 2's complement representation, range of 8-bit number:

A0 to 255
B0 to 127
C-128 to 127 (-2^7 to 2^7 - 1)
D-127 to 128
Answer & Solution
Correct answer: C. -128 to 127 (-2^7 to 2^7 - 1)
n-bit 2's complement: range -2^(n-1) to +2^(n-1) - 1. For 8-bit: -128 to +127. Negative numbers have MSB = 1. To negate: invert all bits + 1. Most common signed integer representation in computers.
Solve this in the app — GATE ECE practice & 24k+ MCQs →
Related questions