Boolean Flashcards

1
Q

What is a Boolean value?

A

A Boolean value is either true or false.

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

What are the two primary Boolean operators?

A

The two primary Boolean operators are AND and OR.

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

True or False: The NOT operator inverts a Boolean value.

A

True

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

Fill in the blank: In Boolean logic, ‘A AND B’ is true if ______.

A

both A and B are true.

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

What is the result of ‘True OR False’?

A

True

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

What is the result of ‘False AND True’?

A

False

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

How many possible outcomes are there in a two-variable Boolean expression?

A

Four possible outcomes.

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

Which Boolean operator would you use to ensure both conditions must be met?

A

AND

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

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

A

True

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

What is the output of ‘NOT True’?

A

False

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

Fill in the blank: The result of ‘A OR B’ is false only if ______.

A

both A and B are false.

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

What does the XOR operator do?

A

XOR returns true if exactly one of the operands is true.

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

What is the truth table for ‘A AND B’?

A

True only when both A and B are true.

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

What is a truth table?

A

A truth table is a mathematical table used to determine the truth values of logical expressions.

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

True or False: In a truth table, each row represents a possible combination of inputs.

A

True

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

Fill in the blank: The expression ‘A OR B’ is true if ______.

A

at least one of A or B is true.

17
Q

What is the output of ‘True AND False’?

18
Q

Which operator is used to negate a Boolean value?

19
Q

What is the result of the expression ‘True XOR True’?

20
Q

What is the standard symbol for the AND operator?

A

∧ (conjunction)

21
Q

What is the standard symbol for the OR operator?

A

∨ (disjunction)

22
Q

True or False: ‘A AND (B OR C)’ is equivalent to ‘(A AND B) OR (A AND C)’.

23
Q

What is De Morgan’s Theorem?

A

De Morgan’s Theorem states that NOT (A AND B) is equivalent to NOT A OR NOT B.

24
Q

Fill in the blank: The expression ‘A AND NOT B’ is true when ______.

A

A is true and B is false.

25
What is the result of 'False OR False'?
False
26
What does the term 'logical equivalence' mean?
Two expressions are logically equivalent if they have the same truth value in all possible scenarios.