3. Coding & Computational
Thinking
Why
coding?
Maria Klawe
President, Harvey Mudd College
“Coding is today’s language of creativity. All our children deserve a chance to become creators instead
consumers of computer science.”
Bill Gates
Chairman, Microsoft
“Learning to write programs stretches your mind, and helps you think better, creates a way of thinking
about things that I think is helpful in all domains.“
Mitchel Resnick
LEGO Papert Professor of Learning Research and head of the Lifelong Kindergarten group at the MIT
Media Lab
“In the process of learning to code, people learn many other things. They are not just learning to code,
17. Projects
Project 1
10 Blocks
Think: What can you create with only 10 Scratch blocks? How creative
can you be when you can only use 10 different blocks?
Background: In this activity you will only be uses these 10 blocks:
http://www.youtube.com/watch?v=FyWF2Y_D_Uc
18. Projects
Debug-its
Project 2
Think: How can you troubleshoot a program when it doesn't work the way you
want it to? Can you debug a Scratch program?
Background: Debugging is an important skill to learn for any coding project. In
this activity, you will investigate what is going awry and find a solution.
•Debug-it 1 When the green flag is clicked, both Gobo and Scratch Cat should start
dancing. But only Scratch Cat starts dancing! How do we fix the program?
•Debug-it 2 In this project, when the green flag is clicked, the Scratch Cat should
start on the left side of the stage, say something about being on the left side, glide
to the right side of the stage, and say something about being on the right side. It
works the first time the green flag is clicked, but not again. How do we fix the
program?
•Debug-it 3 The Scratch Cat should do a flip when the space key is pressed. But
21. Resources
“Ultimately, what is needed is a shift
in mindsets, so that people begin to
see coding not only as a pathway to
good jobs, but as a new form of
expression and a new context for
learning.”
-Mitchel Resnick