Year 7
Lesson details
Key learning points
- In this lesson, we will develop a Scratch version of the nursery rhyme Ten Green Bottles, using count-controlled iteration. We will be introduced to the concept of debugging and will be given a program to debug by tracing the value of the variables.
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...
6 Questions
Q1.
The greater than symbol in the image below is an example of a comparison operator or a logic operator?
Logic
Q2.
The greater than symbol in the image below is an example of a comparison operator or a logic operator?
Comparison
Q3.
Does the following statement evaluate as True or False? - (30 < 50) or (30 > 50)
False
Q4.
Does the following statement as True or False? - (20 = 20) and (15 < 15)
True
Q5.
Does the following statement as True or False? - not (20 = 20)
True
Q6.
Which of the conditions would evaluate to ‘true’ with the following inputs? [2 answers]
(number 1 > 30) and (number2 < 91)
(number 1 > 30) or (number2 < 90)
4 Questions
Q1.
In our lesson we learnt about two types of iteration (loops). Which of the two is the following sentence describing: "This type of iteration will execute the commands until the condition you set is no longer being met"
Count controlled
Q2.
Which of the following terms describes the process of finding an error in your code and taking steps to fix the problem.
Code breaking
Iteration
Tracing
Q3.
Which of the following blocks of code would make the Scratch cat say “1, 2, 3” leaving a second in between each number?
A
B
D
Q4.
What will be outputted (what will be said) when the following program is executed?
10, 11, 12, 13
10, 11, Lunchtime, 12
10, 11, Lunchtime, 12, 13