0 results for
ICT
Computing

# Lesson 1 -Scratch Introduction

0 results forGuest
##### Learning Objectives
0 results forGuest
IDSkill_name
1 I can understand a sequence is a 'set of steps'
1 I can create a sequence 'a set of steps to do something'
3 I can create Sprites
3 I can use/create backgrounds

## Sequencing

In computer science 'Sequencing' is the specific order in which instructions are performed in an algorithm..

For example, a very simple algorithm for brushing teeth might consist of these steps:

1. put toothpaste on toothbrush
2. use toothbrush to clean teeth
3. rinse toothbrush

## Why is sequencing important?

It is crucial that the steps in an algorithm are performed in the right order - otherwise the algorithm will not work correctly. Suppose the steps for the teeth-cleaning algorithm were in this sequence:

1. use toothbrush to clean teeth
2. put toothpaste on toothbrush
3. rinse toothbrush

A toothbrush would still be used to clean the teeth and toothpaste would still be put on the brush. But because steps 1 and 2 are in the wrong sequence the teeth wouldn’t get cleaned with the toothpaste, and the toothpaste would be wasted.

A human would realise they had forgotten to add toothpaste at the start of the process, but a computer would not know that anything was wrong.

A computer can only do what it is programmed to do. If the steps are programmed in the wrong sequence, the computer will perform the tasks in this sequence – even if this is incorrect.

## Creating Backdrops and Sprites in Scratch

In Scratch, the backdrop and sprites are assets. Assets also include costumes and sounds, which you can add to your sprites.

To create a background or a spite, you can do one of four things:

• Import a background or sprite from the library provided by Scratch.
• Import a sprite file from your computer.
• Import a graphics file for use as a backdrop or costume, and then use the costume to create a sprite.
• Draw your backdrop or costume using the drawing tools provided by Scratch, and use costumes to create your sprite.

In this tutorial, we will work through a new project and use each of these techniques in different ways.

## Creating Sprites in Scratch

### Activity - Making a Sprite.

Watch the video and then create a sprite using Scratch, it should look something like the one below.

## Creating backgrounds

Let's start by giving our project a backdrop. Below the stage you'll see that there are four options for creating backdrops, each of which has an icon:

### Adding a Backdrop From the Library

Start by using the library. Click on the left hand icon to view the backdrops library:

Select an image (I'm using 'beach-malibu') and click the OK button.

The cat sprite will now be in front of your background:

As your project had a plain white backdrop when you started, it will now have two backdrops. You can view all of your backdrops by clicking on the Stage (next to your sprites) and then clicking on the Backdrops tab to the right of the stage. This reveals the backdrops pane:

Here you can add or delete backdrops and edit existing ones.

## Lesson Challenge

Now see if you can now make your own sprite with a backdrop you have created or edited.

0 results forGuest