Year 11
Selection challenge
Lesson details
Key learning points
- 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.
Loading...
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?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707168917%2Fly2f0lgw8rskfdtkuzll.png&w=828&q=75)
20
score > 30
You won!
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
Q2.
What does this logical operator represent? !=
Equal to
Less that or equal to
More than or equal to