Name
Date
DIRECTIONS: Trace each ring with a finger. Can the current get all the way round? Write lit or dark.
One after the other
Side by side
Fill these in by tracing
One after the other| A | B | lamp |
| off | off | |
| off | ON | |
| ON | off | |
| ON | ON | |
Side by side| A | B | lamp |
| off | off | |
| off | ON | |
| ON | off | |
| ON | ON | |
The names.You just built AND, OR and NOT. They are called gates, because each one decides whether to let something through.
DIRECTIONS: Fill in the stairs-light table, then wire up the machines below.
A stairs light: a switch at the bottom, one at the top. Touch either and the light changes. It is not AND and not OR.
| A | B | lamp |
| off | off | |
| off | ON | |
| ON | off | |
| ON | ON | |
XORLit when the two switches disagree. Next sheet, it helps a machine add.
Wire these up
Which gate, and what goes into it?
- A microwave that will only run when the door is shut you have pressed start.
- A car alarm that goes off if the door is opened a window is broken.
- A fridge light that comes on when the door is shut.
- The light on your stairs, with a switch at the bottom and a switch at the top.
- A garden light that comes on when it is dark and something is moving — but not in the daytime, however much is moving.
- A door that unlocks if you have the card or you know the code, but not if the building is on fire.
The big one. Are four gates enough to build any decision? Argue it out.