LOGIC CIRCUIT /ALTERNATIVE LOGIC 1
Computer Science ICT SSS2 FIRST Term
WEEK 9
LOGIC CIRCUIT /ALTERNATIVE LOGIC 1
Content
Complex logic gates include XOR(EXCLUSIVE OR), NAND(NOT AND), NOR(NOT OR) AND XNOR(EXCLUSIVE NOT OR).
THE ALTERNATIVE LOGIC GATES WE HAVE ARE 1.NAND 2. NOR
NAND Gate
The NAND gate is an AND gate with a reversed or inverted output.
EXAMPLE 1
If p=1 and q=1
P AND q =1 X1=1
NOT(p AND q) = 0
EXAMPLE 2
If p=1 and q=0
P AND q =1 X0=0
NOT (p AND q) = 1
NOR Gate
Is an OR gate with a reversed or inverted output.
EXAMPLE 1
If p=1 and q=1
P OR q =1 +1=1
NOT(p OR q) = 0
EXAMPLE 2
If p=0 and…