Year 11

Year 11

# Selection challenge

## Lesson details

### Key learning points

1. In this lesson, we will complete the 'make' part of PRIMM. We will complete an activity to create a joke machine. This will allow us to apply our new knowledge to a new, but similar scenario.

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

## Video

Share with pupils

## Worksheet

Share with pupils

## Starter quiz

Share with pupils

### 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!

## Exit quiz

Share with pupils

### 2 Questions

Q1.
If you want to increase the value held in the score variable by 1, which line of code should you use?
score + 1
score = 1
score = 1 + 1
Correct answer: score = score + 1
Q2.
What does this logical operator represent? !=
Equal to
Less that or equal to
More than or equal to