Skip to content

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?

  1. 8421 code
  2. 2421 code
  3. excess-3 code
  4. excess-3 gray code

Choose the correct option:

  1. A
    (i) and (ii)
  2. B
    (ii) and (iii)
    Correct answer
  3. C
    (iii) and (iv)
  4. 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.