Question 119
Which of the following binary codes for decimal digits are self complementing?
(a) 8421 code
(b) 2421 code
(c) excess-3 code
(d) excess-3 gray code
Answer : 2. (b) and (c) (a) 8421 code
(b) 2421 code
(c) excess-3 code
(d) excess-3 gray code
Previous | Next |
UGC NET CS December 2019 - Question 118 | UGC NET CS December 2019 - Question 120 |
Self complementing codes are the codes that have the property that 9’s complement of a decimal number is obtained directly by replacing "1"s by "0"s and "0"s by "1"s i.e. by complementing each bit in the pattern.
Excess-3 code
-
This code doesn’t have any weights. So, it is an un-weighted code.
-
We will get the Excess 3 code of a decimal number by adding three 0011 to the binary equivalent of that decimal number. Hence, it is called as Excess 3 code.
-
Excess-3 code is also called Self-Complementing Code. Because 1’s complement of excess-3 number is equivalent to 9’s complement of corresponding decimal digit.
2 4 2 1 codeReference 1 : Excess-3 Code : Self-complementary property
Reference 2 : 2 4 2 1 code : a self-complementing code
So, option 2 is correct answer