Lecture 10 Flashcards
Boolean logic is named after which person?
George Boole
What boolean value is represented by the number 0?
False
What boolean value is represented by the number 1?
True
Which operator does ‘^’ represent?
AND
Which operator does ‘v’ represent?
OR
AND is also known as ‘conjuction’, or ‘disjunction’?
Conjunction
OR is also known as ‘conjuction’, or ‘disjunction’?
Disjunction
What is the full name of XOR?
Exclusive OR
What operator does ‘¬’ represent?
NOT
Which operators have higher precedence?
Unary, or Binary
Unary (generally)
Is ‘¬’ a unary or binary operator?
Unary. It operates on one operand.
Express XOR using only AND, OR, and NOT.
(A ^ ¬B) v (¬A ^ B)
What symbol represents the ‘implication’ operator?
->, =>
What is the only set of input values which will make A -> B false?
A is True, B is False
Express -> using only OR and ¬.
¬A v B