Boolean Logic Flashcards

(25 cards)

1
Q

What is the output of an AND gate if both inputs are true?

A

The output is true.

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

What is the truth table format for an OR gate?

A

The output is true if at least one input is true.

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

True or False: A NOT gate inverts the input signal.

A

True.

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

Fill in the blank: The output of a NOR gate is true only when both inputs are ______.

A

false.

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

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

A

The output is false.

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

Define the XOR gate.

A

An XOR gate outputs true if exactly one input is true.

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

What is the truth table output for an AND gate with inputs A = 0 and B = 1?

A

The output is 0.

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

Which gate is represented by the following truth table: 00->0, 01->1, 10->1, 11->0?

A

XOR gate.

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

How many inputs can a basic AND gate have?

A

A basic AND gate can have two or more inputs.

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

What is the output of an OR gate when both inputs are false?

A

The output is false.

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

True or False: The output of a NOT gate is the same as its input.

A

False.

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

For a NOR gate, what is the output when both inputs are true?

A

The output is false.

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

What does a NAND gate do?

A

It outputs false only when both inputs are true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
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
15
Q

Fill in the blank: The output of an XOR gate is ______ when both inputs are the same.

A

false.

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

What is the output of a NOT gate if the input is true?

A

The output is false.

17
Q

Which logic gate is also known as the ‘universal gate’?

18
Q

What is the function of a NOR gate?

A

It outputs true only when both inputs are false.

19
Q

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

20
Q

What is the result of A AND B when A = 1 and B = 0?

A

The result is 0.

21
Q

How can you express the output of a NAND gate in terms of AND gate?

A

The output is the inverse of the AND gate output.

22
Q

What is the truth table for a NAND gate?

A

00->1, 01->1, 10->1, 11->0.

23
Q

What is the output of an XOR gate when both inputs are false?

A

The output is false.

24
Q

Fill in the blank: The output of a NOR gate is true when both inputs are ______.

25
What is the primary difference between AND and OR gates?
AND outputs true only if all inputs are true; OR outputs true if at least one input is true.