1.4.3 - Boolean Algebra Flashcards

(31 cards)

1
Q

What is Boolean algebra?

A

A branch of algebra where variables represent true (1) or false (0) values.

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

What are the four basic Boolean operations?

A

Conjunction (AND), Disjunction (OR), Negation (NOT), Exclusive Disjunction (XOR).

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

What is the symbol for the AND operation?

A

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

What is the truth table for an AND gate?

A

Output is 1 only if both inputs are 1.

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

What is the symbol for the OR operation?

A

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

What is the truth table for an OR gate?

A

Output is 1 if at least one input is 1.

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

What is the symbol for the NOT operation?

A

¬

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

What is the truth table for a NOT gate?

A

Output is the inverse of the input.

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

What is the symbol for the XOR operation?

A

⊕ or ∨ with a line underneath (context dependent).

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

What is the truth table for an XOR gate?

A

Output is 1 only if the inputs are different.

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

What is a truth table?

A

A table showing all possible input combinations and their corresponding outputs for a logic expression.

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

What is the purpose of a Karnaugh map (K-map)?

A

To simplify Boolean expressions visually.

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

What is a key feature of the row/column labels in a K-map?

A

They use Gray code, where adjacent cells differ by only one bit.

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

What is the main goal when grouping ‘1’s in a K-map?

A

To create the largest possible groups (sizes that are powers of 2) to simplify the expression.

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

What are De Morgan’s Laws?

A

¬(A ∧ B) ≡ ¬A ∨ ¬B and ¬(A ∨ B) ≡ ¬A ∧ ¬B

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

What is the Distributive Law in Boolean algebra?

A

A ∧ (B ∨ C) ≡ (A ∧ B) ∨ (A ∧ C) and A ∨ (B ∧ C) ≡ (A ∨ B) ∧ (A ∨ C)

17
Q

What is the Associative Law in Boolean algebra?

A

(A ∧ B) ∧ C ≡ A ∧ (B ∧ C) and (A ∨ B) ∨ C ≡ A ∨ (B ∨ C)

18
Q

What is the Commutative Law in Boolean algebra?

A

A ∧ B ≡ B ∧ A and A ∨ B ≡ B ∨ A

19
Q

What is the Law of Double Negation?

A

¬(¬A) ≡ A

20
Q

What is a D-type flip-flop?

A

A logic circuit that can store one bit of data, updating its output (Q) to match its input (D) on the rising edge of a clock signal.

21
Q

What is the primary function of a flip-flop?

A

To act as a basic memory unit (1-bit storage).

22
Q

What is a half adder?

A

A circuit that adds two single-bit inputs (A and B) and produces a sum (S) and a carry (C) output.

23
Q

What logic gates make up a half adder?

A

An XOR gate for the sum and an AND gate for the carry.

24
Q

What is the truth table for a half adder?

A

A=0,B=0 -> S=0,C=0; A=0,B=1 -> S=1,C=0; A=1,B=0 -> S=1,C=0; A=1,B=1 -> S=0,C=1

25
What is a full adder?
A circuit that adds three single-bit inputs (A, B, and Carry-in) and produces a sum and a carry-out output.
26
What logic gates make up a full adder?
Typically two XOR gates, two AND gates, and one OR gate.
27
What is the main advantage of a full adder over a half adder?
It can handle a carry-in from a previous addition, allowing multiple adders to be chained.
28
What is a ripple carry adder?
Multiple full adders connected in series, where the carry-out from one adder is fed into the carry-in of the next.
29
How many rows are in a full adder's truth table?
8 rows (for 3 inputs).
30
What is the output of a Boolean expression?
Either True (1) or False (0).
31
What is the purpose of simplifying a Boolean expression?
To create a logically equivalent but simpler circuit, reducing cost and complexity.