GATE | GATE CS 2013 | Question 4



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: (B)

Explanation: See Two’s complement

For n bit 2’s complement numbers, range of number is -(2(n-1)) to +(2(n-1)-1)

Quiz of this Question



My Personal Notes arrow_drop_up

Article Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.