Gates+ Boolean logic Flashcards

(27 cards)

1
Q

What is Boolean logic?

A

A branch of algebra that deals with true or false values.

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

True or False: Boolean logic is used in computer programming.

A

True

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

What are the basic operations of Boolean logic?

A

AND, OR, NOT

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

Fill in the blank: The output of an AND gate is true if __________.

A

both inputs are true

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

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

A

false

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

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

A

True

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

What does a NAND gate do?

A

Outputs false only when both inputs are true.

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

Fill in the blank: The output of a NOR gate is true if __________.

A

both inputs are false

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

What is the primary purpose of a XOR gate?

A

To output true when the inputs are different.

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

Which gate is considered a universal gate?

A

NAND gate

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

True or False: A circuit can be built using only AND gates.

A

False

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

What is the significance of De Morgan’s Theorems?

A

They provide a way to simplify Boolean expressions.

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

What does a truth table represent?

A

All possible input combinations and their corresponding outputs.

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

Fill in the blank: The expression A + 0 = __________.

A

A

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

What is the result of the expression A * 1?

A

A

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

True or False: In Boolean algebra, 1 represents true and 0 represents false.

17
Q

What is a logic gate?

A

A device that acts as a building block for digital circuits.

18
Q

What is the primary function of an AND gate?

A

To output true only if all inputs are true.

19
Q

Fill in the blank: The output of an XOR gate is true if __________.

A

exactly one input is true

20
Q

What does a NOT gate do to its input?

21
Q

Which gate outputs true when at least one input is true?

22
Q

Fill in the blank: The expression A + A’ = __________.

23
Q

What type of gate would you use to create a simple binary addition?

24
Q

True or False: A circuit can be simplified using Boolean algebra.

25
What is the function of a multiplexer in digital circuits?
To select one of many inputs and forward it to a single output.
26
What is the role of flip-flops in digital circuits?
To store binary data.
27
Fill in the blank: The expression A * A' = __________.
0