SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Scratch
 for that programming itch
Good Morning
Jarrod Bell
Principal of Technology

This lesson was first used with the #sd60
Middle School Gifted class. It ran around 3
hours with an hour of discovery time
included.
PBJ
Explain to the person to your left, how you
would make a peanut butter and jam
sandwich.

Mr. Bell, what does this have to do with
computer programming!?
PBJ
Open up TextEdit/Word etc
Write a series of instructions for your robot to
create a peanut butter and jam sandwich.
You have the following variables
● A Loaf of Sliced Bread in a Bag
● 1L Jar of Peanut Butter
● 500mL Jar of Strawberry Jam
● A Knife
● A Plate
PBJ
What assumptions have you made about
your robot?
● Can it identify the items
● Does it know how to pick up the knife,
  open the jars, bag etc
● Did you have it open the bag, jars, explain
  where to put the knife in etc.
● Discuss your instructions and where your
  robot wouldn't know what to do
● Computer programs are only as good as
  our instructions
Scratch
● Free Software Developed by MIT
● Follows in the footsteps of Squeak,
  SmallTalk-80
● LOGO programming language by
  Seymour Papert - developed on the work
  of Jean Piaget
● http://scratch.mit.edu
● Unlike our robot, Scratch has been taught
  how to do many things already (libraries,
  pre built instructions)
Coordinate Plane & Angles
x-y
0,0 is the centre
Angles are in Degrees
0 Degrees is up
-180 Degrees is down
-90 Degrees is left
90 Degrees is right
Look around
Show and tell on the major parts of the
Scratch program, stage, scripts, costumes,
editor, programming blocks etc.
Change Costumes and Motion
● Example with the cat walking and
  changing costumes
● Wall and how to bounce
Sound
Make some noise!
Music and Sound examples in section 5, and
2 at http://elem.prn.bc.ca/course/view.php?
id=9
Variable
Run up the score!
● add in another sprite
● increment a variable if the cat touches the
  new sprite
● Say something when the score reaches a
  value
Discover


● One Character Moving
● Two Characters Moving and increment
  score if they touch
● Keyboard Control for One Character,
  Avoid the other moving character
  (Asteroids example from Scratch website
  http://scratch.mit.
  edu/projects/SonicPopsDad/245563)
● Music
● Maze Game
Challenge - One Player Pong

Three Sprites (paddle, ball, goal)
Play against Wall
Angle of Incidence and Reflection
Speed
Counter

How could you create One player vs
Computer so that the computer could miss?




Photo Attribution: http://www.fotopedia.com/items/flickr-66495468
Resources


http://scratch.mit.edu
http://wiki.scratch.mit.edu/wiki/Main_Page

Weitere ähnliche Inhalte

Ähnlich wie Scratch middle school gifted

Approaches to teaching primary computing
Approaches to teaching primary computingApproaches to teaching primary computing
Approaches to teaching primary computingJEcomputing
 
Coding Dojo: Mars Rover (2014)
Coding Dojo: Mars Rover (2014)Coding Dojo: Mars Rover (2014)
Coding Dojo: Mars Rover (2014)Peter Kofler
 
Coding io1-materials for teachers
Coding io1-materials for teachersCoding io1-materials for teachers
Coding io1-materials for teachersGeorgeta Manafu
 
Class #1: Introduction
Class #1: IntroductionClass #1: Introduction
Class #1: IntroductionAngela DeHart
 
VRDC 2016 Talk: Kite & Lightning's VR Production Workflow
VRDC 2016 Talk: Kite & Lightning's VR Production WorkflowVRDC 2016 Talk: Kite & Lightning's VR Production Workflow
VRDC 2016 Talk: Kite & Lightning's VR Production WorkflowIkrima Elhassan
 
The NXT Step - Assessing with Lego Robots
The NXT Step - Assessing with Lego RobotsThe NXT Step - Assessing with Lego Robots
The NXT Step - Assessing with Lego RobotsKenji Lamb
 
Progression in programming with Scratch
Progression in programming with Scratch Progression in programming with Scratch
Progression in programming with Scratch JEcomputing
 
Lego Robotics(Programming)
Lego Robotics(Programming)Lego Robotics(Programming)
Lego Robotics(Programming)slewell
 
Interview questions slide deck
Interview questions slide deckInterview questions slide deck
Interview questions slide deckMikeBegley
 
Computing basics
Computing basicsComputing basics
Computing basicsluke32
 
Mastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsMastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsRuth Marvin
 
Think Like a Programmer
Think Like a ProgrammerThink Like a Programmer
Think Like a Programmerdaoswald
 
Coding Unplugged_Focus on problem solvin
Coding Unplugged_Focus on problem solvinCoding Unplugged_Focus on problem solvin
Coding Unplugged_Focus on problem solvinEnkelejdaMica1
 
Scratch for kids language in Program.pptx
Scratch for kids language in Program.pptxScratch for kids language in Program.pptx
Scratch for kids language in Program.pptxnandhinicse147
 

Ähnlich wie Scratch middle school gifted (20)

Approaches to teaching primary computing
Approaches to teaching primary computingApproaches to teaching primary computing
Approaches to teaching primary computing
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Dodo does-math
Dodo does-mathDodo does-math
Dodo does-math
 
Coding Dojo: Mars Rover (2014)
Coding Dojo: Mars Rover (2014)Coding Dojo: Mars Rover (2014)
Coding Dojo: Mars Rover (2014)
 
Coding io1-materials for teachers
Coding io1-materials for teachersCoding io1-materials for teachers
Coding io1-materials for teachers
 
