Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

The smallest integer that can be represented by an 8-bit number in 2’s complement form is

A -256
B -128
C -127
D 0

Answer & Explanation

Answer: Option [B]

The range of N bit two's complement number is given by -(2n-1)....0....(2n-1-1)

So, range of 8 bit 2's complement number is -(28-1)....0....(28-1-1)

-128....0....127

Hence the smallest integer that can be represented by an 8-bit number in 2’s complement form is -128

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand