2.1.11 - Define the Boolean operators: AND, OR, NOT, NAND, NOR and XOR. Flashcards

1
Q

What is the AND Boolean operator?

A

The AND operator returns 1 if both operands are 1; otherwise, it returns 0.
0 AND 0 = 0
1 AND 0 = 0
0 AND 1 = 0
1 AND 1 = 1

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

What is the OR Boolean operator?

A

The OR operator returns 1 if at least one of the operands is 1; otherwise, it returns 0.
0 OR 0 = 0
1 OR 0 = 1
0 OR 1 = 1
1 OR 1 = 1

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

What is the NOT Boolean operator?

A

The NOT operator returns the complement of the operand.
NOT 0 = 1
NOT 1 = 0

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

What is the NAND Boolean operator?

A

The NAND operator returns the complement of the AND operator.
0 NAND 0 = 1
1 NAND 0 = 1
0 NAND 1 = 1
1 NAND 1 = 0

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

What is the NOR Boolean operator?

A

The NOR operator returns the complement of the OR operator.
0 NOR 0 = 1
1 NOR 0 = 0
0 NOR 1 = 0
1 NOR 1 = 0

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

What is the XOR Boolean operator?

A

The XOR operator returns 1 if only one of the operands is 1; otherwise, it returns 0.
0 XOR 0 = 0
1 XOR 0 = 1
0 XOR 1 = 1
1 XOR 1 = 0

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