GATE Computer ScienceEasyGATE CS (PYQ pattern)
Two 8-input priority encoders receive the same inputs I7..I0. Encoder H gives priority to the highest-numbered asserted input, encoder L to the lowest-numbered one; both output 000 (with V = 0) when no input is asserted. For how many of the 256 input combinations are their 3-bit outputs A2A1A0 equal?
- A. 8
- B. 16
- C. 2
- D. 9
Correct answer: D. 9
The outputs agree when the highest and lowest asserted indices coincide, i.e. exactly one input is asserted (8 cases), plus the all-zero input, where both show 000 (and V = 0): 9. Forgetting the all-zero case gives 8.
More Digital Logic questions
- An 8-input priority encoder (I7 highest priority) outputs the index y (0 to 7) of the highest asserted input. Among the 255 non-zero input…
- What is the minimum number of 2:1 multiplexers needed to realise the three-input majority function MAJ(a, b, c) = ab + bc + ca if the…
- What is the minimum number of 2:1 multiplexers needed to realise a ⊕ b ⊕ c if the constants 0, 1 and the inputs a, b, c are available but…
- Segment g of a BCD-to-seven-segment decoder (inputs A B C D, A the MSB) is on for the digits 2, 3, 4, 5, 6, 8, 9. A designer forgets that…
- A seven-segment decoder (inputs A B C D, A the MSB; codes 10-15 are don't-cares) shows 9 without its bottom segment, so segment d is on…
- A PLA (shared AND plane, OR plane per output, inputs available in true and complemented form) must realise both F1(A,B,C) = Σm(1,3,5,6)…