Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)

LOOK UP ANOTHER TERM


Gray code

A binary code used to represent digits generated from a mechanical sensor that may be prone to error. Used in telegraphy in the late 1800s, and also known as "reflected binary code," Gray code was patented by Bell Labs researcher Frank Gray in 1947.

Only Change One Bit
In Gray code, there is only one bit location different between numeric increments, which makes mechanical transitions from one digit to the next less error prone. The following chart shows normal binary representations from 1 to 10 and the corresponding Gray code.


    Decimal  Binary   Gray
    Digit    Code     Code

       0     0000     0000
       1     0001     0001
       2     0010     0011
       3     0011     0010
       4     0100     0110
       5     0101     0111
       6     0110     0101
       7     0111     0100
       8     1000     1100
       9     1001     1101
      10     1010     1111





Personal Use Only

Before/After Your Search Term
BeforeAfter
graphics tabletgray goo
graphics terminalgray hairs
graphics viewergray mail
graPHIGSgray scale
grassroots publishingGraybar
gratingsgrayed out
grawlixgraylist
graygraylisting
gray boxgraymail
gray box testinggraynet

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
Audio/VideoGraphics
MainframesSecurity
ProgrammingHealthcare IT
System design