Start learning →

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.
Practise this question with Quill — GATE ECE →

Keep practising GATE ECE — Core

Browse all GATE ECE — Core questions for GATE ECE, or explore more Electronics & Communication topics.

Start a GATE ECE — Core lesson →
Related questions