Difficulty: Easy
Correct Answer: Binary code corresponding to the highest-priority asserted input
Explanation:
Introduction / Context:
 Encoders compress multiple input lines into a smaller set of output lines. Priority encoders add arbitration: when more than one input is active, they choose the one with the highest priority and report its index as a binary code.
Given Data / Assumptions:
Concept / Approach:
 The function of a priority encoder is to output the binary number that identifies the highest-priority active input. Some devices also assert a “valid” output to indicate that at least one input is active, and may provide enable outputs for cascading.
Step-by-Step Solution:
Verification / Alternative check:
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Discussion & Comments