{"id":10626,"date":"2014-12-04T15:30:39","date_gmt":"2014-12-04T15:30:39","guid":{"rendered":"http:\/\/www.raspberrypi.org\/?p=10626"},"modified":"2021-09-19T00:18:44","modified_gmt":"2021-09-18T23:18:44","slug":"hour-of-code-dec-2014","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/hour-of-code-dec-2014\/","title":{"rendered":"Take part in the Hour of Code"},"content":{"rendered":"

At Raspberry Pi Towers, our magical helper elves* have been working around the clock to bring you some fantastically festive Hour of Code activities.<\/p>\n

The Hour of Code is an idea launched in 2013 by Code.org<\/a> – a non-profit organisation dedicated to expanding participation in Computer Science by making it available in more schools. Their\u00a0vision is very similar to our own at Raspberry Pi:<\/p>\n

Every student in every school should have the opportunity to learn computer science.<\/p><\/blockquote>\n

To help support this initiative we have created a bumper pack of activities<\/a> for beginners, and for those ready for something a little more challenging – and they\u00a0can all be achieved in an hour.<\/p>\n

\"HOC_Logo_200px\"<\/a><\/p>\n

There\u2019s something for all ages and abilities in our tasty selection box, including quizzes, spinny flowers, Santa detectors, musical delights and even snowflake design. Put an hour aside, pull up a Raspberry Pi and tuck in!<\/p>\n

Clive’s Santa Detector<\/a><\/h4>\n

\"santa-icon\"No more propping your eyes open with matchsticks to try and catch Santa! This Scratch program uses a low-cost infra-red detector to set off an alarm when Santa sneaks into your room. It’s a great introduction to using simple sensors on the Raspberry Pi and can be adapted to lots of different projects.<\/p>\n

Ben and Rachel’s Raspberry Pi Music Box<\/a><\/h4>\n

\"Arcade_Button_Group_grande\"<\/a>Trigger some sounds using buttons and the GPIO pins on a Raspberry Pi. In this activity you learn how to wire up a series of buttons to your Raspberry Pi GPIO pins and program them with Python to play particular sounds when pressed.<\/p>\n

Les Pounder’s Kids Ruby Quiz<\/a><\/h4>\n

\"kids-ruby\"<\/a>Ruby is an easy to learn language that was created in the late 1990s by Yukihiro “Matz” Matsumoto as a general-purpose programming language. It is the language that is used to create music in Sonic Pi. In this activity, you create a quiz using a special application called Kids Ruby.<\/p>\n

Simon Johnson’s Sorting Hat Lesson Plan<\/a><\/h4>\n

\"setup-pibrella\"<\/a>Raspberry Pi Certified Educator Simon Johnson has created a lesson plan for teachers based on his Picademy team project, the Sorting Hat! \u00a0In this lesson, students create a Raspberry Pi-powered Harry Potter-style Sorting Hat, using the button on a Pibrella add-on board.<\/p>\n

Carrie Anne’s Snowflakes<\/a><\/h4>\n

Draw snowflakes with code using Python Turtle. Great fun, and a fab\u00a0way to start learning how to code with Python. In this activity\u00a0you learn how to use a sequence of instructions to make shapes, how to use loops to repeat instructions, and how to store information in variables.<\/p>\n