Boolean logic Flashcards

(27 cards)

1
Q

What is Boolean logic?

A

A form of algebra that uses true or false values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

True or False: The AND operation returns true only if both operands are true.

A

True.

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

Fill in the blank: The OR operation returns true if at least one operand is ____.

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 expression: TRUE AND FALSE?

A

FALSE.

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

What is the result of the expression: TRUE OR FALSE?

A

TRUE.

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

True or False: NOT TRUE is equal to FALSE.

A

True.

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

What is the output of the expression: NOT (TRUE AND TRUE)?

A

FALSE.

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

What does the AND operator require from its operands?

A

Both must be true for the result to be true.

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

What does the OR operator require from its operands?

A

At least one must be true for the result to be true.

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

Fill in the blank: In Boolean logic, ‘X AND Y’ is only true if ____.

A

both X and Y are true.

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

What is meant by the term ‘truth table’?

A

A table that shows all possible values of input and the corresponding output.

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

How many rows would a truth table have for two variables?

A

4 rows.

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

True or False: The expression ‘A OR NOT A’ is always true.

A

True.

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

What is the output of the expression: FALSE OR FALSE?

A

FALSE.

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

What Boolean operation is represented by the symbol ‘∧’?

17
Q

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

18
Q

What is the output of the expression: NOT (FALSE OR TRUE)?

19
Q

True or False: A Boolean variable can hold more than two values.

20
Q

What is the result of the expression: (TRUE OR FALSE) AND (FALSE OR TRUE)?

21
Q

Fill in the blank: The result of A AND B is ____ when A is false.

22
Q

What does the expression ‘A AND NOT B’ represent?

A

A is true and B is false.

23
Q

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

24
Q

What is the output of the expression: TRUE AND NOT TRUE?

25
What is a common application of Boolean logic?
Computer programming and digital circuit design.
26
What does the expression 'A OR A' simplify to?
A.
27
Fill in the blank: A truth table for three variables has ____ rows.
8 rows.