Coding Activities for Young Learners

Teaching students the concepts of coding is such an important skill in today’s world. Teaching even our youngest learners these concepts is easier than one might think. To put it in the most simple of terms, coding is instructions given in order to complete a task. We use coding concepts in our daily lives without even thinking about it! We create daily schedules for students to follow, we lay out steps in projects, and we break down problems into smaller pieces, which is the skill of computational thinking.

I love the Code and Go Mouse from Learning Resources because of it’s simplistic design and ease of use. Kids love using the mouse and it’s fun to think of a variety of ways to integrate content curriculum with the mouse. I purchased mine on Amazon. You can’t beat that price, especially if you are low on technology resources.

One really fun way to use the mice is to build mazes on your floors with painter’s tape and build in obstacles that would block the mouse from moving further, which allows students to have to think about how they will get around that particular barrier. In this case, I created coding mats using Keynote on my Mac and then blew them up on our school poster maker. It’s important to make the squares 5″x5″ because the mouse travels a total of 5″ when it moves. Creating the squares to go the same distance really helps students visually understand how many forward spaces they need to travel.

Getting Started

To get started, talk to the students about what they know about coding. Talk about how coding is basically following a set of instructions (algorithm). They use these computational thinking skills when they get dressed in the morning, when they get ready for bed, when they make a sandwich, etc. Next, show students the coding cards (these come with the mouse). Those cards are the code they will follow when they program the mouse. Finally, introduce the mouse. We named our mouse Jack. Talk about how the buttons work and how they function. I usually show with a partner how the mouse works and I write an incorrect code so that we can demonstrate the process of de-bugging to find out where we might have made a mistake and then we try again.

Some additional tips:

  • I put students in groups of 4. Each student has a role for one round and then they pass the necklace with their role title to the right. This ensures each child has a turn to do each job. That being said, this is a collaborative project and they need to work together to create the code to get the mouse to where they want to go. They have to break down the problem with the coding cards (these come with the mouse). The roles: Object Chooser, Code Writer (programmer), Code Tester (button pusher), and Code De-Bugger. I put the cards on lanyards and have the students wear these. This really is a must because all of the kids want to push the buttons. 🙂
  • Rotate the mats so each group has a chance to use all 4 mats.
  • Use some type of marker (blocks work great here) to designate what object they are coding to get to.
Coding roles so each child has a job during the process.

Download Resources:

Happy Coding!

The Key(note) to Coding Version 2

There is a misconception when it comes to thinking about coding; some think it’s only for computer programmers and others think it’s too difficult. To put it simply, coding is giving a set of instructions to the computer to create an action. In this post, I will give the instructions that were in my first publication of this idea from my iTunes U Course (2015) as well as some fun updates! This project combines coding concepts and encourages students to understand basic coding concepts in ways that also spark their creativity. Students will use Keynote to create pictures out of basic shapes and learn the variety of ways to format shapes while taking note of the shape’s placement, size, color, and rotation. Once the picture is complete, students will write all of the “code” so that another student can replicate their picture. It would be very difficult to teach someone how to recreate a particular shape with precise measurements, but when given the exact “code” students are able to follow it and replicate the picture with ease. In addition to coding skills, students learn vocabulary for working and manipulating shapes, such as arrange, flip, size, position, and rotation. It’s perfect as a stand alone project targeting STEM or within your geometry unit as you discuss variations of shapes. This is designed for Mac OS because of the advanced tools in Keynote, however, students can use this idea as a guide for building and creating pictures with basic shapes on an iOS device as well. This is a great time to teach kids the design process and utilizing an engineering mindset as they will make mistakes, but through testing their codes, they will go back and refine and improve their code so that it’s just right for replication!

In my original iTunes U Course, I had students create tangram shapes. However, I didn’t want to limit students to just creating tangrams, so I changed this so students can create pictures of anything with basic shapes. This allows for a deeper level creativity. It is easier for students if they create pictures with 7 or less basic shapes as this helps with time creating the code as well as completing a partner’s code.

Before you get started, you will need to add a third party tool for the color picker. This will allow you to be specific with the colors and students will add the HTML Hex RGB #. With this option, students can be creative with colors they choose for their pictures. It is important to note that students should use solid colors only, no gradient or image fills for shapes.

Here are the steps:

Step 1:

Using basic shapes, create a picture (train, car, house, anything…be creative). Once the picture is complete, “Select All” and move the picture to one side of the screen to leave room for the code you will create. *Important note: The size of the slide is important. For this project, I’d recommend all students use the same standard slide size.

Step 2:

Use this PDF to print or distribute through Google Classroom. In Keynote, students will click on the Format (paintbrush) tool and then the Arrange tool. This is where they will note the shape, size, position, rotation, and color of each individual shape. I think if a student focuses on writing the code for each individual shape, then it’s easier to keep track of when writing the code on their Keynote slide. I prefer to have students handwrite the code and then transfer that to the slide, as it creates less errors. Since precision is so important, it’s a good step in the process.

