How to design binary to gray code converter?
Submitted by: AdministratorIt is easy to convert the binary number to gray number. First, for example take a binary number i.e ,101101.
Step 1: 101101 first write the MSB as it is i.e, darken bit i.e, 1
Step 2: add MSB and bit next to the MSB i.e, 1+0=1
Step 3: again add 0 and 1 we get i.e, 0+1=1
Step 4: again add 1 and 1 we get 1+1=0
Step 5: in previous step carry is occurred so neglect that carry . note that don't add carry to next add numbers
then again add 1+0 1+0=1
step 6: add 0+1 0+1= 1
Answer: Gray Code is : 111011
Submitted by: Administrator
Step 1: 101101 first write the MSB as it is i.e, darken bit i.e, 1
Step 2: add MSB and bit next to the MSB i.e, 1+0=1
Step 3: again add 0 and 1 we get i.e, 0+1=1
Step 4: again add 1 and 1 we get 1+1=0
Step 5: in previous step carry is occurred so neglect that carry . note that don't add carry to next add numbers
then again add 1+0 1+0=1
step 6: add 0+1 0+1= 1
Answer: Gray Code is : 111011
Submitted by: Administrator
Read Online Electronics Engineering Job Interview Questions And Answers
Top Electronics Engineering Questions
☺ | How to convert a JK flip flop into SR flip flop and vice versa, a SR flip flop into D or T flip flop and vice versa? |
☺ | The Cost of storing a bit is minimum in |
☺ | 74LS244 is _____? |
☺ | What is the Value of binary number with n digit, all of which are unity? |
☺ | What is Pulse Width Modulation? |
Top Best Engineering Categories
☺ | Mechanical Engineering Interview Questions. |
☺ | Civil Engineering Interview Questions. |
☺ | Chemical Engineering Interview Questions. |
☺ | Electrical Engineering Interview Questions. |
☺ | Automobile Engineering Interview Questions. |