BCD conversation :- Convert each digit into groups of four binary digits equivalent.
6248 = 6 - 0110 2-0010 4 - 0100 8-1000
(6248)10 = (0110 0010 0100 1000)
BCDEXCESS THREE CODE :-
Add +3 in each digit then convert into groups of four binary digit equivalent.
6+3 = 9 , 2+3=5 , 4+3 = 7, 8+3 = 11,
(9)10 = (1001)excess3 , (5)10 = (0101)excess3, (7)10 = (0111)excess3, (11)10 = (1011)excess3
Now,combine together (6248)10=(1001 0101 0111 1011)excess3
2421 CODE :- Represent each decimal digit in binary with respect to weight 2 4 2 1.
6 = 0x21 + 1x22 + 1x21 + 0x20. 2 = 0x21+ 0x22 + 1x21 + 0x20.
4 = 0x21 + 1x22 + 0x21 + 0x20. 8 = 1x21 + 1x22 + 1x21 + 0x20.
combine all those. ANS :- (0110 0010 0100 1110)2421
6311 CODE :- Represent each decimal digit in binary with respect to weight 6 3 1 1.
6 = 1x61 + 0x31 + 0x11 + 0x11. 2 = 0x61+ 0x31 + 1x11 + 1x11.
4 = 0x61 + 1x31+ 0x11 + 1x11. 8 = 1x61 + 0x31 + 1x11 + 1x11.
combine all those. ANS :- (1000 0011 0101 1011)6311
Thank you....