<-Back
*If your students have prior experience with Scratch, this lesson may not be necessary. For younger students, you may want to start with an activity like the Hour of Code from code.org, which introduces them to drag-and-drop programming.
Key Outcomes:
Use Scratch to learn fundamental programming skills that will be used later when working with the Arduino platform
Using a button as an input device
Establishing setup commands that reset conditions when the program restarts
Using a delay/wait command to manipulate the timing of events
Setting up a loop to efficiently program a repeated set of actions
Creating a variable to represent a number, so that its value can easily be changed without rewriting several lines of code
Creating a variable to keep "score" during an event, so that decisions can be based on its value
Using "if..." and "if... else..." statements to allow an algorithm to "think," producing different outputs depending on the conditions that the program receives from its sensors
Assessment:
Check on students' basic programming skills with this Programming Challenges Review and Answer Key.
Process:
This video provides an overview of the Scratch platform, how to create projects and build programs, and where to get more information to help you know what to do.
It also introduces the Scratch challenges featured in the slideshow below. The 10 tasks take students through a progression of new skills and build from one to the next.
Self-paced students can access the Scratch Challenges slideshow at http://bit.ly/agacsscratch and follow the instructions to open the Scratch project and get started.
Challenges #1-7 are each introduced with 2 slides. The first is a video demonstrating what the successful program should do, followed by a slide that gives a hint, showing a vital programming block to use.
Challenges #8, 9, and 10 include extra explanation slides to teach more difficult programming concepts.
*Teaching strategy suggestions:
Have students draw a flow chart for each challenge, using the correct diagram shapes for each step. Grade/stamp/sign the flow charts as students show you their successful programs before they move on to the next one.
Solutions to #1-7 and #8-10 are included on the final 2 slides of the slideshow