Full 2-input truth table — AND gate
intro1 of 4 rows true
Answer
output column 0001
Why this example is worth doing
The complete two-input table, which is the object most of this page's search traffic is looking for. Exactly one row in four is true, and stating it as a fraction is the fastest way to characterise the gate: AND is the most selective of the two-input functions. The page prints the table with the row index beside it so the connection to minterm 3 is visible, and offers copy buttons for CSV and LaTeX because the table is usually being transcribed into a report.
Try your own input in the AND gate. Truth table, symbol and algebraic form for A·B, with a live two-input toggle.
How the answer is reached
Truth table
| # | A | B | A · B |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 2 | 1 | 0 | 0 |
| 3 | 1 | 1 | 1 |