Binary Codes-IISem
Binary Codes-IISem
Binary Codes
the coding, when numbers, letters or words are
represented by a specific group of symbols.
The group of symbols is called as a code.
The digital data is represented, stored and
transmitted as group of binary bits.
This group is also called as binary code.
The binary code is represented by the number as
well as alphanumeric letter.
Advantages of Binary Code
Non-Weighted Codes
In this type of binary codes, the positional weights are not
assigned. The examples of non-weighted codes are Excess-3
code and Gray code.
Excess-3 code
The Excess-3 code is also called as XS-3 code.
The Excess-3 code words are derived from the 8421 BCD code words adding
(0011)2 or (3)10 to each code word in 8421.
BCD is a way to express each of the decimal digits with a binary code.
In the BCD, with four bits we can represent sixteen numbers (0000 to 1111).
But in BCD code only first ten of these are used (0000 to 1001). The remaining six code
combinations i.e. 1010 to 1111 are invalid in BCD.
Advantages of BCD Codes
• It is very similar to decimal system.
• We need to remember binary equivalent of decimal numbers 0 to 9 only.