Schlagwort: hour of code

  • Take part in the Hour of Code

    Take part in the Hour of Code

    Reading Time: 5 minutes

    Launched in 2013, Hour of Code is an initiative to introduce young people to computer science using fun one-hour tutorials. To date, over 100 million young people have completed an hour of code with it.

    A girl doing a physical computing project.

    Although the Hour of Code website is accessible all year round, every December for Computer Science Education Week people worldwide run their own Hour of Code events. Each year we love seeing many Code Clubs, CoderDojos, and young people at home across the community complete their Hour of Code. You can register your 2022 Hour of Code event now to run between 5 and 11 December.

    To support your event, we have pulled together a bumper set of our free coding projects, which can each be completed in just one hour. You will find these activities on the Hour of Code website.

    Two young digital makers using Raspberry Pi

    There’s something for all ages and levels of experience, so put an hour aside and help young people make something fabulous with code:

    Ages 7–11

    Beginner

    For younger creators new to coding, a Scratch project is a great place to start.

    alt=""

    With our Space talk project, they can create a space scene with characters that ‘emote’ to share their thoughts or feelings using sounds, colours, and actions. Creators program the character emotes using Scratch blocks to control graphic effects, costume animation, and sound effects.

    Alternatively, our Stress ball project lets them code an onscreen stress ball that reacts to user clicks. Creators use the Paint and Sound editors in Scratch to personalise a clickable stress ball, and they add Scratch blocks to control graphic effects, costume animation, and sound effects.

    We love this fun stress ball example sent to us recently by young creator April from the United States:

    Another great option is to use Code Club World, which is a free tool to help children who are new to coding.

    Creators can develop a character avatar, design a T-shirt, make some music, and more.

    Comfortable

    For 7- to 11-year-olds who are more comfortable with block-based coding, our project Broadcasting spells is ideal to choose. With the project, they connect Scratch blocks to code a wand that casts spells turning sprites into toads, and growing and shrinking them. Creators use broadcast blocks to transform multiple sprites at once, and they create sound effects with the Sound editor in Scratch.

    alt=""

    Ages 11–14

    Beginner

    We have three exciting projects for trying text-based coding during Hour of Code in this category. The first, Anime expressions, is one of our brand-new ‘Introduction to web development’ projects. With this project, young people create a responsive webpage with text and images for an anime drawing tutorial. They write HTML to structure the webpage and CSS styles to apply layout, colour palettes, and fonts.

    For a great introduction to coding with Python, we have the project Hello world from our ‘Introduction to Python’ path. With this project, creators write Python text-based code to create an interactive program that shows text and emojis based on user input. They learn about variables as they use them to store text and numbers, and they learn about writing functions to organise code and do calculations, retrieve the current date and time, and make a customisable dice.

    alt=""

    LED firefly is a fantastic physical making project in which young people use a Raspberry Pi Pico microcontroller and basic electronic components to create a blinking LED firefly. They program the LED’s light patterns with MicroPython code and activate it via a switch they make themselves using jumper wires.

    A blinking LED with paper wings.

    Comfortable

    For 11- to 14-year-olds who are already comfortable with HTML, the Flip treat webcards project is a fun option. With this, they create a webpage showing a set of cards that flip when a visitor’s mouse pointer hovers over them. Creators use CSS styling and animations to add interactivity, then they customise the cards with fancy fonts and colour gradients.

    Young people who have already done some Python coding can try out our project Target practice. With this project they create a game, using the p5 graphics library to draw a colourful target, and writing code so that the player scores points by hitting the target’s rings with arrows. While they create the project, they learn about RGB colours, shape positioning with x and y coordinates, and decisions using if, else-if, and else code statements.

    Ages 14+

    Beginner

    Our project Charting champions is a great introduction to data visualisation and analysis for coders aged 15 and older. With the project, they will discover the power of the Python programming language as they store Olympic medal data in lists and use the pygal library to create an interactive chart.

    alt=""

    Comfortable

    Teenage coders who feel comfortable with Python programming can use our project Solar system simulator to code an animated, interactive solar system model using the Python p5 graphics library. Their model will be interactive, as they’ll use dictionaries to store planet facts that display when a user clicks on an orbiting planet.

    Coding for Hour of Code and beyond

    Now is the time to register your Hour of Code event, then decide which project you’d like to support young people to create. You can download certificates for each of the creators from the Hour of Code certificates page.

    And make sure to check out our project paths so you know what projects you can help the young people you support to code beyond this one hour of code.

    We don’t just create activities so that other people can experience coding and digital making — we also get involved ourselves!

    Two members of the Code Club working at computers.

    Recently, our teams who support the Code Club and CoderDojo networks got together to make LED fireflies. We are excited to get coding again as part of Hour of Code and Computer Science Education Week.

    Website: LINK

  • Take part in Hour of Code 2018

    Take part in Hour of Code 2018

    Reading Time: 3 minutes

    Every year for the last five years, Hour of Code has encouraged school students to spend just one hour writing some code, in the hope that they get bitten by the bug rather than generating too many bugs! This year, you can find activities from the Raspberry Pi Foundation, Code Club, and CoderDojo on the official Hour of Code website.

    Boat race

    Boat race, a Code Club resource, is a one-hour project aimed at beginners. It guides students to use Scratch to create a game in which the player uses their mouse to navigate a boat to a desert island without bumping into obstacles.

    Scratch can run in any browser, or directly from a Raspberry Pi, making it on of the easiest ways for students to get into coding for the Hour of Code.

    The Boat race resource is available in many languages, including Arabic, Simplified Chinese, Czech, Greek, Hebrew, and Ukrainian.

    Beginner Scratch Sushi Cards

    Again using Scratch, this CoderDojo project walks students through how to create a fish-catching game where the player controls a shark sprite.

    Astro Pi Mission Zero

    In in the Mission Zero project, students write a short Python program that checks the ambient temperature onboard the International Space Station, and leaves a message for the astronauts there!

    Students complete this Hour of Code challenge using the Trinket online Astro Pi simulator, and those based in an ESA Member or Associate States can submit their code to run onboard the ISS. They’ll even receive an official certificate showing where the ISS was when their code ran.

    A full list of ESA Member and Associate States can be found here.

    Us too!

    We don’t just create activities for other people to experience digital making and learning — we also get involved ourselves! Every month we host a maker day for our staff, where everyone can try out our digital making projects or even work on their own project. Our December maker day is during Hour of Code week, and we are going to make an extra-special effort and try to get as many staff members as possible coding!

    The educators at Raspberry Pi are fans of Seymour Papert’s constructionist learning philosophy — you can read his Mindstorms book in this free PDF — and the joy of learning through making isn’t just a thing for kids; adults get just as much positivity out of creating digital fart noises or animating crazed chickens to chase the Scratch cat. With the right support from our wide range of projects, anyone can make their own ideas a reality through coding — Senior Learning Manager Lauren, for example, got very excited about her Morrissey haiku project!

    Being able to code is creative; it lets you bring your idea to life, whether that’s something that could help millions of people or simply something you think would be cool.

    So, whether you’re an absolute beginner to coding or you’ve fixed so many bugs that your nickname is ‘The Exterminator’, what will YOU code this week?

    Website: LINK