Difficulty: Easy
Correct Answer: Incorrect (it is a decoder, not a comparator)
Explanation:
Introduction / Context:
MSI parts include decoders, encoders, multiplexers, demultiplexers, and comparators. Each serves a distinct role. The device described—one active output out of many corresponding to the numeric value of a binary input—is a decoder. This question ensures you can differentiate decoders from comparators, which instead judge the relationship between two values.
Given Data / Assumptions:
Concept / Approach:
A binary-to-2^n decoder activates exactly one output line Yk when the input equals k. Examples include 74xx138 (3-to-8 decoder) and 74xx154 (4-to-16). In contrast, a comparator (e.g., 74xx85) accepts two binary inputs A and B and asserts relationship outputs such as A>B, A=B, A<B. Thus, calling the one-hot generator a “comparator” is misclassification.
Step-by-Step Solution:
Match behavior: one-of-many output → decoder.Check for comparison outputs; none are present.Conclude that “comparator” is incorrect; the accurate term is “decoder.”Therefore the original statement is false.
Verification / Alternative check:
Consult truth tables: a 3-to-8 decoder shows Y0..Y7 with single active output for each input code; a comparator shows three relationship outputs, not one-hot decoding lines.
Why Other Options Are Wrong:
“Correct” confuses functions. Priority encoders perform the inverse mapping (one-hot to binary) with priority, not what was described. “Magnitude comparator with enable” still compares two inputs, not decode one.
Common Pitfalls:
Mixing encoder/decoder directions; assuming any device producing a single output is a comparator—selection criteria differ.
Final Answer:
Incorrect (it is a decoder, not a comparator)
Discussion & Comments