Open In App

GATE | GATE CS 2013 | Question 4

Like Article
Like
Save Article
Save
Share
Report issue
Report

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


Last Updated : 27 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads