A binary code will have some unsigned bit
combinations if the number of the
element in the set is not power of 2.The ten decimal digits form such a set . A
binary code that distinguishes among 10 elements must contain at least 4 bit.
Decimal symbol
|
BCD digit
|
0
|
0000
|
1
|
0001
|
2
|
0010
|
3
|
0011
|
4
|
0100
|
5
|
0101
|
6
|
0110
|
7
|
0111
|
8
|
1000
|
9
|
1001
|
No comments:
Post a Comment