Solved Examples · Example 2
Q.Convert into decimal.
Karnataka PUCTextbookNumericImportance★★★★★est
4% · 6/160 Questions
✓ Free question
[!TLDR]
Split the BCD string into nibbles of four bits and decode each to one decimal digit.
Since every decimal digit occupies exactly four bits in 8-4-2-1 BCD, decoding is just the reverse of encoding: group the bit string into 4-bit blocks (starting from the least-significant end) and read each block using the weights 8, 4, 2, 1.
Grouping into nibbles:
Decoding each nibble:
Placing the digits in order gives the decimal value.
[!ANSWER]
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.