Short NoteLogic Gates With Boolean
Short NoteLogic Gates With Boolean
• Analog signals: Continuous signals that vary over time (e.g., sound waves).
• Digital signals: Discrete signals with two states: HIGH (1) and LOW (0).
Digital systems use binary logic, where electronic circuits process 0s and 1s to perform
operations.
Logic gates are fundamental building blocks of digital circuits that perform basic logical
operations.
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1
3. NOT Gate (Inversion): Inverts the input (0 → 1, 1 → 0).
A NOT A
0 1
1 0
1. NAND Gate: Inverse of AND (Output is 0 only if both inputs are 1).
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0
A B A NOR B
0 0 1
0 1 0
1 0 0
1 1 0
3. XOR Gate: Output is 1 if inputs are different.
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0
A B A XNOR B
0 0 1
0 1 0
1 0 0
1 1 1
A truth table represents all possible input combinations and corresponding outputs for a
Boolean function.
A B Output (A AND B)
0 0 0
0 1 0
1 0 0
1 1 1
4. Creating Combinational Logic Gates Using Basic Logic Gates
Given a circuit, a truth table is created by evaluating all possible input values.
A B Output (Y = A ⊕ B)
0 0 0
0 1 1
1 0 1
1 1 0
ICs are small electronic components that contain multiple logic gates.
Conclusion
Logic gates and Boolean algebra are essential for digital circuit design, enabling modern
electronics and computing.