Intro to Coding Pt 2
Intro to Coding Pt 2Intro to Coding Pt 2
Intro to Coding Pt 2
 
Class #1: Introduction
Class #1: IntroductionClass #1: Introduction
Class #1: Introduction
 
VRDC 2016 Talk: Kite & Lightning's VR Production Workflow
VRDC 2016 Talk: Kite & Lightning's VR Production WorkflowVRDC 2016 Talk: Kite & Lightning's VR Production Workflow
VRDC 2016 Talk: Kite & Lightning's VR Production Workflow
 
The NXT Step - Assessing with Lego Robots
The NXT Step - Assessing with Lego RobotsThe NXT Step - Assessing with Lego Robots
The NXT Step - Assessing with Lego Robots
 
Progression in programming with Scratch
Progression in programming with Scratch Progression in programming with Scratch
Progression in programming with Scratch
 
Lego Robotics(Programming)
Lego Robotics(Programming)Lego Robotics(Programming)
Lego Robotics(Programming)
 
Scratch Programming
Scratch ProgrammingScratch Programming
Scratch Programming
 
Interview questions slide deck
Interview questions slide deckInterview questions slide deck
Interview questions slide deck
 
Computing basics
Computing basicsComputing basics
Computing basics
 
Mastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsMastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loops
 
Think Like a Programmer
Think Like a ProgrammerThink Like a Programmer
Think Like a Programmer
 
Coding Unplugged_Focus on problem solvin
Coding Unplugged_Focus on problem solvinCoding Unplugged_Focus on problem solvin
Coding Unplugged_Focus on problem solvin
 
Scratch for kids language in Program.pptx
Scratch for kids language in Program.pptxScratch for kids language in Program.pptx
Scratch for kids language in Program.pptx
 
Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It! Learn to Code and Have Fun Doing It!
Learn to Code and Have Fun Doing It!
 
Go lang
Go langGo lang
Go lang
 

Mehr von School District 60: Peace River North (7)

It4k12 wordpress
It4k12 wordpressIt4k12 wordpress
It4k12 wordpress
 
Futures wheel - Inquiry question for BYOD
Futures wheel - Inquiry question for BYODFutures wheel - Inquiry question for BYOD
Futures wheel - Inquiry question for BYOD
 
Futures wheel - Inquiry question about Bring Your Own Device
Futures wheel - Inquiry question about Bring Your Own DeviceFutures wheel - Inquiry question about Bring Your Own Device
Futures wheel - Inquiry question about Bring Your Own Device
 
Technology Services Planning Day
Technology Services Planning DayTechnology Services Planning Day
Technology Services Planning Day
 
Web Literacy
Web LiteracyWeb Literacy
Web Literacy
 
Six Word Story, Six Words, One Picture: Writing Strategy
Six Word Story, Six Words, One Picture: Writing StrategySix Word Story, Six Words, One Picture: Writing Strategy
Six Word Story, Six Words, One Picture: Writing Strategy
 
Supervision of Learning - Literacy
Supervision of Learning - LiteracySupervision of Learning - Literacy
Supervision of Learning - Literacy
 

Scratch middle school gifted

  • 1. Scratch for that programming itch
  • 2. Good Morning Jarrod Bell Principal of Technology This lesson was first used with the #sd60 Middle School Gifted class. It ran around 3 hours with an hour of discovery time included.
  • 3. PBJ Explain to the person to your left, how you would make a peanut butter and jam sandwich. Mr. Bell, what does this have to do with computer programming!?
  • 4. PBJ Open up TextEdit/Word etc Write a series of instructions for your robot to create a peanut butter and jam sandwich. You have the following variables ● A Loaf of Sliced Bread in a Bag ● 1L Jar of Peanut Butter ● 500mL Jar of Strawberry Jam ● A Knife ● A Plate
  • 5. PBJ What assumptions have you made about your robot? ● Can it identify the items ● Does it know how to pick up the knife, open the jars, bag etc ● Did you have it open the bag, jars, explain where to put the knife in etc. ● Discuss your instructions and where your robot wouldn't know what to do ● Computer programs are only as good as our instructions
  • 6. Scratch ● Free Software Developed by MIT ● Follows in the footsteps of Squeak, SmallTalk-80 ● LOGO programming language by Seymour Papert - developed on the work of Jean Piaget ● http://scratch.mit.edu ● Unlike our robot, Scratch has been taught how to do many things already (libraries, pre built instructions)
  • 7. Coordinate Plane & Angles x-y 0,0 is the centre Angles are in Degrees 0 Degrees is up -180 Degrees is down -90 Degrees is left 90 Degrees is right
  • 8. Look around Show and tell on the major parts of the Scratch program, stage, scripts, costumes, editor, programming blocks etc.
  • 9. Change Costumes and Motion ● Example with the cat walking and changing costumes ● Wall and how to bounce
  • 10. Sound Make some noise! Music and Sound examples in section 5, and 2 at http://elem.prn.bc.ca/course/view.php? id=9
  • 11. Variable Run up the score! ● add in another sprite ● increment a variable if the cat touches the new sprite ● Say something when the score reaches a value
  • 12. Discover ● One Character Moving ● Two Characters Moving and increment score if they touch ● Keyboard Control for One Character, Avoid the other moving character (Asteroids example from Scratch website http://scratch.mit. edu/projects/SonicPopsDad/245563) ● Music ● Maze Game
  • 13. Challenge - One Player Pong Three Sprites (paddle, ball, goal) Play against Wall Angle of Incidence and Reflection Speed Counter How could you create One player vs Computer so that the computer could miss? Photo Attribution: http://www.fotopedia.com/items/flickr-66495468