Step 1: Understanding the Concept
The figure shows an AND gate with inputs A and B. Its output and input C go to a NAND gate with output Y.
So \(Y=\overline{(A\cdot B)\cdot C}\).
Step 2: All inputs high
\(A=B=C=1\Rightarrow A\cdot B=1\), then \(1\cdot C=1\).
\(Y=\overline{1}=0\).
Step 3: All inputs low
\(A=B=C=0\Rightarrow A\cdot B=0\), then \(0\cdot C=0\).
\(Y=\overline{0}=1\).
Step 4: Compare the options
Outputs 0 and then 1 are given by the second option.
Final Answer:
The output is 0 for all inputs high and 1 for all inputs low.
\[ \boxed{\text{(B) }0,1} \]