And, or, and an if in an if: 6th to 8th coding
Nested and combined conditions. A free 6th to 8th lesson plan with a hook, practice that links to free activities, and an exit ticket. Copy it and make it yours.
Lesson plan
Goal
- Students work toward: nested and combined conditions.
Hook (5 min)
- Ask the class: What if two things must both be true?
- Take two or three answers and write them where everyone can see them.
Teach (15 min)
- Say the big idea in one plain sentence: and, or, and an if in an if.
- Show one example, then one that is not an example, and ask how the two differ.
- Have students tell a partner or a small group the idea in their own words.
Practise (20 min)
- Choose one for the whole class or let groups pick:
- Print: On paper: Read It, Run It, Say It (https://teach.peabody.kids/coding-lessons/read-it-run-it)
- Print: On paper: Test Plans (https://teach.peabody.kids/coding-lessons/test-plans-ai-wrong)
- Learn: Practise: and, or (https://peabody.kids/practice/code/andor)
- Learn: Practise: an if inside an if (https://peabody.kids/practice/code/nestedif)
Exit ticket (5 min)
- On a slip or aloud: one thing I learned about and, or, and an if in an if, and one question I still have.
- Sort the slips into: got it, nearly, not yet. Start tomorrow with the last pile.
Written by Peabody from its own skill pages. Free, no ads, no sign-in. Children can practise this on Peabody. More from teachers: teacher-shared resources.