Your SlideShare is downloading. ×
Scratch   middle school gifted
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Scratch middle school gifted

2,250
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,250
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Scratch for that programming itch
  • 2. Good MorningJarrod BellPrincipal of TechnologyThis lesson was first used with the #sd60Middle School Gifted class. It ran around 3hours with an hour of discovery timeincluded.
  • 3. PBJExplain to the person to your left, how youwould make a peanut butter and jamsandwich.Mr. Bell, what does this have to do withcomputer programming!?
  • 4. PBJOpen up TextEdit/Word etcWrite a series of instructions for your robot tocreate 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. PBJWhat assumptions have you made aboutyour 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 wouldnt 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 & Anglesx-y0,0 is the centreAngles are in Degrees0 Degrees is up-180 Degrees is down-90 Degrees is left90 Degrees is right
  • 8. Look aroundShow and tell on the major parts of theScratch 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. SoundMake some noise!Music and Sound examples in section 5, and2 at http://elem.prn.bc.ca/course/view.php?id=9
  • 11. VariableRun 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 PongThree Sprites (paddle, ball, goal)Play against WallAngle of Incidence and ReflectionSpeedCounterHow could you create One player vsComputer so that the computer could miss?Photo Attribution: http://www.fotopedia.com/items/flickr-66495468
  • 14. Resourceshttp://scratch.mit.eduhttp://wiki.scratch.mit.edu/wiki/Main_Page

×