You are on page 1of 7

Logic Gates

Cs project
AND Gate

•The AND gate requires 2 input


to work properly
•In AND gate if one of the
switches if off and one is on it will
show as the circuit is incomplete
and if both switches are on it will
count as the circuit is complete
•Eg:
•0/1 = 0
•1/1 = 1
•0/0 = 0
OR Gate

• The OR gate requires only


1 input to be there to work
• In OR gate you only need
to turn on 1 switch for the
circuit to be shown as
complete
• Eg:
• 0/1 = 1
• 0/0 = 0
• 1/1 = 1
NOT gate
• The NOT gate accept one input value and
produces one output value
• In the NOT gate the value we input comes
out as the opposite like if you turn a switch
on it will show the circuit is incomplete and
if you turn a switch off it will show they
circuit is complete
• Eg:
• 1=0
• 0=1
NAND gate

• The NAND gate is the opposite of AND


gate every answer we get for AND gate is
opsite here
• This is also called a universal gate
• Eg:
• 1/1 = 1 = 0
• 0/0 = 0 = 1
XOR gate

• The XOR gate is also know as the exclusive OR


gate
• An XOR gate produces 0 if its two inputs
are the same and 1 if they are different
• Eg:
• 1/1 = 0
• 0/1 = 1
• 0/0 = 0
NOR gate

• The NOR gate is the opposite of OR gate


• This is called a universal gate
• Eg:
• 0/1 = 1 = 0
• 0/0 = 0 = 1

You might also like