Difficulty: Easy
Correct Answer: The output of an encoder is a binary code for 1-of-N input.
Explanation:
Introduction / Context:
Encoders and decoders are complementary combinational circuits widely used in selection, addressing, and display systems. Being able to state their core function succinctly is key to choosing the correct device for a given signal-routing or code-translation task.
Given Data / Assumptions:
Concept / Approach:
An encoder compresses the identity of one active line among many into a compact binary word. Conversely, a decoder expands a binary word into a single asserted output among many. Remember: encoder = many-to-few (coding), decoder = few-to-many (selection).
Step-by-Step Solution:
Verification / Alternative check:
Truth tables in datasheets confirm the many-to-few vs few-to-many roles. Simulation of simple cases (e.g., I5 HIGH on an encoder) yields output 101 for Y2..Y0.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing enable polarity or priority behavior with the fundamental translation direction; mixing up tri-state output multiplexers with decoders.
Final Answer:
The output of an encoder is a binary code for 1-of-N input.
Discussion & Comments