3. LEARNING OUTCOMES
I understand the meaning of different
Boolean conditions...
I can set up a condition using an if
statement in Python...
I can set up more than one condition
using an elif and else statement in
Python...
4. STARTER
A boolean condition is one that can have only two values true or
false. The boolean comparison operators are as follows:
Learning outcomes:
I understand the meaning of different Boolean
conditions...
I can set up a condition using an if statement in
Python...
I can set up more than one condition using an elif
and else statement in Python...
5. MAIN TASK 1
Here we say if a condition is true or false
Now have a go at completing Task 1 on Worksheet 5.
Learning outcomes:
I understand the meaning of different Boolean
conditions...
I can set up a condition using an if statement in
Python...
I can set up more than one condition using an elif
and else statement in Python...
6. MINI PLENARY
Task 2 on your worksheet requires you to
explain what an IF statement does.
Provide an example of an IF statement to
back up your explanation.
Learning outcomes:
I understand the meaning of different Boolean
conditions...
I can set up a condition using an if statement in
Python...
I can set up more than one condition using an elif
and else statement in Python...
7. MAIN TASK 2
You can tell the computer to do something different
when the condition isn’t true using the else
keyword:
Now attempt Task 3 on Worksheet 5
Learning outcomes:
I understand the meaning of different Boolean
conditions...
I can set up a condition using an if statement in
Python...
I can set up more than one condition using an elif
and else statement in Python...
8. PLENARY
You have 5 minutes to work out the pay for both workers.
Learning outcomes:
I understand the meaning of different Boolean
conditions...
I can set up a condition using an if statement in
Python...
I can set up more than one condition using an elif
and else statement in Python...