Binary Codes: 1-Gray Code
Binary Codes: 1-Gray Code
00 . 01. 10. 11
1- Gray Code
Gray-to-Binary
Example
H.W
2- ASCII Code
Many applications of digital computers require the handling not
only of numbers. but also of other characters or symbols . such
as the letters of the alphabet. For instance , an insurance
company with thousands of policyholders will use a computer to
process its files. To represent the names and other pertinent
information . it is necessary to formulate a binary code for the
letters of the alphabet. In addition, the same binary code must
represent numerals and special characters (such as $).
An alphanumeric character set is a set of elements that includes
the 10 decimal digits. the 26 letters of the alphabet. and a
number of special characters . The standard binary code for the
alphanumeric characters is the American Standard Code for
Information Interchange (ASCII ), which uses seven bits 10
code 128 characters. as shown in Table 1.7
3-BCD Code