The GATE Grind

GATE 2013 CS (CS1) – Question 14

Digital Logic · Number Representation and Arithmetic · 1 mark · Multiple choice

Find the smallest integer representable in eight-bit two’s complement.

  1. −256
  2. −128
  3. −127
  4. 0

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) −128

Explanation

An n-bit two’s-complement range is −2ⁿ⁻¹ through 2ⁿ⁻¹−1. At n=8 the minimum is −128, represented by 10000000. Thus B.

More Number Representation and Arithmetic questions

All Number Representation and Arithmetic questions →