# Improving and refining

In this lesson, we will add more variables to improve our games.

Quiz:

# Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Q1.How does using a plan you help complete a programming task?

1/3

Q2.Variables can be given almost any name. Why is it important to choose variable names carefully? (Tick 2 boxes)

Select two (2) boxes

2/3

Q3.Why is it important to test your code?

3/3

Quiz:

# Intro quiz - Recap from previous lesson

Before we start this lesson, let’s see what you can remember from this topic. Here’s a quick quiz!

Q1.How does using a plan you help complete a programming task?

1/3

Q2.Variables can be given almost any name. Why is it important to choose variable names carefully? (Tick 2 boxes)

Select two (2) boxes

2/3

Q3.Why is it important to test your code?

3/3

# Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

• Click "Close Video"
• Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

# Worksheet

These slides will take you through some tasks for the lesson. If you need to re-play the video, click the ‘Resume Video’ icon. If you are asked to add answers to the slides, first download or print out the worksheet. Once you have finished all the tasks, click ‘Next’ below.

Quiz:

# Improving and Refining

Materials from the Teach Computing Curriculum created by the National Centre for Computing Education and Scratch.

Q1.How many variables are being used in the code below?

1/3

Q2.One variable is being updated in the code below. When and by how much is the variable changed?

2/3

Q3.Look at the code below. The loop will stop when the variable Time = 10. How many times will the program loop?

3/3

Quiz:

# Improving and Refining

Materials from the Teach Computing Curriculum created by the National Centre for Computing Education and Scratch.

Q1.How many variables are being used in the code below?

1/3

Q2.One variable is being updated in the code below. When and by how much is the variable changed?

2/3

Q3.Look at the code below. The loop will stop when the variable Time = 10. How many times will the program loop?

3/3

# Lesson summary: Improving and refining

## Time to move!

Did you know that exercise helps your concentration and ability to learn?

For 5 mins...

Move around:
Walk

On the spot:
Dance