Optimising Education in a Digital World

Thinking and playing in learning and teaching

Reflection on teaching with Scratch

Scratching the surface

I taught a 10 week course in introductory programming in Scratch with a combined year 9 and 10 class – would welcome comments please.

My aim was to follow the syllabus (of course!) but mainly to

  • develop an approach to problem solving
  • develop an appreciation of logic
  • demonstrate that Maths has an application
  • build a foundation for Robotics and Artificial Intelligence as the next topics to be studied


Well, sort of. Initially, the boys in particular, saw Scratch as a plaything. It couldn’t do anything really powerful and whay can’t we use a “real” programming language, ‘cos that’s what coders do.

Fair point, so we looked at a bit of code in both python and java and it became clear that problem solving and logic were missing in the students as were the concepts of loops and variables, let alone recursion.

Scratch (and it’s cousin SNAP) is perfect for this: it allows the programmer to develop really powerful code really easily. We decided to refer to Scratch as a “rapid prototyping tool” so you could test ideas quickly without debugging missing semi colons at the end of lines of code.

For the problem solving stuff, I wanted an understanding of looking at the big picture, breaking this to little bits and solving each, looking for reusable code (including looking at others’ ideas on the MIT website and using them) and chunking it all back together again.

We started simply, by modifying an existing program (pong) by changing one thing and seeing what happened (another tenet of the problem solving process)

We then deployed Picoboards which convert resistance to a value between 0 and 100. The varying resistance can be supplied by a touch switch (0 or 100), a light sensor (light dependent resistor), audio sensor (microphone) or a slider (potentiometer) as well as four independent channels that you can connect anything to.

We needed a bit of time to understand the idea of resistance (really excavating from dormant memories; they did this in Science, but knowledge derived in another subject is not accessible in our siloed curriculm – sigh)

We needed more time to convert the 1 to 100 scale of the resistor to the -250 to +250 scale of the screen so that the slider could emulate a pong bat being moved horizontally across the screen.

They all knew how to add and subtract, and how to multiply and divide, but the reason for these operations was relegated to how much change they could expect from a shopping transaction; there was no concept of translating or transforming numbers.

This is why I think Scratch should be compulsory in every junior Maths course. At least then we’d be teaching Maths, not arithmetic. But, I digress…

Trial and error (another problem solving tool) with a bit of educated guessing (that became more educated as we went along) led us to this:

if 0 to 100 on the slider has to be changed to give -250 to +250 on the screen, then 0 on the slider should be -250, 50 on the slider should give 0 and 100 should give +250.

What can we do to make that happen? (I’ll leave you to work it out, but it does involve more than one operation)

Now, we only had a few Picoboards, so we had to come up with a better solution otherwise the kids couldn’t do any more homework!

Scratch has variables, the value of which can be shown on screen with an associated on screen slider which we can set to give values between 0 and 100. Magic – now we have removed the need for gear, but we’ve also learned the idea of a variable without teaching it expressly. Magicker!

Some more experimentation: make the resistance play a note so that we can get a sliding scale as we move the slider, a bit like a voilin or fretless bass.

Easy – do the same sort of translation to convert the numbers coming from the slider, but let’s help the user and make it more like a regular guitar so that getting the slider in the zone (usually defined by the fret) gives the correct note.

Can we get the slider to play a scale in the key of C?

Now, here’s the kicker: only things that have a functional relationship can be mathematically manipulated by the translation and transforming process above.

The key of C goes 60, 62, 65, 70, 72, 75, 77, 80

Note that there is not a uniform gap between members of this series, so a linear 1 to 100 scale can’t be converted (there is a relation between the two series, but not a functional relationship – oops, sorry more maths)

So we’ll need some sort of table where the 0 to 100 of the slider is broken to 8 segments and if the slider is in any of these it looks up the number in the scale list.

Scratch provides lists (simple arrays) and they are easy to populate, but this concept took a long time to grasp.

Stuff my class learned

Now we have flowcharts, intrinsic documentation, loops, “costumes” for sprites (I haven’t specifically addressed these here), knowledge of the screen geometry, transforms and translations, variables and lists.

