Logic circuits

Which is the decimal number 13 in binary?

  1. A1011
  2. B1101
  3. C1110
Show answer and explanation

Answer: B. 1101

13 = 8 + 4 + 1, so the 8s, 4s and 1s places are 1, giving 1101. Repeated division gives the same result: 13 ÷ 2 = 6 r1,62=36 ÷ 2 = 3r0, 3 ÷ 2 = 1 r1, 1 ÷ 2 = 0 r1, reading the remainders from the last to the first. In hex, 1101 = D. Memorizing powers of two (1, 2, 4, 8, 16, 32…) speeds up conversions.

  • A. 1011 is 8 + 2 + 1 = 11.
  • B. Correct. 8 + 4 + 1 = 13.
  • C. 1110 is 8 + 4 + 2 = 14.

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. How many rows does the truth table of a 3-input logic circuit have?
  2. How many bits are in one byte?
  3. What is the hexadecimal number 1A in decimal?
  4. What does a JK flip-flop do when a clock edge arrives with J = 1 and K = 1?
  5. A T flip-flop whose output toggles on every active clock edge produces an output at what multiple of the clock frequency?

Comparisons in this topic