Coding is science. Chez Vivian made this important discovery and explained to me that the steps to coding are the same as the scientific method. You put forth a hypothesis, you test your hypothesis, formulate your discoveries and then come up with a new understanding. You try to create something in code. You test out your idea, it either works or doesn't and then you have a new understanding and can try a new hypothesis.
So what better way to incorporate coding into the classroom then in science. My students were studying electricity. They had already had a couple of lessons where they played around with various materials circuit materials. They had made several important discoveries and developed questions related to which materials would make a circuit work. Which was perfect because one of our lines of inquiry was:
I had the perfect tool to help students test this hypothesis, a MaKey MaKey. I bought a Makey Make over the summer because they looked awesome. I loved the potential they had for creativity. Basically it works by plugging it into the computer and then attaching the crocodile clip to a conductor. That conductor then acts as the controls for a computer. So for example if you clipped the Makey Makey to a paper clip, every time you touched the paper clip you could have it act as the space bar.
The MaKey Makey was perfect for my science lesson because it basically is a circuit which controls the computer. If it is hooked to a conductor it will control the computer. If it is hooked up to an insulator it won't work. My students had predicted what would conduct and what wouldn't. They then gathered various materials around the room to test. For example one group of students chose paper clips, pencils, a stuffed animal, an eraser, water, and a whiteboard marker.
They then hooked up the Makey Makey, wrote a very basic program in Scratch and tested to see which objects made their program work. In this example the group wrote a program where if you press the space key, the cat turns 15 degrees. But what really happened is the character turned when the student touched a paper clip but he stood still when the student touched a pencil. As the students tested various materials they kept track of their findings. They were super engaged and in the end they had a great understanding of what a conductor and insulator were.
They also had the chance to make some basic programs in Scratch. I did this as a whole grade 5 rotation so for many students, this was their first time using Scratch. I loved that the kids got to dabble in what could be possible with Makey Makey and coding. I really hope to give them more time to design and create something really cool with it such as a Powerpad style pong game or a piano like the one from the movie "Big". Their are all sorts of possibilities. And as the kids work on creating some of those possibilities the scientific method will be how they figure it out.
Mindy Slaughter is a classroom teacher at UNIS Hanoi. She started learning to code when some of her students wanted to study it for the PYP Exhibition. She has since help start the Elementary Coding Club and is a founding member of the Global Codeathon. She believes coding opens the doors for student creativity and is working to integrate it into the curriculum.