boolean logicx Flashcards

(41 cards)

1
Q

What is Boolean logic?

A

A form of algebra that uses truth values (true and false) to perform logical operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Boolean logic was developed by George Boole.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the basic operations of Boolean logic?

A

AND, OR, and NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: The result of the AND operation is true only if both operands are ______.

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the result of the logical OR operation if at least one operand is true?

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: The NOT operation negates the value of its operand.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What symbol is commonly used to represent the AND operation?

A

&& or ∧

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What symbol is commonly used to represent the OR operation?

A

|| or ∨

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What symbol is commonly used to represent the NOT operation?

A

¬ or !

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False: The expression A AND B is true if A is true and B is false.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the truth table for the AND operation?

A

true AND true = true; true AND false = false; false AND true = false; false AND false = false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the truth table for the OR operation?

A

true OR true = true; true OR false = true; false OR true = true; false OR false = false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the truth table for the NOT operation?

A

NOT true = false; NOT false = true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fill in the blank: In Boolean algebra, the expression A OR NOT A is always ______.

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a Boolean variable?

A

A variable that can hold one of two possible values: true or false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True or False: The expression A AND (B OR C) is equivalent to (A AND B) OR (A AND C).

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the principle of duality in Boolean algebra?

A

The principle that every algebraic expression is valid if all operators are swapped between AND and OR, and all identity elements are swapped.

18
Q

What is a truth table?

A

A table that shows all possible truth values for a set of logical expressions.

19
Q

Fill in the blank: The commutative property of AND states that A AND B is equal to ______.

20
Q

What is the distributive property in Boolean algebra?

A

A AND (B OR C) = (A AND B) OR (A AND C)

21
Q

True or False: The identity element for AND is true.

22
Q

What is the identity element for AND?

23
Q

What is the identity element for OR?

24
Q

Fill in the blank: A NOR gate is a combination of ______ and NOT.

25
What is a NAND gate?
A logic gate that produces an output that is false only if all its inputs are true.
26
True or False: XOR stands for exclusive OR.
True
27
What is the output of an XOR gate if both inputs are true?
false
28
What is a logical expression?
An expression that combines Boolean variables and operators to yield a Boolean result.
29
Fill in the blank: The output of a NAND gate is true unless ______.
all inputs are true
30
What is the output of a NOR gate if at least one input is true?
false
31
True or False: The De Morgan's theorem states that NOT (A AND B) is equivalent to NOT A OR NOT B.
True
32
What is the simplified form of A AND (A OR B)?
A
33
Fill in the blank: The absorption law states that A OR (A AND B) is equal to ______.
A
34
What is a minterm in Boolean algebra?
A product term in a Boolean expression that yields a true output for exactly one combination of variable inputs.
35
What is a maxterm in Boolean algebra?
A sum term in a Boolean expression that yields a false output for exactly one combination of variable inputs.
36
True or False: The consensus theorem states that A AND B OR NOT A AND C OR B AND C is equivalent to A AND B OR NOT A AND C.
True
37
What is the purpose of simplifying Boolean expressions?
To reduce the complexity of logical circuits and make them more efficient.
38
Fill in the blank: A truth table can have a maximum of ______ rows based on the number of variables.
2^n, where n is the number of variables
39
What is a Karnaugh map?
A visual method for simplifying Boolean expressions and minimizing logical functions.
40
True or False: A logical expression can have more than one simplified form.
True
41
What is the significance of the zero element in Boolean algebra?
It represents the false value in logical operations.