Simply in digital logic, a universal logic gate is a logic gate that can be used to construct all other logic gates like AND, OR & NOT. These basic gates can be represented or created with the help of universal digital logic gates.
NOR gate – Universal Logical Gate
It is the combination of NOT and OR gate in such a way that output of OR gate is connected to the input of the NOT gate. Â To talk about its input and output this will take one or multiple inputs but the output of the gate is high only when the input is low. Hence its outputs are the reverse of OR gate. Â
Truth Table  Input        Output A    B       Y=(A.B)’
0 0 Â Â 1 Â Â Â Â
0 Â Â Â 1 Â Â Â Â Â Â 0
1 Â Â Â 0 Â Â Â Â Â Â 0
1 Â Â Â 1 Â Â Â Â Â Â 0
Boolean Equation Y = (A.B)’
NAND Universal Logic Gate
It is the combination of NOT and AND gate in such a way that output of NAND gate is connected to the input of the NOT gate. Â The output of this gate is low only when all inputs are high. Hence this gate is a reverse of AND gate. Â
Truth Table  Input        Output A    B       Y=(A.B)’
0 Â Â Â 0 Â Â Â Â Â Â 1
0 Â Â Â 1 Â Â Â Â Â Â 1
1 Â Â Â 0 Â Â Â Â Â Â 1
1 Â Â Â 1 Â Â Â Â Â Â 0 Â
Boolean Equation  Y = (A.B)’