Step 3:

Insert a square and create a larger rectangle on the Keynote slide to type in the code. *Note: Type out the required elements once, and copy and paste to save time.

Step 4:

Once you are finished with your picture and you’ve typed out the code, export slide as an image. Upload to a shared photo album (Photos, Google Drive, Google Photos, comemories.com). Once students have a partner, they can download their partner’s code and start the process of creating their picture based off the code of their partner. Remind students to take notes if they have to “debug” the code as this is good feedback for the creator.

Remind students that they need to be exact, specific, concise, and pay close attention to detail.

Step 5:

Once students successfully or unsuccessfully complete the code, have them complete a reflection for their partner. You can download the reflection here.

Happy creating! This has always been one of my favorite projects!

Swift Playgrounds: Learn to Code 1 & 2 Vocab Cards

 

coding vocab.001“Everyone should learn how to program a computer because it teaches you how to think.”–Steve Jobs

Swift Playgrounds is an amazing app developed by Apple that can teach anyone the concepts of coding. The great part is that you don’t need any prior experience before diving in…I promise! 😀 As a teacher and professional development leader, I absolutely LOVE that Apple has given us many resources to be able to teach this to our students because it’s true…EVERYONE CAN CODE!

So…What is Swift?

Swift is a coding language meant to be easy to use so that anyone can learn coding and app development. Some of the world’s most popular apps were created in Swift.

So…What is Swift Playgrounds?

Swift Playgrounds is fun, engaging, and interactive. In Swift Playgrounds, students use real code to solve puzzles and interact with characters.  To explore more complex coding concepts, there are lots of challenges for which to build skills. Finally, students can make their codes come to life by programming robots and drones. Talk about cool!

Learn to Code 1 & 2 in Swift Playgrounds

Learn how to code in a fun 3D world with your new pal, Byte! At first, students will guide Byte through the 3D world and then they will move on to more advanced lessons. I love the teacher guides that come along with this because it lays out for you the lessons to teach coding concepts so there is a clear connection between real life and the code they use within the app. After all, coding is following a set of commands or instructions to accomplish a goal. In this case, it’s to get Byte through the 3D world.

Coding Vocabulary (aka: Coding Lingo) 😀

The vocabulary used to understand code can be tricky at first. I find it helpful to really have students learn the vocabulary so that they understand the concepts one needs to fully understand the code they are writing. This also allows students to build on each skill as they go through the lessons. I created vocabulary cards that go with the teacher guides for Learn to Code 1 & 2. Learn to Code 3 will be coming soon. I created these cards to print and display on the wall space in my room. Students can refer back to the vocabulary as they complete each lesson. Additionally, I created a Quizlet with the same vocabulary words for students to practice. I created these for my students and I thought yours would equally benefit! Hope they help you out! The only thing left is to get out there and get started!

Click Swift Playgrounds to download the vocabulary cards.

Click here for the Quizlet link.

Resources from Apple:

 

 

 

 

The Key(note) to Coding

Key(note) to Coding

I am a huge fan of Keynote, both on iOS and OS X devices. I love the versatility in this tool. I enjoy using Keynote to demonstrate how this application goes way beyond a tool for presentations. When a tool constantly amazes you and allows you to learn over and over again, it becomes one of those that you cannot live without! Keynote is that tool for me and I love uncovering new ways to bring learning to life with the use of a technology tool such as Keynote!

I am really excited to share with you all that my iTunes U course called The Key(note) to Coding is now live in the iTunes U store! You can access the course by clicking here. Here is the introduction from the course:

There is a misconception when it comes to thinking about coding; some think it’s only for computer programmers and others think it’s too difficult. While we all weren’t created to be professional coders, we can encourage kids to understand the basic premise of coding. To put it simply, coding is giving a set of instructions to the computer to create an action. In this course, you will learn how to create a project with your students by using Keynote to create tangram shapes and learn the variety of ways to format shapes while taking note of the shape’s placement, size, and rotation. Once the tangram is complete, students will write all of the “code” so that another student can replicate their tangram. It would be very difficult to teach someone how to recreate a particular shape with precise measurements, but when given the exact “code” students are able to follow it and replicate the tangram with ease. In addition to coding skills, this project helps students develop positive feelings about geometry as they classify and short shapes. In addition, students learn vocabulary for working and manipulating shapes, such as arrange, flip, size, position, and rotation. It’s perfect as a stand alone project targeting STEM or within your geometry unit. This course is designed for the Mac because of the advanced tools in Keynote, however, students can use this course as a guide for building and creating tangrams on an iOS device as well. This course is geared for grades second and beyond, but can most certainly be modified for even younger students. Have fun as you learn the Key(note) to coding!

Hope you’ll download it and give me your feedback! I’d love it if people tried creating codes and shared them with others to try!