Logic circuits

Which circuit activates exactly one of eight outputs according to a 3-bit input?

  1. AEncoder
  2. BDecoder
  3. CCounter
Show answer and explanation

Answer: B. Decoder

A decoder activates exactly one of 2ⁿ outputs based on an n-bit input—eight outputs for three bits. It selects word lines or columns from memory addresses and decodes CPU instructions. Since each output corresponds to one input combination (a minterm), a decoder plus OR gates can implement any logic function. An encoder performs the reverse.

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 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?
  2. What happens to the value of a binary number when it is shifted left by one bit (assuming no overflow)?
  3. When an even parity bit is added to the 7-bit data 1011001, what is the parity bit?
  4. When is the output of a two-input NOR gate 1?
  5. What is the simplified result of the expression A + A·B?

Comparisons in this topic