Question
Consider the digital circuit shown below with two input lines A and B, two select lines S0 and S1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is ____________. (answer in integer)
Note: One input combination is an instance of [A B S1 S0].
Official answer and solution
- Official answer
- 6
- From
- Official GATE 2026 answer key
Solution
Evaluate the MUX output for each of the four select-line combinations .
For the active-high 2:4 decoder with inputs , and . For the 4-to-1 multiplexer with select lines :
- When : , which equals when (1 combination:
0000). - When : , which is never (0 combinations).
- When : , which equals for all values of (4 combinations:
0010, 0110, 1010, 1110). - When : , which equals when (1 combination:
1111).
Total input combinations producing is .
6
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 59 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.