In two's complement, what is the minimum number of bits needed to represent the numbers $-1$ and the number $1$ respectively?
@krishnajsw can u plz explain a little?
@trailusing 1 bit you can represent number between -2^(1-1) to (2^(1-1) - 1) -> -1 to 0using 2 bit you can represent number between -2^(2-1) to (2^(2-1) - 1) -> -2 to 1so to represent -1 -> 1 bit is enoughto represent 1 -> 2 bit required
64.3k questions
77.9k answers
244k comments
80.0k users