Teacher Guide: The OR Operation
Learn how the OR logical operation works and when the result is true.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Boolean Logic. Students join with a name, you see everyone's score.
For Teachers
- Define the OR operation and explain when it returns true
- Construct and interpret truth tables for OR
- Evaluate compound expressions involving OR
- Distinguish between OR and AND operations
- Apply OR logic to real-world scenarios
- • Understanding of true and false values
- • Basic knowledge of logical statements
- • Familiarity with the AND operation (recommended)
- 1. Can you think of a rule at home or school that uses OR logic?
- 2. Why do you think search engines use OR by default instead of AND?
- 3. If a vending machine accepts coins OR bills OR cards, what happens if you use two methods?
- 4. How would a safety system be different if it used AND instead of OR?
OR means you can only pick one
More true inputs should give a 'more true' result
For Struggling Students:
- • Start with just two inputs and the four rows of the truth table
- • Use physical cards with T and F that students can manipulate
- • Connect every example to simple yes/no questions they understand
For On-Level Students:
- • Practice evaluating compound expressions with multiple ORs
- • Compare OR and AND truth tables side by side
- • Solve word problems requiring OR logic identification
For Advanced Students:
- • Explore XOR and how it differs from OR
- • Chain OR with AND in complex expressions
- • Design logic circuits using OR gates
- CCSS.MATH.PRACTICE.MP2 (MP2)
Reason abstractly and quantitatively
- CCSS.MATH.PRACTICE.MP7 (MP7)
Look for and make use of structure
- visualInteractive Truth Table
Students explore OR operation with toggle inputs
- activityOR Logic Hunt
Find real-world examples of OR conditions
- worksheetOR vs AND Comparison
Side-by-side practice problems
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- (mathematical notation)
- OR (written out)
- || (programming)
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
Worked Examples
You'll go swimming if: it's Saturday OR it's above 25°C. Today is Monday and it's 28°C. Will you go swimming?
Identify statement P
P = "It's Saturday" → Today is Monday, so P is False → P = F
Identify statement Q
Q = "It's above 25°C" → 28°C > 25°C, so Q is True → Q = T
Apply OR operation
= F OR T = True (one condition is met!) → P OR Q = T
Interpret the result
Since OR returns True, the overall condition is satisfied → Yes, go swimming!
Answer: Yes! You'll go swimming because at least one condition is true (it's above 25°C).
Common Mistakes
Thinking OR means exactly one must be true
Why it's wrong: This confuses OR with XOR (exclusive or). In standard OR, if both are true, the result is still true.
Correct: OR returns true if at least one input is true - this includes when both are true! T OR T = T.
Confusing OR with AND
Why it's wrong: AND requires ALL inputs to be true. OR only requires ONE input to be true.
Correct: Remember: AND is strict (all must be true), OR is lenient (any one is enough).
Forgetting that F OR F = F
Why it's wrong: Some students think OR always gives true, but it needs at least one true input.
Correct: The ONLY way OR returns false is when ALL inputs are false.
Why It Matters
- Decision Making: "I'll go to the park if it's sunny OR if it's warm" - you go if either condition is met
- Safety Systems: Alarm triggers if there's smoke OR if someone presses the emergency button
- Search Engines: Finding documents containing "cats OR dogs" gives results with either word
- Electronics: OR gates control circuits in computers, phones, and appliances
- Programming: Every app uses OR logic for checking multiple conditions
Real World Applications
Search Engines
When you search "cats OR dogs", the search engine finds pages containing either word (or both).
Example:
Searching "pizza OR pasta" on a restaurant website shows all items with pizza, pasta, or both.
You search a library database for books about "robots OR automation". A book is titled "Robots in Manufacturing".
Will this book appear in your search results?
Step 1: Write the mathematical expression
Let R = "contains robots", A = "contains automation":
Smart Home Systems
Automated homes use OR logic to trigger actions when any of several conditions are met.
Example:
Lights turn on automatically if: motion is detected OR it's after sunset OR you press a button.
Your smart thermostat turns on heating if: temperature < 18°C OR you press "Heat" OR it's scheduled. It's 20°C, you haven't pressed anything, but heating is scheduled for now.
Will the heating turn on?
Step 1: Write the mathematical expression
Let T = "temp < 18°C", B = "button pressed", S = "scheduled":
Key Takeaways
- 1The OR operation returns true if at least one input is true
- 2OR only returns false when all inputs are false
- 3Truth table: T OR T = T, T OR F = T, F OR T = T, F OR F = F
- 4Symbol: in math, OR in words, || in programming
- 5Real-world examples: search engines, safety systems, smart devices
Frequently Asked Questions
What's the difference between OR and XOR?
Why is T OR T equal to T?
How many OR operations can I chain together?
Glossary
- OR operation
- A logical operation that returns true if at least one input is true
- Disjunction
- The mathematical name for the OR operation
- Truth table
- A table showing all possible input combinations and their outputs
- Inclusive OR
- Standard OR that's true when one or both inputs are true
- XOR (Exclusive OR)
- A variant that's true only when exactly one input is true