Solved Examples · Example 7
Q.Convert into gray code.
Karnataka PUCTextbookNumericImportance★★★★★est
19% · 31/160 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
Copy the MSB, then XOR each pair of neighbouring binary bits to get .
Gray code is a unit-distance code, so successive values differ in only one bit. To convert a binary number to gray :
- (the MSB is copied straight down)
- …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.