BIG IDEA
Five sessions on Chromebooks or Raspberry PIs. Students play robot on a paper grid, draw shapes and stars with loops, make sprites talk to each other, build a catching game, and finish by switching a real LED on and off with blocks.
Sessions will use MIT University’s Scratch programming tool, MIT University’s Scratch programming tool, and rely a lot on its tutorials for instructions on use.
Project Sessions
#1 – Be the Robot: algorithms and bugs
A computer follows instructions exactly as written, in order. If one step is wrong, the program goes wrong, and finding that step is called debugging. Get started using Scratch, create/open your account, explore the graphical program editor and its program blocks. Learn about and create an algorithm for animation control. Steer a robot though a grid from start to end in the smallest number be of steps.
#2 – Do It Again: loops, shapes and stars
A loop repeats steps so you don’t have to write them over and over. To draw a closed shape, the sprite has to turn all the way around: 360 degrees in total.
#3 – When This Happens: events and stories
Programs wait for things to happen: a click, a key, a message. Each event can start its own script, and many scripts can run at the same time.
#4 – If, Then: decisions and keeping score
An if-block asks a yes-or-no question and runs its blocks only when the answer is yes. A variable remembers a number, like a score.
#5 – Code Meets Circuit: blocks that light an LED
A program can switch a computer’s pin on and off. Switched on, the pin pushes a little current through an LED. That’s how code reaches out of the screen.