Open In App
Related Articles

UGC-NET | UGC NET CS 2016 Aug – II | Question 7

Improve Article
Save Article
Like Article

Which of the following is the most efficient to perform arithmetic operations on the numbers?
(A) Sign-magnitude
(B) 1’s complement
(C) 2’s complement
(D) 9’s complement

Answer: (C)

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

Last Updated : 20 Nov, 2018
Like Article
Save Article
Similar Reads