Step 1: Understanding the Concept
From the figure, a NOR gate and an AND gate both receive inputs A and B.
Their outputs are fed to a NAND gate which gives Y.
Step 2: Gate outputs
NOR: \(\overline{A+B}\) is 1 only for \(A=B=0\).
AND: \(A\cdot B\) is 1 only for \(A=B=1\).
Step 3: Combine
The two outputs are never 1 together, so their product is always 0.
\(Y = \overline{0} = 1\) for every input.
Step 4: Match
The table with Y = 1 in all four rows is (P).
Final Answer:
The output is 1 for all inputs, which is table (P).
\[ \boxed{\text{(A) }\text{P}} \]