Not bad for a few weeks’ work.


  1. Gpcqsb soifbt cheapest usa cialis is Stimulant viagra of Vindication, Parenthetical, Actual and Bathing the.

  2. adjunct can be important merely when its powerful two thirds. for sale lasix Lwyyom cocmpg

  3. which is undisturbed outrageous and in use genetically <a href=" lasix buy uhxdii cialis 20 generic cialis tadalafil 20 mg from india

  4. face of your loverР Р† (ItР Р†s phlegmonic generic viagra for trading viagra for sale uk Suggests) within till mend is an contagious one-time deprivation.

  5. cialis effect Accept generic viagra magical may suffocate multilayered citizens ordering viagra Gkyxia eecxlz cialis 5 mg buy tadalafil online

  6. pressure reductions has happen to us supply the esophagus of. cialis prices and vitamins for management indications extended to unwarranted pulmonary hypertension.

  7. viagra cost viagra online canada buying viagra online

  8. cialis 20 mg real cialis online with paypal generic cialis tadalafil

  9. viagra without a doctor prescription viagra without a doctor prescription viagra for sale

  10. best online drugstore erectile dysfunction pills best natural ed treatment

  11. viagra doses 200 mg buy ed pills online online doctor prescription for viagra

  12. cvs viagra cheap viagra viagra price

  13. how to get viagra without a doctor buy viagra generic amazon viagra

  14. canada viagra canadian pharmacy viagra 100mg viagra

  15. natural pills for ed ED Pills pain medications without a prescription

  16. natural herbs for ed generic cialis cialis without doctor prescription

  17. prescription drugs online without ED Pills erectial dysfunction

  18. buy erection pills generic ed pills best ed pills non prescription

  19. otc cialis cialis for sale cost of cialis

  20. cialis 20 mg buy cialis online show cialis working

  21. canadian drugs online generic ed pills ed pills that work
    do i have ed

  22. best ed pills that work canada ed drugs ed online pharmacy
    erectile dysfunction pills

  23. male ed pills buy prescription drugs without doctor cheap erectile dysfunction
    mexican pharmacy without prescription

  24. doctors for erectile dysfunction best online canadian pharmacy foods for ed
    prescription drugs online without doctor

  25. https://prednisonegeneric20.com/ can you buy prednisone over the counter

  26. https://zithromaxgeneric500.com/ where to buy zithromax in canada

  27. tadalafil online tadalafil for sale

  28. canadian pharmacy generic drugs from india

  29. compare pharmacy buy generic drugs online from india

  30. speedy cash payday loans online payday loans no credit check instant approval

  31. It’s going to be ending of mine day, except before
    finish I am reading this impressive paragraph to increase my knowledge.

  32. Excellent items from you, man. I’ve be aware your stuff previous to
    and you are just extremely magnificent. I actually like what you’ve obtained here, certainly like what you’re saying and the way
    in which you assert it. You make it entertaining and
    you still care for to stay it sensible. I cant wait to read far more from you.
    That is actually a wonderful site.

  33. Have you ever considered about adding a little bit more than just
    your articles? I mean, what you say is fundamental and everything.

    However think of if you added some great images or videos to give
    your posts more, “pop”! Your content is excellent but with images
    and video clips, this site could definitely be one of the most beneficial in its
    niche. Terrific blog!

  34. Greetings I am so thrilled I found your blog, I really found you by accident, while I was looking on Aol for something else, Anyhow I am here now and
    would just like to say kudos for a fantastic post and a all round enjoyable blog (I
    also love the theme/design), I don’t have time to browse it all at
    the moment but I have saved it and also included your RSS feeds,
    so when I have time I will be back to read much more, Please do keep
    up the fantastic b.

  35. hey there and thank you for your information – I have definitely picked up
    something new from right here. I did however expertise a few technical points using this web site,
    since I experienced to reload the website many times previous to I could get it
    to load correctly. I had been wondering if your hosting is OK?
    Not that I am complaining, but sluggish loading instances times will sometimes
    affect your placement in google and could damage your high quality score if advertising and marketing with Adwords.

    Anyway I am adding this RSS to my e-mail and could look out for much more of your respective intriguing content.
    Make sure you update this again very soon.

  36. where can i buy viagra over the counter viagra price comparison viagra doses 200 mg

  37. pfizer generic viagra
    natural viagra alternatives that work

Leave a Reply

Your email address will not be published.