Fill in the blanksQuestion 1 · Apply
Loading…
By the end you can write an expression that matches a truth table.
A and B are the input names; Y is the output. For example, row A=0, B=1, Y=1 becomes (NOT A) AND B: NOT A is 1 and B is 1, so this term matches the row.
A systematic route: for each row where Y=1, write an AND-term that matches the row. Then join those terms with OR.
In each row's term, write an input normally if it is 1; put NOT before it if it is 0.
Worked example: The two “different” rows
Write a logic expression for this truth table.
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |