Year 11
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
These resources were created for remote use during the pandemic and are not designed for classroom teaching.
Lesson details
Key learning points
- In this lesson, we will move on to the next big programming construct: selection. We will be introduced to it initially through a flowchart that demonstrates how a condition can be used to control the flow of execution in a program. We will then learn about definitions for logical expressions and conditions. A short activity has been included to allow us to grasp how logical expressions evaluate. Next, we will complete a PRIMM activity where we investigate and modify a chatterbot.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.
4 Questions
Q1.
What is the evaluation of this expression: 10 * 10 / 5
100
2
50
Q2.
What is the evaluation of this expression: 5 - 2 + 6 / 2
3
4.5
9
Q3.
If you were using integer division, what would be the evaluation of this expression: 14//3
2
42
5
Q4.
If you were using modulo, what would be the evaluation of this expression: 14%3
1
3
42
3 Questions
Q1.
Which flowchart symbol is used to show a decision?
Circle
Oval
Parallelogram
Q2.
Will this logical expression evaluate as True or False? (5-2+10/2) == 8
False
Q3.
What will be the output of this program when it is executed?

20
score > 30
You won!