22 votes 22 votes Zero has two representations in Sign-magnitude $2's$ complement $1's$ complement None of the above Digital Logic gate1999 digital-logic number-representation easy multiple-selects + – Kathleen asked Sep 23, 2014 • edited Jun 19, 2018 by Pooja Khatri Kathleen 7.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 31 votes 31 votes A and C. Sign Magnitude $+0 = 0000$ $-0 = 1000$ $1$'s complement $+0 = 0000$ $-0 = 1111$ neelansh answered Jul 30, 2015 • edited May 31, 2021 by Lakshman Bhaiya neelansh comment Share Follow See all 3 Comments See all 3 3 Comments reply Prateek kumar commented Sep 17, 2016 reply Follow Share although we know the answer one thing must be noted here:- any odd's complement like 1's, 7's, 9's etc has two representations of zero and also sign magnitude 19 votes 19 votes Shiva Sagar Rao commented Dec 11, 2020 reply Follow Share Any references @prateek? 0 votes 0 votes vaibhavkedia968 commented Jan 9, 2021 reply Follow Share @Prateek kumar I don’t think this is true. Complement of a number is relative to the base being used. 2’s complement of for a number in base 2 is different from 2’s complement of a number in base 3. For eg:- 2’s complement of $010100_{2} = 101100_{2}$ whereas 2’s complement of $010100_{3} = 212122_{3} $ Clearly 2’s complement for base 3 will have +0 and -0 but for base 2 there will only one representation. The point is for a number in base n, (n-1)’s complement will have two representations for 0 (+0 and -0) but n’s complement will have 1 representation only. 0 votes 0 votes Please log in or register to add a comment.
4 votes 4 votes -0 and 0 in 1's complement that is why the range is -2^n-1 to 2^n-1 Bhagirathi answered Sep 25, 2014 Bhagirathi comment Share Follow See 1 comment See all 1 1 comment reply minal commented Aug 8, 2015 reply Follow Share sign magnitude ..has also two representation for zero +0 = 0000-0 = 1000 3 votes 3 votes Please log in or register to add a comment.