Skip to content

Boolean Logic and ExpressionsActivities & Teaching Strategies

Boolean logic can feel abstract to Year 7 students, but active learning turns vague rules into tangible understanding. By moving, sorting, and building expressions, students see how AND, OR, and NOT behave in real time, fixing misconceptions before they take root.

Year 7Computing4 activities20 min40 min

Learning Objectives

  1. 1Evaluate the truth value of a Boolean expression given specific input values for its variables.
  2. 2Construct Boolean expressions using AND, OR, and NOT operators to represent given real-world conditions.
  3. 3Compare and contrast the application of Boolean logic in programming conditional statements with its use in online search queries.
  4. 4Identify the logical operator (AND, OR, NOT) most suitable for refining a given search query to achieve specific results.

Want a complete lesson plan with these objectives? Generate a Mission

35 min·Small Groups

Simulation Game: Condition Card Sort

Prepare cards with Boolean expressions and input values, such as (hungry = true) OR (tired = true). In small groups, students draw pairs, evaluate outcomes, and sort into true or false piles. Discuss edge cases as a group before revealing correct answers.

Prepare & details

Translate a real-world condition into a Boolean expression.

Facilitation Tip: During Condition Card Sort, circulate and ask each pair to explain why they placed a card in the TRUE or FALSE group before moving on.

Setup: Flexible space for group stations

Materials: Role cards with goals/resources, Game currency or tokens, Round tracker

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
25 min·Pairs

Pairs: Search Query Builder

Pairs receive scenarios like finding videos on football OR rugby NOT cricket. They write Boolean expressions, test with sample results, and refine for accuracy. Share and vote on the best queries class-wide.

Prepare & details

Evaluate the outcome of a Boolean expression given specific inputs.

Facilitation Tip: In Search Query Builder, model aloud how to refine queries by adding NOT to exclude unwanted results, then step back to let pairs test each other’s ideas.

Setup: Standard classroom seating; students turn to a neighbor

Materials: Discussion prompt (projected or printed), Optional: recording sheet for pairs

UnderstandApplyAnalyzeSelf-AwarenessRelationship Skills
40 min·Whole Class

Whole Class: Logic Relay

Divide class into teams. Project a condition; first student writes part of expression, tags next for evaluation with inputs, continues until complete. Fastest accurate team wins; replay with variations.

Prepare & details

Compare the use of Boolean logic in programming to its use in search queries.

Facilitation Tip: For Logic Relay, set a timer for each step so students practice breaking expressions into small, manageable parts under pressure.

Setup: Standard classroom seating; students turn to a neighbor

Materials: Discussion prompt (projected or printed), Optional: recording sheet for pairs

UnderstandApplyAnalyzeSelf-AwarenessRelationship Skills
20 min·Individual

Individual: Expression Evaluator Worksheet

Provide worksheets with 10 expressions and varied inputs. Students evaluate alone, then pair-share to check and explain differences. Collect for feedback on common patterns.

Prepare & details

Translate a real-world condition into a Boolean expression.

Facilitation Tip: On the Expression Evaluator Worksheet, require students to show their step-by-step evaluation with parentheses circled to reveal their understanding of order.

Setup: Standard classroom seating; students turn to a neighbor

Materials: Discussion prompt (projected or printed), Optional: recording sheet for pairs

UnderstandApplyAnalyzeSelf-AwarenessRelationship Skills

Teaching This Topic

Start with concrete examples before symbols. Use everyday rules students know, like ‘You can ride the rollercoaster if you are tall enough AND have a ticket.’ Avoid starting with abstract tables or truth charts. Let students discover operator behavior through failure—when a single TRUE condition doesn’t satisfy AND, they’ll question their assumptions. Research shows that physical manipulation and immediate feedback reduce persistent misconceptions about Boolean logic.

What to Expect

Students will confidently construct, evaluate, and discuss Boolean expressions using AND, OR, and NOT. They will justify their reasoning with clear steps and adjust expressions based on feedback from peers and activities.

These activities are a starting point. A full mission is the experience.

  • Complete facilitation script with teacher dialogue
  • Printable student materials, ready for class
  • Differentiation strategies for every learner
Generate a Mission

Watch Out for These Misconceptions

Common MisconceptionDuring Condition Card Sort, watch for students grouping cards that satisfy only one condition as TRUE for an AND expression.

What to Teach Instead

Have the group re-examine their TRUE pile and ask, ‘Does this card meet BOTH rules? If not, move it to FALSE and explain why.’

Common MisconceptionDuring Logic Relay, watch for students applying NOT to the entire expression instead of just the operand.

What to Teach Instead

Pause the relay and ask the team to rebuild the expression step-by-step, using parentheses to isolate the NOT operand and re-evaluate with the same inputs.

Common MisconceptionDuring Search Query Builder, watch for students assuming that the order of keywords in a search matters regardless of operators.

What to Teach Instead

Ask them to swap the order of two terms in their query and observe the results, then discuss how parentheses or operators control grouping in search engines.

Assessment Ideas

Quick Check

After Condition Card Sort, present a new Boolean expression like (height > 150) AND (age < 16) with two input cards (height=160, age=14 and height=140, age=15). Ask students to write TRUE or FALSE on their mini whiteboards and hold them up, then call on two students to explain their reasoning aloud.

Exit Ticket

After Search Query Builder, give students a scenario: ‘Find information about dogs but exclude anything about training.’ Ask them to write the Boolean search query they used and the expected outcome for a search engine.

Discussion Prompt

During Expression Evaluator Worksheet, select a student to share their evaluation steps for a complex expression like NOT (A OR B) where A=True and B=False. Ask the class to vote on whether they agree, then facilitate a brief peer debate before confirming the correct steps.

Extensions & Scaffolding

  • Challenge: Ask students to create the most complex Boolean expression they can using all three operators and parentheses, then trade with a partner to evaluate each other’s work.
  • Scaffolding: Provide partially filled expressions with blanks for missing operators or values to reduce cognitive load during the Expression Evaluator Worksheet.
  • Deeper Exploration: Have students write a short program (in pseudocode or block-based) that uses a Boolean expression to control a simple animation or game mechanic, such as a character only jumping if the spacebar is pressed AND the character is on the ground.

Key Vocabulary

Boolean LogicA system of logic where all values are either TRUE or FALSE. It forms the basis for decision-making in computer programs.
Boolean OperatorSymbols or words used to connect or modify Boolean values. The primary operators are AND, OR, and NOT.
Boolean ExpressionA combination of variables, values, and operators that evaluates to either TRUE or FALSE. For example, (age > 18) AND (hasLicense = TRUE).
Truth ValueThe outcome of a Boolean expression or statement, which can only be TRUE or FALSE.

Ready to teach Boolean Logic and Expressions?

Generate a full mission with everything you need

Generate a Mission