Year 7

Year 7

# Problem solving

## Lesson details

### Key learning points

1. In this lesson, we will play a game of beat the teacher. The following exercise requires us to put together all of the skills that we have developed throughout this unit to develop a dance game called "Move with Jim".

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

### 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
Correct answer: 10, 11, Lunchtime, 13

## Exit quiz

Share with pupils

### 4 Questions

Q1.
What will be the output of this program when it is executed? (What will the sprite say?)
Correct answer: "Good afternoon" and "How are you?"
"Good morning" and "Good afternoon" and "How are you?"
"Good morning" and "How are you?"
"How are you?"
Q2.
Which of the conditions would evaluate to ‘true’ with the following inputs? [2 answers]
Correct answer: (number1 > 20) and (number2 <100)
Correct answer: (number1 > 20) or (number2 <100)
(number1 > 30) or (number2 < 90)
(number1<30) and (number2 <91)
Q3.
What will be the output of this program when it is executed? (What will the sprite say?)
Sun, It’s raining
Sun, Rain, It’s raining
Sun, Rain, Rain
Correct answer: Sun, Rain, Rain, It’s raining
Q4.
What will be the output of this program when it is executed? (What will the sprite say?)
10, 11, 12, 13
10, 11, Lunchtime, 12
10, 11, Lunchtime, 12, 13
Correct answer: 10, 11, Lunchtime, 13