Computing Progress logo
Community Supported
Section Title Primary information Description and Notes Suggested resources
Lesson Length The expected lesson length will be approximately one hour

Some variation possible.

Assessment Level 1

 
Students The lesson is suitable for KS3 and KS4 students Since this is a new specification, the lesson is suitable for Year 7 to 9 students and differentiated by outcome  
Overall Focus This lesson goes into more detail about how Boolean logic can be used in programming and how it helps with the flow and efficiency.

Students should be able to understand and show examples of Boolean logic.

Lesson Links: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39

Key words logic, statements, Boolean, conditional These words need to be reinforced throughout the series of lessons  
Assessment relate boolean logic to program flow

Evidence here will be student's own work and assessor observations.

 
Key Questions Some questions to get learners thinking about the topics Some questions about how to improve the effectiveness and efficiency of searching for information. What function does Boolean logic play in programming? What examples can you see and find to show the way it works.  Can you explain what it does and how it helps?
Learning Objectives
  • To understand logical operators in relation to program flow
  • To explore and explain the application of logic for program flow
  • To understand how and when to use logical operators for efficiency

Students need to show that they are comfortable using logical operators and know when to use them to improve their efficiency

If you are using the Learning Machine learning system, students can add their comments and material to this site as evidence of their growing understanding.  The site, if used consistently, will show progression via charts of activity and outcomes.
Teaching and Learning Elements
  • Teacher based examples on usage in programs for discussion
  • Groups working on examples and documenting their findings
  • Detailed look at their operation and evaluation of their effects

 

Flow control graphic

How does this type of logic help with program flow?  Can students look at work they created before and look for any boolean logic that they applied.  Is it the best use of the logic and what improvements did it make.

Remind yourself of the main elements here.

Introduce the idea of conditional statements and how these can build up flow in programs: ELSE, IF, WHILE etc. Discuss what these terms mean and how they might be used and then look to see if they were correct in their assumptions.

Students can come up with other examples of how this logic might work in situations that are meaningful so as to reinforce situations (i.e. programming) where it might not be so obvious.

 

Lesson Structure Possible structure
  1. continued look at working examples and specific use cases
  2. practical with students finding examples from their projects or other sources
  3. groups work on usage in their found examples
  4. check they understand the ideas behind the application of logic
  5. write-up ideas
  6. intro to next session

Sign post graphic

Boolean logic is everywhere, or so it seems.  What other examples are there?  What difference can it make to your day to day activities?  How far can you get through a day using only Boolean logic.

Homework Students can write examples of these terms and how they apply to real life situations they have experienced.  Continue from previous lesson. Students can vary their homework depending on their level of understanding Students can continue to document their experience on their portfolio system for assessment

 

Print Friendly, PDF & Email