gray code is reflective because
9's complement of any number and 1,s complement of code is same
i.e 0 reflect 9
1 reflect 8
Mirrors are painted red or gray on the back to make the glass reflective. If the back of the mirror was not painted a mirror would only be a sheet of glass. The paint also protects the reflective surface from being scratched on the back.
The reflected binary code, also known as Gray codeafter Frank Gray, is a binary numeral system where two successive values differ in only one bit.Here is an example of a 4-bit Gray code:0000000100110010011001110101010011001101111111101010101110011000
When going from one number to the next in Gray Code 1 bit only ever changes, whereas with binary more than 1 bit could change.
In order to convert decimal to gray code use an array of int containing either a one or a zero at each position. A BitArray could also be used and might be a better choice.
Converting Gray Code to Binary1). Write down the number in gray code.2). The most significant bit of the binary number is the most significant bitof the gray code.3). Add (using modulo 2) the next significant bit of the binary number to thenext significant bit of the gray coded number to obtain the next binary bit.4). Repeat step 3 till all bits of the gray coded number have been added inmodulo 2. The resultant number is the binary equivalent of the gray number.Converting Binary to Gray Code1). Write down the number in binary code.2). The most significant bit of the gray number is the most significant bitof the binary code.3). Add (using modulo 2) the next significant bit of the binary number to thenext significant bit of the binary number to obtain the next gray coded bit.4). Repeat step 3 till all bits of the binary coded number have been added inmodulo 2. The resultant number is the gray coded equivalent of the binarynumber.
Gray Code is Reflective Binary code. One of the main disadvantages of Gray code is that it is very difficult to come up with an arithmetic logic unit to support Gray code.
characteristic of Gray code
The Gray Code is a type of binary code developed by a programmer named Frank Gray. Gray code is a binary numeral system that differ than normal binary code, and is used widely to detect errors in software.
The airport code for Gray Army Airfield is GRF.
The Code of Marcia Gray was created on 1916-03-16.
Gray code
help PLA use convert excess-3 to gray code
Gray code is a 'reflected code', why is it named so will be illustrated soon. The advantage of Gray code over binary code is that only one bit in the code group changes when going from one number to the next. By, Ashish Kumar (Roh, Nawada, Bihar)
qghq
The Code of Marcia Gray - 1916 was released on: USA: 16 March 1916
Mirrors are painted red or gray on the back to make the glass reflective. If the back of the mirror was not painted a mirror would only be a sheet of glass. The paint also protects the reflective surface from being scratched on the back.
The reflected binary code, also known as Gray codeafter Frank Gray, is a binary numeral system where two successive values differ in only one bit.Here is an example of a 4-bit Gray code:0000000100110010011001110101010011001101111111101010101110011000