Computer Science · Class 10
Boolean Logic
Learn Boolean Logic with notes, examples, and practice questions.
3 sections15–25 min read6 MCQs · 2 examples
Chapter Overview
Boolean logic uses true/false values with AND, OR, NOT gates — foundation of digital circuits and computer decision-making.
Logic Gates
- AND: 1 only if both inputs 1
- OR: 1 if any input 1
- NOT: inverts input
- NAND, NOR, XOR — combinations
Truth Tables
- List all input combinations and output
- AND: 1 AND 1 = 1, else 0
- OR: 0 OR 0 = 0, else 1
- NOT: NOT 1 = 0
Solved Examples
Step-by-step solutions — read each step before checking the final answer.
AND gate
Inputs A=1, B=0. Output of A AND B?
- 1AND needs both 1
- 2One input is 0
- 3Output = 0
Answer
0
NOT gate
Input 1 to NOT gate.
- 1NOT inverts
- 2NOT 1 = 0
Answer
0
Key Points to Remember
- ✓ Boolean algebra simplifies circuits
- ✓ De Morgan's laws for gate conversion
- ✓ Used in CPU logic units
Exam Tips
- • Draw truth tables
- • Evaluate gate outputs
- • Know gate symbols
Practice MCQs — Boolean Logic
Test your understanding with topic-wise multiple choice questions. Explanations appear after each answer.
Question 1 of 6Score: 0/0
AND gate output 1 when: