Logic Gates

Do you like logic gates? "Ands," "Or," even "Xors?" No idea what this all means? They are Logic gates. Basically, they are representations of the smallest little pieces of a computer. You can't compute much from this one, but if you are extremely clever and use a few tricks, you can build a computer out of these.


Click and drag gates to move them. Don't forget to explore the menus. Be sure to drag from inputs to outputs (or vice versa) to add wires. An output can be used many times, but only one wire per input.

Would you like to see the source code or download the program? You can get the files you need here. If you can't see the whole applet, you can press F11 for fullscreen mode or change your screen's resolution.

UW Madison >> CS department >> Tim's website >> Logic Gates