Logic Gates Flashcards

(10 cards)

1
Q

What are the three basic logic gates?

A

AND, OR, and NOT gates.

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

What does an AND gate do?

A

It only outputs 1 if both inputs are 1. Otherwise, it outputs 0.

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

What does an OR gate do?

A

It gives an output of 1 if at least one input is 1.

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

What does a NOT gate do?

A

It flips the input. If the input is 1, the output is 0; if input is 0, output is 1

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

What is the output of an AND gate with inputs 1 and 0?

A

0 (because both inputs must be 1 for the output to be 1)

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

What is the output of an OR gate with inputs 0 and 1?

A

1 (because at least one input is 1)

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

What is the output of a NOT gate with input 0?

A

1

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

AND Gate – Truth Table

A

A | B | A AND B |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |

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

OR Gate – Truth Table

A

A | B | A OR B |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |

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

NOT Gate – Truth Table

A

A | NOT A |
| 0 | 1 |
| 1 | 0 |

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