Skip to main content

Convert (17)excess-3 to BCD

Short answer

Assuming decimal 17, its excess-3 is 0100 1010. Subtract 0011 from each nibble to convert to BCD: 0100−0011=0001, 1010−0011=0111 → 0001 0111 (BCD).

Convert (17)excess-3 = (?)BCD.

"17" is not a valid excess-3 bit pattern (XS-3 is written in 4-bit binary groups), so the question is read as: write decimal 17 in excess-3 code and in BCD.

BCD: each decimal digit in 4-bit binary.

Digit17
BCD00010111

Excess-3: each decimal digit + 3, in 4-bit binary.

Digit17
Digit + 3410
XS-301001010

Going from XS-3 back to BCD means subtracting 0011 from each group: 0100−0011=00010100 - 0011 = 0001, 1010−0011=01111010 - 0011 = 0111.

Answer: (17)10=(0100 1010)XS-3=(0001 0111)BCD(17)_{10} = (0100\ 1010)_{XS\text{-}3} = (0001\ 0111)_{BCD}

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 1 questions →