2

Inputs Output
\(x\) \(y\) \(x \text{ AND } y\)
\(1\) \(1\) \(1\)
\(1\) \(0\) \(0\)
\(0\) \(1\) \(0\)
\(0\) \(0\) \(0\)

image

2

Inputs Output
\(x\) \(y\) \(x \text{ XOR } y\)
\(1\) \(1\) \(0\)
\(1\) \(0\) \(1\)
\(0\) \(1\) \(1\)
\(0\) \(0\) \(0\)

image

2

Input Output
\(x\) \(\text{NOT } x\)
\(1\) \(0\)
\(0\) \(1\)

image