Computer Science LearnITWithMrC ⛯ Year 7 Year 8 Year 9 GCSE

## What am I Learning today?

 I understand a sequence is a 'set of steps' I am learning how to create a sequence- 'a set of steps to do something' I am learning how to create Sprites

## Lesson

Before we get started we need to do a couple of things

Firstly click on the PowerPoint below add your name to it and save it

Secondly we need to create a Scratch account

You can do that by clicking on the link below

## Sequencing

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

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.

### Activity 1 - What is a sequence?

Lets try the following tasks:

Tick each task when you have successfully done it in the following list:

## Complete the following tasks

In your PowerPoint add a slide called 'Sequencing'
Write down what a sequence is and give an example
Complete the extension activity below

### Extension Activity

##### Use scratch to get the cat to explain what a sequence is.

• Add a screenshot of your scratch cat into your PowerPoint.

• Lets try the following tasks:

Tick each task when you have successfully done it in the following list:

## Complete the following tasks

Add a slide to you PowerPoint and title it 'Animation Sequence'
Create the sequence above in Scratch
Screenshot your finished code into your PowerPoint

### Summing it all up

Lets look at the learning outcomes and decide which one best describes our current level of understanding :

Tick the one you feel is closest to your level

## Learning Outcomes I understand a sequence is a 'set of steps'

• I have a basic understanding of how I understand a sequence is a 'set of steps' with a little help from my teacher
• I can show my teacher that I understand a sequence is a 'set of steps' without their help.
• I understand a sequence is a 'set of steps' independently and I can also explain it to others and can complete any extension tasks I am given.

## 🠜 Now update your learning objectivesClick on the Assessment image

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 sprite, you can do one of four things:

1. Import a background or sprite from the library provided by Scratch.
2. Import a sprite file from your computer.
3. Import a graphics file for use as a backdrop or costume, and then use the costume to create a sprite.
4. 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.

We are going to create a sprite to look something like the one below.

Lets try the following tasks:

Tick each task when you have successfully done it in the following list:

## Complete the following tasks

Add a slide to you PowerPoint and title it 'Creating Sprites'
Briefly explain the process of creating a sprite
Screenshot your finished sprite
Use your new sprite to say something about what sprites are

##### See if you can now make your own animated sprite, by creating costumes for a new sprite. You don't have to be an artist just create something simple.

• Add a screenshot of your scratch cat into your PowerPoint.

• ### Summing it all up

Lets look at the learning outcomes and decide which one best describes our current level of understanding :

Tick the one you feel is closest to your level

## Learning Outcomes I need to learn how to create a sequence- 'a set of steps to do something'

• I have a basic understanding of how I can create a sequence- 'a set of steps to do something' with a little help from my teacher
• I can show my teacher that I can create a sequence- 'a set of steps to do something' without their help.
• I can create a sequence- 'a set of steps to do something' independently and I can also explain it to others and can complete any extension tasks I am given.