1.2 Logical Operations - Logical Operators Flashcards
What are the 4 operations in truth tables. Do you know their symbols?
AND - .
OR - +
NOT - Ā
XOR(Exclusively Or) - ⊕
What rule does the Boolean And(.) have?
It can only be true if both of the values named are true.
A B A.B
1 1 1
0 1 0
1 0 0
0 0 0
What rule does the Boolean OR(+) have?
The value is true if either one of the values or both of them are true.
A B A+B
1 1 1
0 1 1
1 0 1
0 0 0
What rule does the Boolean NOT(Ā) have?
The value is true if the value stated is false. If the value stated is true then the end result is false.
A B Not A Not B
1 1 0 0
0 1 1 0
1 0 0 1
0 0 1 1
What rule does the Boolean XOR(.) have?
The Value is True only if one of the values is True if both of them are true then the end result if false.
A B A⊕B
1 1 0
0 1 1
1 0 1
0 0 0