5 votes 5 votes In two's complement, what is the minimum number of bits needed to represent the numbers $-1$ and the number $1$ respectively? $1$ and $2$ $2$ and $2$ $2$ and $1$ $1$ and $1$ Digital Logic goclasses2024-mockgate-13 goclasses digital-logic number-representation 1-mark + – GO Classes asked Jan 28 • retagged Jan 28 by Lakshman Bhaiya GO Classes 599 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
6 votes 6 votes $-1$ in Twos complement is $1$. $1$ in Twos complement is $01$. With $n-bits$, we can represent $-2^{n-1}$ to $2^{n-1} -1 $ numbers in Twos complement number system. Deepak Poonia answered Jan 28 Deepak Poonia comment Share Follow See all 3 Comments See all 3 3 Comments reply krishnajsw commented Jan 29 reply Follow Share good question.. I misinterpreted question as we want to represent -1 and 1 simultaneously.. 2 votes 2 votes trail commented Jan 31 reply Follow Share @krishnajsw can u plz explain a little? 0 votes 0 votes krishnajsw commented Jan 31 reply Follow Share @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 3 votes 3 votes Please log in or register to add a comment.