answersLogoWhite

0

0101 0011 (2) = 53 (16) which in BCD means 53

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

Applications of binary to GRAY code converter?

gray code is one which changes one bit at a time but binary code is one which changes one or more bit at a time. for example three bit binary and gray code the left one is binary and the right one is gray code.binary gray000 000001 001010 011011 010100 110101 111110 101111 100000 000


What are different types of binary code?

BCD codes,gray code,error detecting code,ASCII character code,Excess 3 code


Gray code of 111 is?

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)


Which is the gray code for number 6 in four bit formate?

The gray code for the decimal number 6 in four-bit format is 1011. To convert from binary to gray code, the most significant bit (MSB) remains the same, and each subsequent bit is derived by XORing the current bit with the previous bit in the binary representation. The binary representation of 6 is 0110, which converts to gray code as follows: 0 (MSB), 1 (0 XOR 1), 1 (1 XOR 1), 1 (1 XOR 0), resulting in 1011.


How do you write a program to convert binary code to gray code using c?

Gray code, named after Frank Gray, a Bell Labs researcher who originally called it "reflected binary code", is used to help correct errors in digital communications. It was developed as a response to preventing desynchronized switching actions, requiring only one switch be flipped to increment or decrement a binary value represented by a hardware-based switch array. The simplest method, without using a whole lot of CPU or brain power, is to create an array of Gray code values that correspond to their binary representation. For example, a 2-bit Gray code array would consist of the following values: int gray2bit[]={0, 1, 3, 2}; A 3-bit Gray code array would be declared and initialized as follows: int gray3bit[]={0, 1, 3, 2, 6, 7, 5, 4}; To find the Gray code for a particular value, simply reference that offset in the desired array: int n=gray2bit[2]; /* results in 3 */ int m=gray3bit[6]; /* results in 5 */ See the related links for more information on Gray codes as well as sample source code that will assist you further.

Related Questions

What is the gray code equivalent of binary 1011?

I do not believe that is a valid binary number. All binary numbers must be divisible by 8


Does special gray code property have any value?

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.


What are the disadvantages of Gray code?

One disadvantage of Gray code is that it is not as intuitive for human understanding compared to binary code. Another drawback is that Gray code is not as efficient in terms of mathematical operations, such as addition and subtraction, compared to binary code. Additionally, Gray code requires more bits to represent the same range of values as binary code, which can result in increased complexity and storage requirements.


How do you convert graycode to binary?

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.


What is binary cyclic code?

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


Applications of binary to GRAY code converter?

gray code is one which changes one bit at a time but binary code is one which changes one or more bit at a time. for example three bit binary and gray code the left one is binary and the right one is gray code.binary gray000 000001 001010 011011 010100 110101 111110 101111 100000 000


What is the most important characteristic of Gray code Prepare a table showing the 4 bit Gray code Explain the rule for conversion of Binary number to Gray code?

characteristic of Gray code


Application of gray to binary convertion?

gray code is one which changes one bit at a time but binary code is one which changes one or more bit at a time. for example three bit binary and gray code the left one is binary and the right one is gray code.binary gray000 000001 001010 011011 010100 110101 111110 101111 100000 000


What are different types of binary code?

BCD codes,gray code,error detecting code,ASCII character code,Excess 3 code


Design a logic circit for conversion between binary code and Gray code?

OK. I have it. What now ?


What makes Gray code different from Binary?

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.


What is bcd to gray code converter?

BCD-BinaryCodedDecimal->Binary equivalent of each decimalexpressed using 4 bits->For single digit decimal BCD is same as its binary.In BCD only first 10 binary numbers are valid.The remaining 5 are invalid. Gray code is an unweighed code. ex: G3=B3 G2=G3 XOR B2 G1=G2 XOR B1 G0=G1 XOR B0