Computational Thinking: Magical Book Magic

Explore a magic trick based on an intriguing computational property about words. Turn Macbeth, The Wizard of Oz, The Cat in the Hat (or some other book of your choice) into both reading fun and computational fun.

“I don’t think reading a book is ever again going to be quite the same experience.”

– audience member after seeing the trick

Computational Thinking: Magical Book Magic is a booklet that teaches you a simple magical property of books to use as a magic trick, to explain what computational thinking is all about. The focus is on the importance of thorough testing, double checking and attention to detail, Along the way it also looks at some major software disasters and introduces the idea of hazard analysis. It is written by Paul Curzon and Peter McOwan of Queen Mary University of London based on the cs4fn approach.

  • You take a book that involves Witches or Wizards, Macbeth for example, and demonstrate how magic has seeped into the words of such books over the ages. The volunteer picks a word from the start of the book and then, letting the book itself direct them, they end up with the word that no one could have possibly known, but that you predicted at the outset having hidden the prediction in an envelope that they have held all along.
  • In exploring how the magic works, you learn about computational thinking: especially the importance of evaluation to algorithmic thinking. You explore both testing and hazard analysis.
  • The magic trick shows how computer scientists, engineers (and magicians) have to check their algorithms thoroughly. They must think carefully about how things might go wrong as well as checking they will go right.

More of our resources, including linked classroom activities can be found in our resources section.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s