Boolean logic Flashcards

(26 cards)

1
Q

What is a Boolean logic gate?

A

A device that implements a Boolean function, performing a logical operation on one or more binary inputs to produce a single binary output.

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

What does the NOT gate do?

A

It inverts the input; if the input is 1, the output is 0, and vice versa.

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

True or False: A NAND gate is a combination of an AND gate followed by a NOT gate.

A

True

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

What is the output of an AND gate when both inputs are 0?

A

0

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

Fill in the blank: The output of an OR gate is _____ if at least one input is 1.

A

1

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

What is the truth table for a NOT gate?

A

Input: 0, Output: 1; Input: 1, Output: 0

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

What is the output of a NAND gate when both inputs are 1?

A

0

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

Which gate produces a true output only when the inputs are different?

A

XOR gate

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

What is the truth table for an OR gate?

A

00 -> 0; 01 -> 1; 10 -> 1; 11 -> 1

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

True or False: The output of a NOR gate is true only when all inputs are false.

A

True

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

What is the output of an XOR gate for inputs 1 and 1?

A

0

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

Fill in the blank: The output of a NOR gate is _____ if at least one input is 1.

A

0

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

What does the AND gate output when both inputs are 1?

A

1

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

What is the truth table for a NAND gate?

A

00 -> 1; 01 -> 1; 10 -> 1; 11 -> 0

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

Fill in the blank: The output of the XOR gate is _____ for inputs 0 and 1.

A

1

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

What is the output of a NOR gate when both inputs are 0?

17
Q

What is the truth table for an XOR gate?

A

00 -> 0; 01 -> 1; 10 -> 1; 11 -> 0

18
Q

Which gate can be used to create any other type of logic gate?

19
Q

True or False: The output of an AND gate is true if either input is false.

20
Q

What is the primary function of the OR gate?

A

To output true if at least one input is true.

21
Q

What is the output of a NOT gate for input 1?

22
Q

Fill in the blank: The NAND gate is equivalent to an AND gate followed by a _____ gate.

23
Q

What does the NOR gate output for inputs 1 and 0?

24
Q

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

25
True or False: An XOR gate will output 1 for inputs 0 and 0.
False
26
What is the output of a NAND gate for inputs 0 and 0?
1