Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


basic of logic-gates
by admin
 at 2018-01-06 12:02:00.

i always hated that my mat teachers talk but not give you and example. If any one try to explain this to some one else they will just get confused. I believe the best one of understanding this is just to look at it for 5 minutes.

AND ”A&B” or ”A·B”

a b output
0 0 0
0 1 0
1 0 0
1 1 1

NAND  ”A NAND B” or “A|B” or “¬(A & B)”

a b output
0 0 1
0 1 1
1 0 1
1 1 0

OR V

a b output
0 0 0
0 1 1
1 0 1
1 1 1

NOR V

a b output
0 0 1
0 1 0
1 0 0
1 1 0

XOR ⊕

a b output
0 0 0
0 1 1
1 0 1
1 1 0

XNOR a . b + a . b

a b output
0 0 1
0 1 0
1 0 0
1 1 1