icon-background-square
New
New
Year 3

Creating a project using a block-based environment

I can implement an algorithm as code to create a project from a design.

icon-background-square
New
New
Year 3

Creating a project using a block-based environment

I can implement an algorithm as code to create a project from a design.

warning

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

Lesson details

Key learning points

  1. In a project with multiple sprites, it is useful to assign them meaningful names.
  2. An algorithm is a defined sequence that can be followed and represented in code.
  3. An error in code is often called a bug.
  4. Errors can be found and corrected through debugging.

Keywords

  • Algorithm - a sequence of steps that can be followed to do a task

  • Bug - an error or mistake in code that stops it from working properly or as expected

  • Debug - the process of finding and correcting bugs in code

Common misconception

An algorithm cannot be represented in code.

An algorithm is a description of the instructions to follow so that a specified task can be completed. Therefore, algorithms can be converted and represented in to program code to enable a computer to carry out the solution to a task.

Not all learners will experience bugs or errors in their code, if they don't encourage them to think about how they could develop their programs further, or perhaps help someone else in the class who does have a problem with their program.
speech-bubble
Teacher tip

Equipment

All pupils require access to devices that have or can access the online version of Scratch. Starter programs are linked to the lesson and can be remixed as required.

Licence

This content is © Oak National Academy Limited (2025), licensed on Open Government Licence version 3.0 except where otherwise stated. See Oak's terms & conditions (Collection 2).

Lesson video

Loading...

6 Questions

Q1.
What category does this code block belong to?
An image in a quiz
Correct answer: sound
events
motion
looks
Q2.
A is used to change the appearance of a sprite.
Correct Answer: costume
Q3.
What would you add to change the appearance of the stage?
Correct answer: backdrop
costume
sound
sprite
Q4.
Which of these is a backdrop?
An image in a quiz
Correct Answer: An image in a quiz
An image in a quiz
An image in a quiz
Q5.
Different types of code blocks cannot be used in the same sequence.
true
Correct answer: false
Q6.
A is a plan to show how something will look or work.
Correct Answer: design
Q1 Scratch Foundation under CC BY-SA 2.0 Q4 image 1 Scratch Foundation under CC BY-SA 2.0 Q4 image 3 Scratch Foundation under CC BY-SA 2.0

4 Questions

Q1.
A is an error or mistake in code that stops it from working properly or as expected.
Correct Answer: bug
Q2.
How do you copy a code block from one sprite to another?
Correct answer: Drag and drop the code block from one sprite to another.
Right click and duplicate the code block.
Left click and duplicate the code block.
Q3.
You cannot implement an algorithm in Scratch.
true
Correct answer: false
Q4.
sprites helps you read code and spot characters more easily.
Correct answer: Naming
Removing
Duplicating