Equation for AND, NOT, and OR gates. - SS2 ICT Lesson Note
AND Gate:
An AND gate is a digital logic gate that outputs true (1) only when both of its inputs are true (1). Here's the truth table for an AND gate:
Input A Input B Output
0 0 0
0 1 0
1 0 0
1 1 1
The equation for an AND gate can be written as:
Output = A AND B
OR Gate:
An OR gate is a digital logic gate that outputs true (1) if at least one of its inputs is true (1). Here's the truth table for an OR gate:
Input A Input B Output
0 0 0
0 1 1
1 0 1
1 1 1
The equation for an OR gate can be written as:
Output = A OR B
NOT Gate:
A NOT gate, also known as an inverter, is a digital logic gate that outputs the opposite of its input. Here's the truth table for a NOT gate:
Input A Output
0 1
1 0
The equation for a NOT gate can be written as:
Output = NOT A or Output = A'
In these equations, A and B are the input values, and 'NOT' represents the logical negation operation.
These logic gates are fundamental building blocks in digital circuit design and play a crucial role in various electronic devices and systems.