UGC-NET | UGC NET CS 2016 Aug – II | Question 7
Which of the following is the most efficient to perform arithmetic operations on the numbers?
(B) 1’s complement
(C) 2’s complement
(D) 9’s complement
Explanation: Sign’s magnitude is only for sign convention (MSB is 1 then no is negative and if 0 then no is positive).
Main difference is that while adding numbers using 1′ s complement, we first do binary addition, then add in an end-around carry value. But, 2′ s complement has only one value for zero, and doesn’t require carry values.
9’s complement of a decimal number is the subtraction of it’s each digits from 9. Like 1’s complement, 9’s complement is used to subtract a number using addition.
2’s complement representation is unambiguous for 0 (i.e., only positive 0), but Sign-magnitude, 1’s complement and 9’s complement are ambiguous representation for 0 (i.e., both positive and negative 0).
So, option (C) is correct.
Quiz of this Question
Please Login to comment...