Boolean algebra and logic gates Flashcards

1
Q

What are boolean variables?

A

variables with two discrete possible states

often called true and false

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

What does a truth table do?

A

Shows the result of applying a logical function to all possible combinations of inputs

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

What does OR mean in a boolean expression?

A

One or both inputs must be true for the output to be true

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

What is the symbol for OR in a boolean expression?

A

+

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

What does AND mean in a boolean expression?

A

Both of the inputs must be true for the output to be true

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

What is the symbol for AND in a boolean expression?

A

.

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

What does NOT mean in a boolean expression?

A

The input is inverted

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

What is the symbol for NOT in boolean expression?

A

(a straight line above the input)

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

What does XOR mean in a boolean expression?

A

For the output to be true one input must be true but NOT both
(exclusive or)

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

What is the symbol for XOR in a boolean expression?

A

a circle with a plus sign in the middle

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

What does NAND mean in a boolean expression?

A

The equivalent of an AND then a NOT

The output is true if any output is false

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

What does NOR mean in a boolean expression?

A

Neither input can be true

For the output to be true both inputs must be false

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

What are De Morgan’s laws used for?

A

Changing OR and NOT functions into AND and NOT functions

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