Scratch

Post on 23-Dec-2014

190 views 4 download

Tags:

description

 

Transcript of Scratch

Tasks

Using a Green pen respond to my

question with an appropriate comment

ProgrammingMonday 10 April 2023

By the end of the lesson you will…

Objective› Be able to create and understand simple

programs

Level 3 Level 4 Level 5

Create a simple program (script)

Predict the actions of a simple program (script)

Explain the stages of a simple program (script)

Scratch

A Scratch program contains sprites that ‘perform’ on a stage. Sprites and the stage have three properties or settings

Scripts

These are the instructions that control a sprite

Scripts are made from blocks

Over a 100 blocks in total

Sprites need scripts to perform

Costumes/Backgrounds

These are ‘outfits’ for a sprite

The stage can also have different backgrounds which can be changed

Sounds

Sprites and the stage can use sounds

Scratch lets you import recorded sounds or even record you own using a microphone

Adding Actions

To add an action you click on the object (sprite or background) and build the scripts up like Lego

Task

1. What will happen to the sprite if I use the following script

2. Write down your prediction then test it in Scratch.

3. Were you right or wrong, why?

Task

1. What will happen to the sprite if I use the following script

2. Write down your prediction then test it in Scratch.

3. Were you right or wrong, why?

Task

1. What will happen to the sprite if I use the following script

2. Write down your prediction then test it in Scratch.

3. What are the three stages of the script?

4. Why use the script?

Task

How could we improve this script so that the sprite will

1. Move forward2. Wait 1 second3. Move backwards

Task

Task

In the stack of blocks on the right how many times does the sprite move 10 steps?

Why?