Boolean logic Flashcards

(27 cards)

1
Q

What is Boolean logic?

A

A form of algebra in which all values are reduced to either true or false.

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

True or False: In Boolean logic, the value of a variable can be both true and false at the same time.

A

False

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

Fill in the blank: The basic operations of Boolean logic are AND, OR, and ____.

A

NOT

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

What does the AND operator do in Boolean logic?

A

It returns true only if both operands are true.

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

Which Boolean operation is represented by the symbol ‘∨’?

A

OR

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

True or False: The NOT operator inverts 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 is the outcome of the expression TRUE AND FALSE?

A

FALSE

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

What is the outcome of the expression TRUE OR FALSE?

A

TRUE

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

Which of the following is a valid Boolean expression? A) (A AND B) OR C) A AND (B OR C)

A

C) A AND (B OR C)

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

What is the result of NOT TRUE?

A

FALSE

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

True or False: In Boolean logic, the expression A AND NOT A is always TRUE.

A

False

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

What is a truth table?

A

A table that shows all possible truth values for a set of Boolean variables.

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

Fill in the blank: In Boolean algebra, the expression A OR A is equivalent to ____.

A

A

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

What is the result of the expression (A OR B) AND (A OR NOT B)?

A

A

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

True or False: The expression A AND B is associative.

A

True

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

What is De Morgan’s Theorem?

A

It states that NOT (A AND B) is equivalent to (NOT A) OR (NOT B) and NOT (A OR B) is equivalent to (NOT A) AND (NOT B).

17
Q

What does the XOR operator do?

A

It returns true if one operand is true and the other is false.

18
Q

Which of the following is a property of Boolean addition? A) Commutative B) Non-commutative

A

A) Commutative

19
Q

Fill in the blank: In Boolean logic, TRUE is represented by ____ and FALSE is represented by ____.

20
Q

What is the result of the expression A AND (B OR C)?

A

A AND B OR A AND C (distributive law)

21
Q

True or False: In Boolean logic, A OR NOT A always equals TRUE.

22
Q

What is a minterm?

A

A product term in a Boolean expression that corresponds to a single row in a truth table where the output is true.

23
Q

What does the term ‘canonical form’ refer to in Boolean expressions?

A

A standardized way of expressing a Boolean function using minterms or maxterms.

24
Q

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

25
What is the result of the expression NOT (A OR B)?
NOT A AND NOT B (De Morgan's Theorem)
26
Fill in the blank: In a truth table for three variables, there are ____ possible combinations of truth values.
8
27
What is the main use of Boolean logic in computer science?
To perform logical operations in programming and digital circuit design.