I had an interview a few days back and this was the question they asked me in one of the rounds:
A mux which gives output
awhen select line is1andbwhen it is0. The output is represented asC. This has to be implemented withandandnotgates only.
I got it almost but was not sure how the output is received finally in combinational ckt. It is a very simple thing I missed here. I gave the select line to an and gate and input a and the select line and the input b through a not gate to another and gate so I got the output as A and B but how can we have one output alone? either a or b?