These resources were made for remote use during the pandemic, not classroom teaching.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

Lesson details

Key learning points

  1. 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.

Loading...

Prior knowledge starter quiz

Download quiz pdf
Share with pupils

4 Questions

Q1.
What is the evaluation of this expression: 10 * 10 / 5

100
2
Correct answer: 20
50

Q2.
What is the evaluation of this expression: 5 - 2 + 6 / 2

3
4.5
Correct answer: 6
9

Q3.
If you were using integer division, what would be the evaluation of this expression: 14//3

2
Correct answer: 4
42
5

Q4.
If you were using modulo, what would be the evaluation of this expression: 14%3

1
Correct answer: 2
3
42

3 Questions

Q1.
Which flowchart symbol is used to show a decision?

Circle
Correct answer: Diamond
Oval
Parallelogram

Q2.
Will this logical expression evaluate as True or False? (5-2+10/2) == 8

False
Correct answer: True

Q3.
What will be the output of this program when it is executed?

An image in a quiz
20
Correct answer: Nothing
score > 30
You won!