GATE CS 2026, set 2 · Question 59 · Digital Logic · Numerical answer (NAT) · 2 marks · no negative marks

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].

Block Q (2:4 decoder) has two inputs on its left: A (upper arrow) and B (lower arrow). Its four outputs on the right are labelled D0, D1, D2, D3 from top to bottom. Block M (4-to-1 multiplexer) has four data inputs labelled 0, 1, 2, 3 from top to bottom, and two select inputs entering from the top labelled S1 (left) and S0 (right). Connections: D0 of Q goes to input 0 of M; constant 0 goes to input 1 of M; constant 1 goes to input 2 of M; D3 of Q goes to input 3 of M. Outputs D1 and D2 of Q are not connected. The output of M is Y.
Answer

Answer 6

Answer from the official GATE CS 2026 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes