Question: what is the difference between gray code and binary code?
Answer: Binary numerals are used for doing math, because they are easy to add, subtract, and multiply. Gray code is used in situations where a change to an adjacent number would create a “race condition ” between different bits.