Truth table construction and equation for: NAND, NOR gates - SS2 ICT Lesson Note
Truth Table Construction:
A truth table is a tabular representation used in logic to show all possible combinations of inputs for a given logical expression and their corresponding outputs. Each row in the table represents a unique combination of input values, and the columns represent the inputs and outputs.
Equation for NAND and NOR Gates:
NAND Gate: The NAND gate is a universal gate, meaning that it can be used to implement any other type of gate. Its output is the logical NOT of the AND operation.
The equation for a NAND gate with inputs A and B is:
Output (Y) = NOT (A AND B)
Truth Table for NAND Gate:
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate: The NOR gate is another universal gate, which means it can be used to implement any other type of gate. Its output is the logical NOT of the OR operation.
The equation for a NOR gate with inputs A and B is:
Output (Y) = NOT (A OR B)
Truth Table for NOR Gate:
A B Y
0 0 1
0 1 0
1 0 0
1 1 0