scratch middle school gifted
TRANSCRIPT
![Page 1: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/1.jpg)
Scratchfor that programming itch
![Page 2: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/2.jpg)
Jarrod BellPrincipal 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.
Good Morning
![Page 3: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/3.jpg)
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
![Page 4: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/4.jpg)
Open up TextEdit/Word etcWrite 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
![Page 5: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/5.jpg)
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
PBJ
![Page 6: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/6.jpg)
● 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)
Scratch
![Page 7: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/7.jpg)
x-y0,0 is the centreAngles are in Degrees 0 Degrees is up-180 Degrees is down-90 Degrees is left90 Degrees is right
Coordinate Plane & Angles
![Page 8: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/8.jpg)
Show and tell on the major parts of the Scratch program, stage, scripts, costumes, editor, programming blocks etc.
Look around
![Page 9: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/9.jpg)
● Example with the cat walking and changing costumes
● Wall and how to bounce
Change Costumes and Motion
![Page 10: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/10.jpg)
Make some noise!Music and Sound examples in section 5, and 2 at http://elem.prn.bc.ca/course/view.php?id=9
Sound
![Page 11: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/11.jpg)
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
Variable
![Page 12: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/12.jpg)
● 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
Discover
![Page 13: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/13.jpg)
Photo Attribution: http://www.fotopedia.com/items/flickr-66495468
Challenge - One Player Pong
Three Sprites (paddle, ball, goal)Play against WallAngle of Incidence and ReflectionSpeedCounter
How could you create One player vs Computer so that the computer could miss?
![Page 14: Scratch middle school gifted](https://reader037.vdocuments.us/reader037/viewer/2022100604/559871ee1a28aba72e8b45b8/html5/thumbnails/14.jpg)
http://scratch.mit.eduhttp://wiki.scratch.mit.edu/wiki/Main_Page
Resources