Logic Gates Flashcards

1
Q

What is a logic gate?

A

A logic gate is a device or piece of circuitry designed to perform basic Boolean operations. It takes one or more inputs and produces a single output.

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

What is the OR gate?

A

The OR gate is a logic gate that performs the OR operation on its inputs; it generates a high output (1) if either or all of its inputs are high.

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

Can you draw the symbol for an OR gate?

A

This is an OR gate symbol.

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

Write out the truth table for an OR gate.

A

A | B | Output
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
5
Q

What is an AND gate?

A

An AND gate is a logic gate which performs the AND operation on its inputs, producing a high (1) output only if all of its inputs are high.

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

Can you draw the symbol for the AND gate?

A

This is the symbol.

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

Write out the truth table for the AND gate.

A

A | B | Output
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
8
Q

What is a control input?

A

If there are two inputs A and B, B is said to be a control input if its logic levels determine the which parts of A are allowed through to become outputs.

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

What is the NOT gate?

A

This is the logic gate which accepts only one input and produces an output whose logic level (high/low, 1/0) is the inverse of its input.

It takes in only one input and produces its reverse as its output.

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

What is another name for the NOT gate?

A

It is also called the invertor.

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

What is the symbol for the NOT gate?

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

What is the truth table for the NOT gate?

A

A | Output
0 | 1
1 | 0

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

What is the NAND gate?

A

The NAND gate is a logic gate that performs both the AND and the NOT operations on its inputs — in that order.

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

What is the symbol for NAND gate?

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

What is the truth table for NAND operation.

A

A | B | Output
0 | 0 | 1
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0

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

What is the XOR gate?

A

The XOR gate is a logic gate which produces a high level output when its inputs’ logic levels are dissimilar (or odd) and gives out zero if otherwise.

17
Q

What is the Boolean expression for the XOR gate?

A

A ⊕ B = A’•B + B’•A

18
Q

What is the symbol for XOR gate?

A
19
Q

What is the truth table for a two-input XOR gate?

A

A | B | Output
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0

20
Q

What is the Boolean expression for a three -input XOR gate?

A

A ⊕ B ⊕ C = ABC + ABC + ABC + ABC