Truth table of the given circuit is given by
\(\begin{array}{|c|c|c|c|}\hline A & {B} & {Y^{\prime}} & {Y} \\ \hline 0 & {0} & {1} & {0} \\ \hline 0 & {1} & {0} & {1} \\ \hline 1 & {0} & {0} & {1} \\ \hline 1 & {1} & {0} & {1} \\ \hline\end{array}\)