Skip to content

GATE CS 2013 Q4 — Number Representations (Fixed and Floating Point)

Explain with AI

The smallest integer that can be represented by an 8-bit8\text{-bit} number in 2′s2's complement form is

Choose one option
View worked solution

Answer: B

For an nn-bit signed integer represented in 2's complement form, the range of representable values is:

Range=[−2n−1, 2n−1−1]\text{Range} = [-2^{n-1}, \ 2^{n-1} - 1]

Given that the number of bits is n=8n = 8:

  • Smallest (minimum) integer: −28−1=−27=−128-2^{8-1} = -2^7 = -128
  • Largest (maximum) integer: 28−1−1=27−1=1272^{8-1} - 1 = 2^7 - 1 = 127

Thus, the smallest integer that can be represented is −128-128.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Number Representations (Fixed and Floating Point) questions