Difficulty: Easy
Correct Answer: S0 = 1, S1 = 0, S2 = 1
Explanation:
Introduction / Context:The 74151 is a classic 8-to-1 data selector/multiplexer. It routes one of eight data inputs (I0–I7) to its output Y based on a 3-bit select code on S2, S1, S0. Correctly mapping the desired input index to the select lines is a routine task in digital design and troubleshooting.
Given Data / Assumptions:
Concept / Approach:To select input Ik, load the binary representation of k on the select lines, with S2 as the most significant bit and S0 as the least significant bit. For k = 5, the binary code is 101, so S2 = 1, S1 = 0, S0 = 1. Some datasheets present the order as S2 S1 S0; the question provides the tuple in the order S0, S1, S2, so we assign accordingly.
Step-by-Step Solution:
Convert index: 5 → binary 101.Map to S2 S1 S0: 1 0 1.Report in the question's order S0, S1, S2 → 1, 0, 1.Therefore, S0 = 1, S1 = 0, S2 = 1 selects I5.Verification / Alternative check:Cross-check against the truth table in a 74151 datasheet: Y = Ii where i = S2S1S0 in binary when the enable pin allows selection.
Why Other Options Are Wrong:
Common Pitfalls:Confusing bit order (S2 vs S0) or forgetting an active-LOW enable that forces Y to a fixed state regardless of S2–S0.
Final Answer:S0 = 1, S1 = 0, S2 = 1
Discussion & Comments