2.4 Flashcards

1
Q

What is Boolean Logic?

A

Boolean Logic is a form of algebra that uses true or false values to perform logical operations.

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

What are the three basic operations in Boolean Logic?

A

The three basic operations are 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: In Boolean Logic, 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 symbol commonly used for the AND operation?

A

The symbol used for the AND operation is && or ∧.

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

What is the symbol commonly used for the OR operation?

A

The symbol used for the OR operation is || or ∨.

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

What is the symbol commonly used for the NOT operation?

A

The symbol used for the NOT operation is ! or ¬.

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

What is a truth table?

A

A truth table is a mathematical table used to determine the output of logical expressions based on their inputs.

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

What is the output of the expression TRUE OR FALSE?

A

TRUE

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

What is the output of the expression NOT TRUE?

A

FALSE

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

Fill in the blank: The result of A OR B is false only if both A and B are ______.

A

false

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

What is the purpose of Boolean Logic in computer science?

A

Boolean Logic is used to create conditions and control the flow of programs.

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

True or False: Boolean values can only be true or false.

A

True

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

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

A

The result depends on the values of A and B.

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

What does De Morgan’s Theorems state?

A

De Morgan’s Theorems state 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

Fill in the blank: The AND operation is also known as ______.

A

conjunction

18
Q

Fill in the blank: The OR operation is also known as ______.

A

disjunction

19
Q

What is the output of the expression FALSE AND TRUE?

20
Q

What is the output of the expression TRUE AND TRUE?

21
Q

What is the output of the expression FALSE OR FALSE?

22
Q

What does the NOT operation do to a Boolean value?

A

The NOT operation inverses the value: it turns true to false and false to true.

23
Q

True or False: In Boolean Logic, (A OR B) AND (A OR NOT B) is always true.

24
Q

What is a logical expression?

A

A logical expression is a combination of Boolean variables and operations that evaluates to true or false.

25
Q

True or False: Boolean Logic is not used in programming languages.

26
Q

What is the significance of Boolean Logic in digital circuits?

A

Boolean Logic is used to design and analyze digital circuits, enabling the implementation of logical operations.