Successfully reported this slideshow.

Scratching the surface

383 views

Published on

Published in: Lifestyle, Technology
  • Be the first to comment

  • Be the first to like this

Scratching the surface

  1. 1. Scratching The Surface
  2. 2. Starter Activity: Scratch Website Explore the scratch website http://scratch.mit.edu Scratching The Surface
  3. 3. Scratching The Surface In this lesson you will learn about the Scratch programming environment and the basic terms used in the program. You will create your first computer program based on a cat walk scenario. Lesson Objectives  Identify the major parts of the scratch environment  Understand how sprites and blocks work  Understand the concept of a computer program  Work with simple animation and sound
  4. 4. Watch the Scratch Intro video, this will introduce you to Scratch and its screen layout. Scratching The Surface
  5. 5. A Scratch program contains sprites (characters) that “perform” on a stage. Sprites and the stage have three kinds of properties (or settings). Scripts: These are the instructions that control a sprite. Scripts are made from blocks. Costumes/Backgrounds: Costumes are “outfits” for a sprite. Backgrounds are just like costumes but for the stage. Sounds: These are sounds that sprites or the stage can use. Scratching The Surface
  6. 6. Task 1: Up on the Catwalk Follow the steps outlined in the Catwalk video which is in the programming in scratch folder in Groupwork to create your first computer program. Scratching The Surface If you get struck, look back at the video.
  7. 7. Congratulations – you have just started your journey to become a computer programmer! Scratching The Surface
  8. 8. Putting Things in Order •Blocks in the same script get executed (carried out) in sequence, one after the other. •Blocks in separate scripts can sometimes be executed at the same time. This is called parallel processing – having the computer do more than one thing at a time. •For example, if you have several scripts, they will all get executed together when the green flag is clicked. Scratching The Surface
  9. 9. Task 2: Dance Away Create a program to make a sprite dance in time to music. Watch the Dancing Queen video which is in the programming in scratch folder in Groupwork to give you some inspiration. Scratching The Surface
  10. 10. Plenary: Question 1 Look at the section of code below that controls a sprite. What you think the user will see when the green flag is clicked. Scratching The Surface
  11. 11. Plenary: Question 2 Look at the section of code below that controls a sprite. What do you think the user will see when the green flag is clicked. Scratching The Surface
  12. 12. Plenary: Question 3 In the stack of blocks below, how many times does the sprite move 10 steps? Scratching The Surface
  13. 13. Plenary: Question 4 A programmer wants the cat to dance to some music. However, the cat doesn’t start dancing until after the music has finished! Why is this? Scratching The Surface
  14. 14. Scratching The Surface Keywords  Identify the major parts of the scratch  Understand how sprites and blocks work  Understand the concept of a computer program  Work with simple animation and sound Objectives  Sprites  Blocks  Costumes  Processing  Motion  Control  Coordinates  Code    

×