Lesson 40: Computer Bugs & Debugging

Snack & Chat

I’ve got two new words for you today – Computer Bugs & Debugging. But before I explain these words, I want to tell you a story about  one of the very earliest computers and a very clever lady who wrote Computer Code. Do you remember what Code is? That’s right, a language for writing Programmes that the Computer can understand. This is Grace Hooper, and she wrote one of the first computer languages, called COBOL. When the computers didn’t work, they had to take a look at the machines and figure out what was going wrong. Sometimes it was a mistake in the Code, but sometimes it was something wrong with the machine. One day when Grace Hopper was figuring out why a computer programme wasn’t working, she discovered the problem: 1952_hopper-grace_large   There was a bug in the machine! And here it is, with her notes of all of the things she had been checking to find the problem; TheFirstComputer-Bug-MarkI-book-d3 Before 1944, electrical engineers already used the term “bug” to refer to hard-to-find physical problems that kept the machines  from working properly. The Mark I team used the word “bug”  for unexpected problems in the “coding” of a problem. Ever since then, Programming that doesn’t work is said to have a Computer Bug, and looking for the problem is called De-Bugging!

what are bugs

BBC – What are computer bugs: http://www.bbc.co.uk/guides/ztgjq6f

Now we’re going to do some de-bugging of our own.

We’re going to do some more Angry Bird puzzle games, but this time there is some code ready waiting for you. Accept it doesn’t work! Can you debug the code and find the problem? Can you fix it and help the Angry Bird catch the pig?


http://studio.code.org/s/course1/stage/5/puzzle/1   New Lego game to play: http://www.publishyourdesign.com/design Some Blockly games to play: https://blockly-games.appspot.co



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s