- 2073 Shrawan · 3+2 marks
(1110)gray→BCD and (1430)₁₀→Excess-3
Short answer
(i) Gray 1110 → binary 1011 (decimal 11) → BCD 0001 0001. (ii) Decimal 1430: add 3 to each digit → 4,7,6,3 → Excess-3 0100 0111 0110 0011.
Perform the following code conversions: i) (1110)gray = (?)BCD ii) (1430)₁₀ = (?)Excess-3
(i) to BCD
Step 1: Gray to binary. Copy the MSB; each next binary bit = previous binary bit ⊕ current Gray bit.
| Gray bit | Operation | Binary bit |
|---|---|---|
| 1 (MSB) | copy | 1 |
| 1 | 1 ⊕ 1 | 0 |
| 1 | 0 ⊕ 1 | 1 |
| 0 | 1 ⊕ 0 | 1 |
Step 2: decimal to BCD. Code each digit: 1 → 0001, 1 → 0001.
Answer:
(ii) to Excess-3
Add 3 to each digit and write it in 4 bits:
| Digit | Digit + 3 | Excess-3 |
|---|---|---|
| 1 | 4 | 0100 |
| 4 | 7 | 0111 |
| 3 | 6 | 0110 |
| 0 | 3 | 0011 |
Answer:
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Gray→BCD, decimal→Excess-3 and 2's complement addition · Digital Logic, chapter 1
- BCD code and 3-bit binary-to-Gray converter · Digital Logic, chapter 1
- Code conversions: (41.8125)₁₀, (1000)₂, (19)₁₀ · Digital Logic, chapter 1
- 39 to Gray/Excess-3 and 2's complement addition · Digital Logic, chapter 1
- Digital/analog signals, Gray and Excess-3 codes · Digital Logic, chapter 1
- Convert (1100 0011)Excess-3 to BCD · Digital Logic, chapter 1
- Number conversions (122)10 to BCD etc. · Basic Electronics Engineering, chapter 6 · asked 3×
- Number conversions (903)10 to BCD etc. · Basic Electronics Engineering, chapter 6 · asked 3×