Difficulty: Easy
Correct Answer: decoder
Explanation:
Introduction / Context:Seven-segment displays require segment control signals (a–g). Converting a binary code (often BCD) into segment lines is a classic display-interface problem.
Given Data / Assumptions:
Concept / Approach:A decoder maps an encoded input into a set of outputs; a BCD-to-7-segment decoder asserts the correct segment lines for each digit. An encoder does the reverse (many inputs to coded output).
Step-by-Step Solution:
Step 1: Recognize the direction: code → many segment lines.Step 2: This is a decode operation.Step 3: Choose “decoder.”Verification / Alternative check:Standard ICs like 7447/7448 (TTL) are BCD-to-7-segment decoders/drivers, confirming the mapping role.
Why Other Options Are Wrong:
Encoder: Opposite direction (many lines to fewer coded bits).Multiplexer: Selects one of many inputs to a single output; not direct code-to-segment mapping.Magnitude comparator: Compares numbers; does not generate segment codes.Priority encoder: Still an encoder, not a decoder.Common Pitfalls:Confusing encoder vs. decoder directionality.
Final Answer:decoder
Discussion & Comments