Logic circuits

What is the hexadecimal number 1A in decimal?

  1. A110
  2. B16
  3. C26
Show answer and explanation

Answer: C. 26

Hex 1A = 1 × 16 + A (=10) × 1 = 26; in hex, A–F represent 10–15. In binary, 1A = 0001 1010—each hex digit simply maps to four bits, which is what makes hex convenient. Programs use a prefix such as 0x1A to distinguish it from decimal. Keeping each digit's weight (a power of 16) in mind prevents misreadings.

  • A. 110 comes from mistakenly writing "1" and "10" side by side.
  • B. 16 is hexadecimal 10.
  • C. Correct. 1 × 16 + 10 = 26.

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. What does a JK flip-flop do when a clock edge arrives with J = 1 and K = 1?
  2. A T flip-flop whose output toggles on every active clock edge produces an output at what multiple of the clock frequency?
  3. Which circuit outputs, in binary, the number of the highest-priority input when several inputs are 1 at the same time?
  4. What is the drawback of a ripple-carry adder made by chaining full adders?
  5. Which correctly describes the hold time of a flip-flop?

Comparisons in this topic