Logic Gates & Boolean Algebra Flashcards

1
Q

What are logic gates, and why are they important?

A

Logic gates perform basic logical functions and are the fundamental building blocks of digital circuits. Examples include AND, OR, NOT, NAND, NOR, and XOR.

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

What is the symbol and Boolean equation for a NOT gate?

A

Symbol: Inverted triangle with a circle.
Boolean equation:
A

A
.

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

What is the truth table for an AND gate?

A

A B A ∙ B
0 0 0
0 1 0
1 0 0
1 1 1

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

What are the types of logic gates and their functions?

A

AND: Outputs 1 only if all inputs are 1.
OR: Outputs 1 if any input is 1.
NOT: Inverts the input.
NAND: Outputs 0 only if all inputs are 1.
NOR: Outputs 1 only if all inputs are 0.
XOR: Outputs 1 if inputs are different.

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

What is the identity for A.1

A

A⋅1=A.

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

What is the identity for A+0?

A

A+0=A.

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

What does DeMorgan’s Theorem state?

A

—- — —
A.B=A +B
—— — —
A+B=A.B

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

What is the purpose of Boolean algebra?

A

To simplify logic expressions by removing redundancies and using identities for minimal circuit design.

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

How do you derive Boolean expressions from a logic circuit?

A

Start from the inputs, work across the circuit to the outputs, and identify stages to write Boolean equations for each stage.

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

What is a half adder?

A

A circuit that adds two bits and outputs a sum and carry.

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

What is the difference between a half adder and a full adder?

A

A full adder adds three inputs (A, B, and Carry-in) and outputs a sum and carry-out, while a half adder adds only two inputs (A and B).

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

What is the purpose of a D-type flip-flop?

A

To store a single bit of data (0 or 1).

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

What are the inputs and outputs of a D-type flip-flop?

A

Inputs: Data (D) and Clock.
Outputs:
Q (stored bit) and Q’(complement of Q).

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

How can a D-type flip-flop be used in a burglar alarm system?

A

It can store the alarm state, ensuring the alarm remains active even if triggering conditions change (e.g., door closes or weight is removed).

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

_
Simplify A.(B+NotB)

A

A.1=A

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

Draw the circuit for
Q=(A+B)⋅C

A

Use an OR gate for
A
+
B
A+B, followed by an AND gate with input
C
C.

17
Q

What is the truth table for a full adder?

A

A B Cin Sum Cout
0 0 0 0 0
0 1 0 1 0
1 0 0 1 0
1 1 0 0 1
0 0 1 1 0
0 1 1 0 1
1 0 1 0 1
1 1 1 1 1