- 2080 Bhadra · 1.5 marks
Convert (10101)gray to decimal
Short answer
Convert Gray to binary by copying the MSB and XORing each successive bit: 1,1⊕0=1, 1⊕1=0, 0⊕0=0, 0⊕1=1 gives 11001₂. Decimal value is 16+8+1=25, so (25)₁₀.
Convert (10101)gray = (?)₁₀.
Gray to binary: copy the MSB; each next binary bit = previous binary bit ⊕ current Gray bit.
→
Answer:
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Convert 37.432 decimal to binary · Digital Logic, chapter 1
- Convert octal 623.77 to decimal, binary, hex · Digital Logic, chapter 1
- Gray vs binary code, convert (10110)₂ to Gray · Digital Logic, chapter 1
- Convert (101001001)₂ to Gray · Digital Logic, chapter 1
- Convert (19)₁₀ to Gray · Digital Logic, chapter 1
- Convert (110111)gray to binary · Digital Logic, chapter 1
- Decimal to binary conversion · Computer Programming, chapter 5
- Binary to decimal in FORTRAN · Computer Programming, chapter 11