Today, I’d like you to do some research into the life of Alan Turing. Last week, in preparation for this, we had a look at the Google Doodle based on a Turing machine and explored some simple cryptography.
Have a read and answer the questions on the sheet.
I thought you might like to be able to chat online to each other in this lesson. Have you used swiftirc before? Click the link, pick a nickname and put #9b2 in the “Channel” box. Simples.
Scratch / Bubble Sort
If you complete that, there are a couple of programming exercises you can work on.
The easiest is to learn about Bubble Sort and try out this Scratch version. This will show you one way that computers sort lists of numbers.
Python and Pygame
If you look at the code, you’ll see how easy it is to use sound in Python and make keys do things (in this one, we use the arrow keys to move the ball). I’d like you to experiment with modifying this game – for instance you could add some different sounds and make some keys do other things (can you make a key play the sound, for instance).
If you are experimenting with this, you might find the Pygame homepage useful.
The Raspberry Pi foundation has announced the first of their programming competitions. They especially like games. I wonder if any of you will enter?