A = 1, B = 0 — OR gate
introinclusive, not exclusive
Answer
output 1
Why this example is worth doing
One input high and the output is high — the row that separates OR from XOR and from the English word "or". Ordinary speech usually means exclusive or ("tea or coffee"), while the gate is inclusive: it is also true when both inputs are true. That mismatch is the single most common source of specification errors when students translate a word problem into logic, so the page puts the two output columns adjacent and highlights the one row where they differ.
Try your own input in the OR gate. Truth table, symbol and algebraic form for A + B, with a live two-input toggle.
How the answer is reached
The probed row
A = 1, B = 01— Row 2 of 4.
Truth table
| # | A | B | A + B |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 2 | 1 | 0 | 1 |
| 3 | 1 | 1 | 1 |