Download presentation
Presentation is loading. Please wait.
1
Scratch – Simple Programming
Creating Shapes
2
Unit Overview Objectives Outcomes Time Task 1 Task 2 Task 3 Task 4
Understand why computer programming scripts are used. Understand the layout of the Scratch software. Understand the use of basic motion and repeat commands. Understand the use of Variables as place holders for information. Understand what an algorithm is and how it can be used in programming. Outcomes Time Task 1 Create shapes in Scratch using basic commands. Task 2 Create shapes in Scratch using the repeat command. Task 3 Create a script containing suitable variables. Task 4 Write an algorithm and create a simple Program to create all of the shapes from the previous tasks
3
Starter (Feature of Scratch)
Scripts Sprite Different types of Commands Stage Create new Sprite
4
Starter (Label the Shapes)
3 4 5 6 7 8 10 12 Triangle Decagon Dodecagon Square Octagon Heptagon Pentagon Hexagon
5
Starter (Working out Exterior angle)
Tip: To work out the exterior angle you need to divide the number of sides by 360 degrees. 360/3 (Sides) 120 Degrees 4 5 Work out the exterior angle for the following shapes Degrees Degrees Degrees
6
Starter – Complete the missing instructions
6 steps Steps Actions 1 3 steps forward 2 Rotate 90 degrees 3 6 steps forward 4 5 6 7 8 Finish 3 steps Start Steps Actions 1 Rotate 120 degrees 2 3 steps forward 3 4 5 6 7 Finish 3 steps Start
7
Write an algorithm to send an email to your teacher.
Starter – Algorithms Write an algorithm to send an to your teacher.
8
Task 1 – Create the following shapes
3 4 5 Create the following shapes in scratch using basic commands. Print screen (Shapes Worksheets) and annotate your scripts for each shape.
9
Task 2 – Repeat Command 7 8 10 12 Create the following shapes in scratch using the repeat command. Print screen (Shapes Worksheets) and annotate your scripts for each shape.
10
The answer to each question will be stored in the relevant variable.
Task 3 – Variables Variables act as “place holders" for data in a computer program. The answer to each question will be stored in the relevant variable. The answer to the question “What shape are you drawing” will be stored in the shape variable. Task: Create variable to store the answers from the following questions: What shape are you drawing? How many sides does your shape have? What is the exterior angle for this shape? How many steps would you like to take for each side?
11
Tasks – Algorithms Algorithms are rules/steps/instructions which need to be followed in order to complete a particular task: Write an algorithm for the following scenarios: Getting ready in the morning for school Making a cup of tea
12
Tasks 4 – Create a simple Program to create all of the shapes from the previous tasks
You program needs to include: Control command to start the script Variables to store information about the shape (shape, sides, angles, steps etc. ) Repeat command Pen up and Pen down command Write an algorithm for this task. You can add additional script to you program.
13
Plenary – Refer to the Lesson Objectives
Understand why computer programming scripts are used. Understand the layout of the Scratch software. Understand the use of basic motion and repeat commands. Understand the use of Variables as place holders for information. Understand what an algorithm is and how it can be used in programming. Plenary Task (Q&A) Peer assess each other scripts. Discuss the advantages for creating a program to create shapes. Discuss the levels pupils have achieved for this task. Questions: Do you know why a repeat commands is used? Question: What is the purpose of an algorithm? Question: What is the purpose of variables?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.