LOGIC GATES: And, Or, Not
Types of Gates;
Each of these gates have a different purpose and do different things, each of them have a different way of inputting data and outputting it. In each of these descriptions try and imaging the switches and how a light bulb works.
First of all an 'AND' gate
The AND GATE is a basic digital logic gate- it behaves according to the truth table below. A HIGH output (1) results only if both the inputs to the AND gate are HIGH (1). If neither or only one input to the AND gate is HIGH, a LOW output results. So imagine this as some switches and light bulbs. If both switches are off there is no light, if one switch is one and the other is off there is still no light, the only way you can possibly get light is to make sure that both switches are on. So the only way to get an output from an AND GATE is to make sure that there are 2 firm inputs. If there is only one input and there is nothing else then you will receive no output.
Secondly a 'OR' gate
Finally a 'NOT' gate
In digital logic, an inverter or NOT GATE is a very simple logic gate. The truth table is shown below. This gate is practically a opposite gate there is no high or low input or out put its either or. So back to the lovely light switches. When the light switch is pressed down to theoretically put the light on, the light turns off. When you put the switch back up again to theoretically turn the light off then the light turns on. So in computer terms, if there is no input there will be solid output, if there is a solid input there will be no output.