This page is a work in progress.

Q14: Decoders & Encoders#

Time Estimate15-30 minutes   Grade Impact0.5%   DueSep 21 @ 12pm  

Objective
Reinforce an understanding of NAND and NOR universal logic gates.


Free Response Questions#

  1. What is the difference between a decoder and an encoder in terms of their input signals and output behavior?

  2. Describe how a priority encoder works and explain how it differs from a standard encoder in terms of input handling and output generation.

  3. Describe a practical application where a decoder would be used in a digital circuit, and explain how it would function within that context.

Multiple Choice Questions#

  1. A 3-to-8 decoder has 3 input lines and 8 output lines. If the input is 101, which output line will be activated?

    • Output line 5
    • Output line 6
    • Output line 7
    • Output line 8
  2. Which of the following statements about encoders is true?

    • An encoder converts multiple input lines into a single output line.
    • An encoder converts a single input line into multiple output lines.
    • An encoder can only handle one input at a time.
    • An encoder is used to decode signals from a digital circuit.
  3. How many output lines does a 4-to-2 encoder have?

    • 2
    • 4
    • 8
    • 16
  4. What is the purpose of a priority encoder in a digital circuit?

    • To prioritize which input signal to encode when multiple inputs are active.
    • To decode signals from a digital circuit.
    • To convert a single input line into multiple output lines.
    • To increase the speed of signal processing in a circuit.
  5. Which of the following is a sub-component of a decoder?

    • Multiplexer
    • Flip-flop
    • Logic gate
    • Register
  6. Which of the following is a sub-component of an encoder?

    • Multiplexer
    • Flip-flop
    • Logic gate
    • Register
  7. A 2-to-4 decoder is used in a circuit to select one of four output lines based on the input combination. If the inputs are 11, which output line will be activated?

    • Output line 0
    • Output line 1
    • Output line 2
    • Output line 3