skip to content
1 of 2

REFLECTIVE CODE

REFLECTIVE CODE

It can be observed that in the 2421 and 5211 codes, the code for decimal 9 is the complement of the code for decimal 0, the code for decimal 8 is the complement of the code for decimal 1, the code for decimal 7 is the complement of the code for decimal 2, the code for decimal 6 is the complement of the code for decimal 3, the code for decimal 5 is the complement of the code for decimal 4. These codes are called as Reflective Codes. The same can be observed in the following table:

 

DECIMAL NUMBER
BINARY NUMBER
2421 CODE
5211 CODE
0
0
0000
0000
1
1
0001
0001
2
10
0010
0011
3
11
0011
0101
4
100
0100
0111
5
101
1011
1000
6
110
1100
1010
7
111
1101
1100
8
1000
1110
1110
9
1001
1111
1111

NOTE: 8421 code is not a reflective code.