1.2.1 Logical operations: Logical operations Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How does an AND gate react with two inputs A and B?

A

The AND gate will only result in a HIGH (1) state when both A and B are HIGH.

A | B | OUT
0 | 0 | 0
1  | 0 | 0
1  | 0 | 0
1  | 1  | 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does an OR gate react with two inputs A and B?

A

The OR gate will result in a HIGH (1) state when any value is HIGH, including when both inputs are HIGH.

A | B | OUT
0 | 0 | 0
1  | 0 | 1
1  | 0 | 1
1  | 1  | 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does a NOT gate react with a single input A?

A

The NOT gate will invert the input A.

A | OUT
0 | 1
1 | 0

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

How does an XOR gate react with two inputs A and B?

A

The XOR gate will only result in a HIGH (1) state when one of the two inputs A or B is a HIGH state. The result will always be LOW is A and B are the same.

A | B | OUT
0 | 0 | 0
1  | 0 | 1
1  | 0 | 1
1  | 1  | 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly