This document discusses various binary codes used to represent decimal numbers in digital systems, including: - Binary coded decimal (BCD) code, which represents each decimal digit with a unique 4-bit code. BCD addition and arithmetic are explained. - Gray code, a cyclic code where only one bit changes between adjacent numbers. Gray code is used in applications like shaft encoders due to this property. Conversion between binary and Gray code is covered. - Other decimal codes like excess-3 code and weighted codes are mentioned for representing decimal numbers in binary. Arithmetic operations in BCD using 10's complement for signed numbers is also summarized.