Monday, April 22, 2013

Coding for Kids Lesson 2: SCRATCH

Intro to Scratch

Materials
Download Scratch
Personal computer to run Scratch, see system requirements here: http://scratch.mit.edu/

Review
Discuss Light-Bot and the process of telling robots which steps to follow
Discuss where Scratch came from.  Programmers at MIT created Scratch so children would learn to program.  It is free.

Lesson
Familiarize the students with the main parts of the Scratch interface.  Use this link as a resources for the adult leading the lesson.  Intro to Scratch

Students will move the Sprite back and forth across the screen (50 steps, 180* turn, 50 steps, 180* turn) using scripts of more than one command.

Recognize that you can change the number of steps or amount of degrees.

Introduce the Green Flag and Stop Script functions.  Stop Script is a very important function.  It is necessary in all scripts to tell the computer to stop listening.

Using the pen feature students will draw a square (20 steps, 90*, 20 steps, 90*, 20 steps, 90*, 20 steps, 90*)

Teach students to "clear" stage: 'face 90*' and 'clear'

Experiment drawing shapes using the following changes; 60*, 45*, 30* - reduce the number of steps the sprite moves in order to fit on the stage.

15-20 minutes of exploration drawing shapes.

Teach students to assign keys to actions "when x is pressed y happens"  Assign the following keys/scripts:
up arrow is forward
left arrow is turn left
right arrow is turn right
u key is pen up
d key is pen down
x key is 'clear'

Don't forget to use 'stop script'

Assignment:
Draw a happy face (2 circles for eyes, line for a mouth) - now make a triangle for a nose or an arc for a mouth.
Draw a bicycle
Draw a star
Draw a capital letter E

Encourage students to continue to explore Scratch at home.

We did not introduce importing Sprites, playing with sound, drawing background/Sprites, or playing with the paint feature.  These skills are currently taught in computer lab.  We focused only on the programming aspects of Scratch

No comments:

Post a Comment