Logic circuits

Which represents decimal 59 in BCD (binary-coded decimal)?

  1. A0011 1011
  2. B0101 1010
  3. C0101 1001
Show answer and explanation

Answer: C. 0101 1001

BCD encodes each decimal digit in four bits: 5 is 0101 and 9 is 1001, so 59 is 0101 1001. The six codes 1010–1111 go unused, wasting some space, but BCD lets decimal displays (seven-segment LEDs) and monetary calculations avoid binary-decimal conversion errors. 0011 1011 is 59 in ordinary binary (00111011), which does not align with decimal digits.

Related calculators

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Logic circuits questions

  1. When is the output of a three-input majority circuit 1?
  2. Which correctly lists the inputs of a full adder?
  3. Which circuit activates exactly one of eight outputs according to a 3-bit input?
  4. What is a typical use of a shift register, which chains flip-flops in series and moves data one bit to the next on each clock?
  5. What happens to the value of a binary number when it is shifted left by one bit (assuming no overflow)?

Comparisons in this topic