Computer Science > Boolean algebra(1.4.3 a) > Flashcards
Four logic gates
AND
NOT
OR
XOR
What is boolean algebra?
a way of describing logic
if a condition is True it is detonated by 1
if a condition is False it is detonated by 0
And gates
only returns true if both inputs are true otherwise its value is false
Not gates
takes the input value and negates it to produce the opposite outcome
Or gates
only returns false if both inputs are false otherwise its value is true
Xor gates
exclusive Or
only returns true if exactly one input is true otherwise it returns false