UGC NET CS 2019Computer System Architecture › Data RepresentationVerified
UGC NET CS 2019 PYQ: Which of the following binary codes for decimal digits are self complementing? 8421 code 2421 code excess-3…
Which of the following binary codes for decimal digits are self complementing?
- 8421 code
- 2421 code
- excess-3 code
- excess-3 gray code
Choose the correct option:
- A(i) and (ii)
- B(ii) and (iii)Correct answer
- C(iii) and (iv)
- D(iv) and (i)
Answer
(B) (ii) and (iii)
Approach
Test each code for the self-complementing property: the 9's complement of a digit is the bitwise complement of its code.
Reviewed by UGC IQ Editorial Team.