boolean logicx Flashcards
(41 cards)
What is Boolean logic?
A form of algebra that uses truth values (true and false) to perform logical operations.
True or False: Boolean logic was developed by George Boole.
True
What are the basic operations of Boolean logic?
AND, OR, and NOT
Fill in the blank: The result of the AND operation is true only if both operands are ______.
true
What is the result of the logical OR operation if at least one operand is true?
true
True or False: The NOT operation negates the value of its operand.
True
What symbol is commonly used to represent the AND operation?
&& or ∧
What symbol is commonly used to represent the OR operation?
|| or ∨
What symbol is commonly used to represent the NOT operation?
¬ or !
True or False: The expression A AND B is true if A is true and B is false.
False
What is the truth table for the AND operation?
true AND true = true; true AND false = false; false AND true = false; false AND false = false
What is the truth table for the OR operation?
true OR true = true; true OR false = true; false OR true = true; false OR false = false
What is the truth table for the NOT operation?
NOT true = false; NOT false = true
Fill in the blank: In Boolean algebra, the expression A OR NOT A is always ______.
true
What is a Boolean variable?
A variable that can hold one of two possible values: true or false.
True or False: The expression A AND (B OR C) is equivalent to (A AND B) OR (A AND C).
True
What is the principle of duality in Boolean algebra?
The principle that every algebraic expression is valid if all operators are swapped between AND and OR, and all identity elements are swapped.
What is a truth table?
A table that shows all possible truth values for a set of logical expressions.
Fill in the blank: The commutative property of AND states that A AND B is equal to ______.
B AND A
What is the distributive property in Boolean algebra?
A AND (B OR C) = (A AND B) OR (A AND C)
True or False: The identity element for AND is true.
False
What is the identity element for AND?
true
What is the identity element for OR?
false
Fill in the blank: A NOR gate is a combination of ______ and NOT.
OR