Question: what is the difference between binary code and gray 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.