Skip to content
Solved Examples · Example 5

Q.Find the excess-3 code of (18)10(18)_{10}

Karnataka PUCTextbookNumericImportance★★★★★est
13% · 21/160 Questions
🔒 Locked · start free trial →

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]

Encode 18 in 8-4-2-1 BCD, then add 0011 to each digit's nibble to get the excess-3 code 0100 1011.

Excess-3 (XS-3) is a non-weighted, self-complementing code derived from 8-4-2-1 BCD by adding 3 (that is, 001120011_2) to every decimal digit before encoding.

Step 1 — convert 18 into 8-4-2-1 BCD (digit by digit):

1→00011 \rightarrow 0001

8→10008 \rightarrow 1000 …

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.