Boolean Logic Flashcards

(26 cards)

1
Q

What is a Boolean expression?

A

Expression that evaluates to True or False

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

What are the three Boolean operators?

A

AND OR NOT

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

What is the AND operator?

A

True if both conditions are true otherwise False

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

What is the OR operator?

A

True if at least one condition is true otherwise False

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

What is the NOT operator?

A

Reverses the truth value

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

What is a truth table?

A

Table showing output for all input combinations

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

What is a logic gate?

A

Electronic component performing Boolean operations

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

What are the main logic gates?

A

AND OR NOT NAND NOR XOR XNOR

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

What is the output of a NAND gate?

A

Opposite of AND

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

What is the output of a NOR gate?

A

Opposite of OR

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?

A

True if inputs are different

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

What is the output of an XNOR gate?

A

True if inputs are the same

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

How is a Boolean expression simplified?

A

Using laws like De Morgan’s and algebraic manipulation

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

What is a compound Boolean expression?

A

Expression combining multiple operators

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

What is a conditional statement?

A

Decision based on a Boolean expression

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

What is truth table testing?

A

Checking all possible input combinations for correctness

17
Q

What is the use of logic gates in computers?

A

Form the basis of circuits and decision-making

18
Q

What is De Morgan’s law?

A

Rules for simplifying NOT over AND/OR expressions

19
Q

What is the difference between hardware and software logic?

A

Hardware uses gates Software uses Boolean operations

20
Q

Why are XOR gates used in computers?

A

For addition and comparison operations

21
Q

What is a logic circuit?

A

Combination of gates performing a function

22
Q

What is sequential logic?

A

Output depends on current and previous inputs

23
Q

What is combinational logic?

A

Output depends only on current inputs

24
Q

What is a flip-flop?

A

Memory element storing one bit

25
What is a multiplexer?
Device selecting one of many inputs as output
26
What is a decoder?
Device converting binary to single output line