Below are 2 circuit diagrams illustrating how the AND gate and OR gate works.
Refer back to "
Gates
"
Copyright © 1998 ThinkQuest Team 16497.