It’s Friday the 13th. I’m not superstitious, but wouldn’t it be fun to code an activity? Here’s one you can try using a free, browser-based Python tool:
The challenge: It’s Friday the 13th, and a mysterious locker has appeared at school. Students write a short Python program that reveals a silly surprise depending on which locker number they choose. Friday, November 13, 2026 is an opportunity for this quick coding challenge, with no installation, no frightening content, and no prior Python experience required.
Students practice input(), print(), variables, and if/elif/else statements. Try it at CodeHS or PythonTutor.
Step 1: Copy and run this Python code
print("WELCOME TO LOCKER 13!")
locker = int(input("Pick a locker (1-13): "))
if locker == 13:
print("JACKPOT! A dancing llama!")
elif locker % 2 == 0:
print("Surprise! 13 bouncing frogs!")
else:
print("You found a pizza-powered robot!")
print("Mystery solved! Try again!")
Step 2: Predict, run, and test
That type of activity would have terrified me as a youngster. I bet I’m not alone struggling with coding.
The Struggle is Real
Do you struggle with coding and/or introducing others to coding? You may find this particular free Python tutor a fun way to get started. If you want to learn Python or introduce coding to students, tools like Coddy may be worth exploring. They may remove setup headaches, emphasize hands-on practice, and provide just-in-time assistance you get stuck. There are several solutions that do that. This blog shares a few.
Python is one of those coding languages that comes in handy in the strangest ways, my daughter has pointed out. I never imagined coding with Python would be useful to a Geographic Information Systems (GIS) professor. Even I have stumbled into it upon occasion while vibe-coding solutions.
Imagine sitting down to learn Python, only to spend your first hour installing software, configuring an editor, and troubleshooting error messages. You haven’t written a single line of code, and you’re already wondering whether this was a good idea. In fact, that’s been my experience every time.
Tools like Coddy offer a simpler starting point, especially for beginners and educators exploring programming.
1. Start Coding Without Installing Anything
One advantage of Coddy is its browser-based approach. Open the website, choose Python, and begin working through interactive lessons. There’s no need to install Python or configure a development environment. For educators working with Chromebooks or students using different devices, that’s worth considering.
The course starts with fundamentals such as variables, operators, and conditional statements. It gradually introduces loops, functions, data structures, and object-oriented programming.
You can focus on learning the language rather than getting the computer ready.
2. Learn by Doing, Not Watching
Coddy’s Python course currently advertises 219 lessons, 206 coding challenges, 1,069 quiz questions, and six projects. Learners practice coding as they progress through the lessons.
Projects include a bill-splitting calculator, a daily expense tracker, and a contact book application. These provide opportunities to apply programming concepts to recognizable problems. I especially like the idea of learners tackling a small challenge, checking their results, and then trying again.
For classroom use, consider asking students to explain what their code does before running it. Have them predict the output, test their prediction, and explain any differences. You can also use the Articulate It, Connect It, Extend It (ACE) framework.
3. Get Help When You Need It
Getting stuck is part of learning to program. Coddy includes Gen AI-assisted hints designed to help learners work through problems without immediately revealing solutions. It also provides quizzes, audio explanations, progress tracking, and certificates of completion.
What about cost? Coddy makes its courses and certificates available for free. However, free accounts have daily activity limits and restrictions on Gen AI tutoring. Paid plans remove some of those limits and add features.
TCEA PROTECT v3 Rubric Assessment
Educators should also know that Coddy’s terms require users to be at least 13 years old. Schools should review its privacy practices and institutional options before assigning student accounts. A preliminary PROTECT v3 assessment reveals the following:
Visit Coddy’s Python course and complete the introductory lessons. Then try one of the coding challenges without asking for a hint. See how far you get. And, remember, there are a variety of other tools. Find the one that works best for your students. Be sure to take PROTECT assessments into account for each.
If you’re looking for an approachable way to begin learning Python, a few minutes of actual coding may tell you more than another hour of watching tutorials.
Some ideas sit in the back of your brain for years. Then one summer workshop finally nudges them into action. This summer, my colleague Dr. Bruce Ellis and I traveled to Arlington ISD to facilitate Launch_K5 Computer Science, a free professional learning experience focused on computational thinking for elementary students and educators. While we worked through the four parts of computational thinking, I kept thinking about a colorful poster set I had seen years back. It focuses on decomposition, pattern recognition, abstraction, and algorithmic design.
That set inspired me to create a new version for elementary students. And because I cannot seem to create just one resource and stop, I also vibe-coded a Halloween-themed debugging activity for grades 3–5.
A Quick Computational Thinking Refresher
Computational thinking may sound like something that belongs only in a computer science class, but elementary students use it throughout the day.
💡 Decomposition means breaking a large problem into smaller pieces. Students use it when they plan a project, separate a story into sections, or organize jobs for a class celebration
💡 Pattern recognition means looking for similarities, differences, or things that repeat. Students practice it with number patterns, story comparisons, and science observations.
💡 Abstraction means focusing on important information and setting aside details that are not needed. Students use it when they identify the main idea or pull key facts from a word problem.
💡 Algorithmic design means creating clear, step-by-step directions. Students practice it when they explain a math process, write directions, or program a robot.
The Original Computational Thinking Posters
Before creating my elementary version, I wanted to track down the source of the poster set that inspired me. The original four-panel graphic was created by Robbot Resources and features the four computational thinking concepts across the curriculum. The complete resource is available as a free download on Teachers Pay Teachers under the title “Computational Thinking Ideas.”
I wanted a set that spoke directly to younger students, so I created four elementary-friendly posters using familiar classroom tasks. Display all four together or introduce one at a time in a classroom, computer lab, library makerspace, or STEM center. They can help students put a name to the thinking they are already doing.
Posters are helpful, but students also need a chance to practice.
I vibe-coded Debug the Haunted House, an interactive activity for students in grades 3–5. Students fix six friendly Halloween coding bugs while practicing sequencing and conditionals. Each correct answer unlocks part of a secret word. Use it with the whole class, partners, at a technology station, or as an early finisher option. Ask students to explain what went wrong and how they would fix it. No jump scares here. Just six coding bugs that need a little elementary problem-solving.
Free Launch_K5 Computer Science Professional Learning
Educators who want to dig deeper should explore Launch_K5 Computer Science from TCEA. October 20–21, @ TCEA HQ in Austin, Texas.
This free, three-day hybrid workshop helps K–5 educators integrate the Technology Applications TEKS into lessons they already teach. Participants explore computational thinking, cybersecurity, artificial intelligence, block-based coding, and physical computing while discovering ready-to-use plugged and unplugged lessons.
Participants also receive physical computing tools for their classrooms. K–2 educators receive two VEX 123 robots, and educators in grades 3–5 receive a set of 10 micro:bits.
Computational thinking is already part of story sequencing, math patterns, science investigations, and everyday problem-solving. The posters name the skills, Debug the Haunted House puts them into practice, and Launch_K5 CS helps educators bring it all together.
Need to convert an MP4 video file to an MP3 audio file with drag-n-drop? Or, resize and compress an image that’s too big to upload? Need to convert PDFs into a single merged, text file in MarkDown format for easy upload to a Gen AI chatbot? Or, perhaps, you have a series of photos you want to convert into a slideshow? If you use technology with any frequency, you may find yourself struggling to find the right, no-cost apps to get the job done. I can’t tell you how many times I’ve installed a “free” program only to find that there are in-app purchases needed. But there is an easier way.
Generative AI Makes the Command Line Easy
Much of what you pay app creators for is available for free, if only you knew how how to use the command line on Windows (or GNU/Linux and Mac). The problem is, finding the right combination of command line options for a program like FFMPEG or ImageMagick can take a few Google searches and hours of experimentation. I have put in that time, and then, about six months ago, a solution so obvious I mentally kicked myself for not trying it sooner.
Note: While all the examples in this blog entry focus on .bat files, you can easily ask your Gen AI chatbot for a BASH file (filename extension is .sh). Bash files work a little differently on GNU/Linux, and that would necessitate a separate blog entry. This idea works for all sorts of challenges, including moving fonts from Windows to GNU/Linux, as one person found out when I put together this tutorial for them using Gen AI, too. The point is, give it a go.
You already know what the solution is, right? I decided to ask Generative AI to give me the right command line options for shrinking a series of videos. You see, I had recorded a host of my daughter’s wedding videos, and they had gigantic file sizes. While I work with video all the time, babysitting video conversion programs to do the conversion (which takes forever) was not on my dance card. When Perplexity AI gave me the right combination for a bat file, I realized I might be on to something. A half year later, I’m now using AI-authored BAT (Windows) and BASH (Mac and Linux) to do all sorts of tasks.
What’s a BAT/BASH file?
I learned about BAT files in my freshman college class, “An Introduction to MS-DOS.” My professor, back in the late 1980s, had me write BAT files by hand. At that time, the realization that coding was not my thing sank in a little deeper.
BAT/BASH files are like recipes. They are a list of instructions that instruct your computer to do things automatically. Instead of you clicking through menus and typing commands one by one, the script does it all for you. Think of these as a to-do list for the operating system. The .bat file is for the Windows operating system. On Mac and GNU/Linux, the recipe of instructions file is known as a .bash file. They do the same kind of thing, only they use language that each operating system understands.
Some real world examples you can use script files for include:
Automatic back up of files from one folder to another every day (great for backing up that USB drive you carry around with you)
Launching multiple programs at once with a single click
Renaming hundreds of files in seconds instead of one by one (ugh, this is a pain)
Clean up of temporary files
Now, my “Aha!” moment came when working with large video and image files I wanted to share with others. Others do not need the high quality video or image. A smaller, more shrunken version I can fit inside of an email or text message attachment will do just fine.
Sample Prompt for a BAT File: Make Animated GIF from JPGs
“What is the simplest way to create an animated GIF from an existing JPEG/JPG/PNG? The JPG has a character I need to animate. I’m looking for a bat file” (Source)
To that end, I set up a ChatGPT Project (you can do this in BoodleBox, Claude, Copilot, and Gemini, too) that I labeled “Technical.” Then I added some custom instructions to it to guide my work. These custom instructions take the hard work out, and instead, make it easy to drag-n-drop files on top of a .bat file on Windows to get the desired action.
One Example: PDF/Txt/MD to MD File Merge
Problem: Need to merge PDFs, Txt, or Markdown (MD) files into a single file?
There are limits on how many files you can upload to a knowledge bank (e.g. ChatGPT limits you to 25 files for a Project/CustomGPT). Or, perhaps you want to optimize your text files before putting them into a knowledge bank.
It will convert from PDF/Text/Markdown (MD) formatted files to markdown, then merge the MD files into one. This means instead of giving your GenAI twenty-five different PDF documents, you provide only one. This takes up less space AND the Gen AI chatbot processes the text file faster. You can always rename the “merged.md” to “merged.txt” if your AI chatbot of choice can’t handle markdown.Google Gem and BoodleBox Bots can produce markdown files, but won’t accept them as input unless you change the filename extension to txt.
Free Software to Install for Windows
You will need to install some software, all of it free, open source (FOSS). Then, you will need to add this software to the PATH so it can work anywhere you happen to be (such as your Desktop, in some deep directory/folder on your device). Let’s look at both steps now, which you will only need to do once.
Install Software
You will not need all the software I have in my tools folder (more on that in a moment), but you can start with the following software:
Install ffmpeg and ensure ffmpeg.exe is on PATH.
Install ImageMagick and ensure magick.exe is on PATH.
Optional: install ExifTool (exiftool.exe on PATH) for metadata stripping.
Optional: install Whisper CLI (whisper on PATH) for subtitles.
A convenient step by step is available to assist you in installing the software programs above. That will enable you to take advantage of solutions such as the ones detailed below:
Not sure how to add programs to the PATH on Windows 11? Let’s walk through that now.
Add Programs to the PATH
The way I do this is to put all the EXE files for the programs I installed (see list above) and put them into a single folder called “tools.” Then, I put this tools folder at the root level on my computer. You can find the root folder by going to your “My Computer,” double-clicking Windows (C:) and you will see a list of folders. This is where you can create a “tools” folder and/or drag your Tools folder there.
Here’s an excerpt of a video tutorial I made for a colleague. It shows you how to add a folder called “tools” (like the one shown above) to the PATH on Windows 11.
The main benefit of this? I don’t have to keep modifying my “Environment Variables,” that is, adding items to the PATH again and again. Instead, I simply put the new program into the C:\tools folder and it’s ready to go.
How BAT Files Work with Drag-n-Drop
Here are a few of the problems that I’ve asked ChatGPT to create bat files for me for:
Automatic media conversion to MP3/OGG/MP4. This bat file prompts me for the desired output format I want then gives me a smaller file in that format.
Batch image resizing and compression. This bat file relies on ImageMagick, compresses the image file, and then saves it with a new name.
Convert PDFs + text/Markdown into a single merged Markdown document. This bat file takes advantage of Xpdf tools to create a merged text file.
Here’s a demonstration video showing one in action:
Although I have set up various .bat files, for this blog entry, I asked ChatGPT to generate a menu of options file. This addresses a variety of needs you may run into (or at the least, that anyone working with video, images, and PDFs runs into from time to time).
Get the BAT file and custom instructions for mgConvertGPT, a ChatGPT skill or plugin I made that you can simply use. Of course, you can take all the info I have shared and make your own Project or Custom GPT, BoodleBox Bot, or Gemini Gem.
That’s all there is to it! What other problems could you solve with Generative AI tools that might otherwise require a costly investment in software?
It reads a supported video already on the device and encodes an MP3 in browser memory, without uploading the media. Some uncommon codecs aren’t available in the browser build, so those files may still need FFmpeg. It’s intended for recordings people own or have permission to process.
👤 Human-directed (Miguel Guhlin) · 🤖 Gen AI-assisted (Claude, ChatGPT)
This blog was updated with new information on 10/05/2026.
If I were a new robotics teacher handing out sets of SPIKE Prime kits, my first thought would be, “What do I do first?” “Where do I start?”
Before jumping into bots that spin out of control or crash off the table, I like to begin with a no-wheels, no-stress activity: The Fully Primed Light Show Challenge.
This project focuses on using the 5×5 light matrix on the SPIKE Prime hub—no motors, no movement—just creativity, teamwork, and flashing lights. It’s the perfect way to introduce block programming, collaboration, and the Engineering Design Process (EDP) in a low-pressure, high-impact way.
Activity 1: Kickoff with “Initial Sound”
The Initial Sound Program
The first program I always introduce is a quick activity called Initial Sound. Each student programs their SPIKE Prime hub to:
Display their initials on the 5×5 light matrix
Add a sound effect at the end
Why this works so well:
No moving parts
No teamwork required (yet)
Just focused programming practice
Programming Blocks Introduced:
When program starts (event block)
Show image (to display initials using the light matrix)
Wait [x] seconds (control block)
Play sound until done (sound block)
Activity 2: The Fully Primed Light Show Challenge
Ready, set, go the FULLY PRIMED LIGHT SHOW
The next step is to work together in small groups (3 to 5) to create a light show using the 5×5 light matrix. No motors, just pure pixel power.
Why I love this as a starting challenge:
It introduces block coding with zero movement-induced stress
It builds teamwork and planning from the start
It’s the perfect opportunity to roll out the Engineering Design Process
Step 1: The EDP (Engineering Design Process)
Cue the pencils—it’s time to sketch, plan, and dream. Students complete the EDP template before they ever touch the code.
Since this is their first experience with EDP, I recommend completing it together as a class.
Example EDP Prompts:
What is the challenge I’m trying to solve? “My group is programming a light show with our SPIKE Prime hubs.”
The List (Real-World Connections): Where do you see light shows in everyday life?
Fireworks
Concert stage displays
Public art installations
Football halftime shows
Digital advertising signs
Arena or stadium LED ribbon boards
The Aurora Borealis
Amusement parks and rides
Brainstorming: Draw symbols or ideas for animations
Drawing Zone: Sketch out your pattern
Light Patterns: Color in the 5×5 Matrixes to plan your light blocks
After the Challenge: Revisit the EDP to reflect, rate, and rank the experience.
Step 2: Plan It Out
Give groups dedicated time to sketch and plan before touching the computer. This ensures intentionality and teamwork.
Step 3: Program, Test, Modify
Time to bring those designs to life. Encourage groups to iterate and refine as they test their light shows.
Step 3.5: Back Pocket Trick (Time to Wow Me!)
Let’s be real: The most important thing I can tell you as a robotics teacher is this—what are you going to do with your early finishers? Because if you don’t have a plan, they will find something else to do… and it usually involves off-task creativity.
That’s why I always keep a back pocket trick—a simple way to extend the challenge and keep students engaged.
Once students have completed their light sequence, challenge them to add some “Wow Me” features—shoutout to Joy Schwartz for the alternate name!
Back Pocket Bonus Ideas:
Add scrolling letters or words
Sync sound effects with the light sequence
Program the center button light for color changes
Build a stand or frame for their hub display
“I’ll be watching for the wow factor” is all it takes to keep motivation high.
Step 4: Showcase and Reflect
Wrap up the challenge with a classroom Light Show Showcase. Let groups present their light sequences and explain their design process.
Afterward, revisit the EDP sheets to complete:
Emoji reflection (How did it go?)
Star rating (1–5 stars)
Final tweaks to the Drawing Zone or program notes
This reinforces the importance of reflection, feedback, and iteration.
Final Thoughts: Let There Be Light (and Learning!)
The SPIKE Prime Light Show Challenge is a beginner-friendly project that sets the tone for creativity, collaboration, and coding from day one. It’s open-ended, fun, and just the right amount of challenge.
So go ahead—spark curiosity and light up your students’ imaginations.
And if your class creates a spectacular light show, I’d love to see it! Share a clip or photo with me at preimers@tcea.org or tag me on X @preimers.
Incorporating coding into K-5 classrooms can transform how students learn, solve problems, and express creativity. By introducing computer science early, we empower young learners to develop critical thinking, perseverance, and a growth mindset — skills that extend far beyond the classroom.
Today, thanks to free and accessible tools, any teacher can bring coding into their classroom without needing a computer science background Platforms like Code.org, Scratch, and the upcoming Experience CS (launching in June 2025) make it simple to get started and sustain student interest.
This blog post explores why coding matters in the elementary education, how free platforms support this mission, and practical strategies to help educators get started and go deeper. Whether you are new to coding or looking to expand, you will find ready to use ideas and resources here.
Why Coding matters for Young Learners
Coding teaches students how to break down problems, test solutions, and persist through challenges. These are essential problem-solving skills used in all academic subjects especially math, science, and literacy.
More than just technical skills, coding nurtures a growth mindset. Students quickly learn that errors are not failures, they are opportunities. Debugging code becomes a lesson in resilience and reflective.thinking.
Coding also fosters creativity. Students can animate stories, build games, simulate science experiments, or create digital art. It becomes a meaning ful way for students to communicate, collaborate, and explore ideas across all subjects.
Why teach coding in a elementary classroom?
Coding is not just about writing programs – it is about thinking logically, solving problems and adapting to new situations. When students code, debug, and repeat, they are practicing the very skills that innovation and adaptability demand.
Young learners are naturally curious and eager to create. Starting early builds on this curiosity while supporting academic goals in math, ELA, science, and social studies. Plus, learning to code at a young age builds confidence and digital fluency.
Building Grit Through Debugging
Debugging – the process of identifying and fixing errors is one of the most powerful learning moments in coding. It teaches students that setbacks are part of the process. They learn to try, fail, revise, and try again just like real life engineers and inventors.
Celebrate these moments. Encourage students to share their favorite bug stories and/or challenges and how they overcame or solved them. This helps normalize challenges as a step toward growth and reinforces perseverance.
A leading platform offering free, standards-aligned curriculum for grade K-5. The “CS Fundamentals” course introduces, loop, conditionals, and algorithms through fun games and puzzles.
Classroom Examples: In a second grade science unit on force and motion, students cold use the Star Wars activity to program droids that demonstrates push and pull. After coding, students can write a reflection on their learning to connect the lesson to science learning while incorporating literacy goals.
Using Code.org teachers can benefit from the sites lesson plans, student dashboards, instructional videos, assessments, and professional development.
Developed by MIT, Scratch (ages 8+) and ScratchJr (ages 5-7) uses drag and drop code blocks for creating stories, animations, and games.
Classroom Examples: In a forth grade social studies unit, student use Scratch to animate the signing of the Declaration of Independence. They could write scripts and code character movement integrating both literacy and history.
Scratch promotes creativity, collaboration, and logical thinking. Teachers can access tutorials, examples, and a supportive online community.
This new platform, developed by the Raspberry Pi Foundation and Google, will replace CS First and offers a free project-based curriculum aligned with U.S. and Canadian standards.
Experience CS will use a customized version of Scratch without public sharing, making it safer for schools. Teachers will be able to create accounts, assign lessons, and track student progress.
Strategies for Teaching Coding in Elementary
No computer science degree? No problem! These simple strategies make coding accessible and engaging for everyone:
Unplugged Activities: Use screen-free lessons from CS Unplugged to teach logic and sequencing.
Pair Programming: Students work in pairs – one the plays the role of the “driver” and writes the codes, the other is the “navigator” and guides the process. They can switch roles regularly to promote collaboration.
Celebrate Debugging: Highlight coding struggles or errors as learning opportunities. Encourage students to analysis, revise, and share how they preserved.
Project-Based Learning: Connect coding to classroom content. Students can code math games, simulate science processes, or bring their stories to life.
Use hour of Code: Code.org’s themed activities are perfect for beginners.
Fostering a Growth Mindset Through Coding
Coding encourages students to take risks, analyze problems, and try new approaches. Because it rarely works perfectly the first time, students learn to reflect, revise, and persist.
Model this mindset. Share personal experiences, praise efforts, and encourage students to journal about what worked, what did not, and what they learned. This reflection builds metacognition and boosts confidence.
Cross-Curricular Connections
Coding supports academic goals in all subject areas:
Math: Program geometric shapes, create digital flashcards, or solve word problems.
Literacy: Animate a story’s plot, build interactive retellings, or script dialogue between characters.
Science: Simulate habitats, model the water cycle, or animate simple machines.
Social Studies: Recreate historical events, code timelines, or design digital maps.
Social-Emotional Learning: Use teamwork-based coding challenges to teach collaboration, resilience, and digital literacy.
Start small. Choose one Hour of Code activity or integrate ScratchJr into a storytime lesson. Use tools with build-in dashboards to monitor progress and celebrate student success.
Engage families by hosting a “coding showcase” or STEM night. Build your confidence with free training from Code.org, Scratch, or Experience CS.
Your enthusiasm is powerful. With the right tools and mindset, you will help students develop the creativity, grit, and confidence they need to thrive in a digital world.
Want more from the author?
Join Thomas Meek at ETC for exciting and engaging sessions like Crack the Code: Free Coding Tools for Elementary Classrooms, Beyond the Book: Unleashing Creativity with Book Creator, and Rolling Into Learning: Engaging Students with Classroom Robots!
Getting students buzzing about the steps of a scientific process isn’t easy; helping them think through concepts and process, even harder. Imagine if you could engage them with flowcharts and learn the same critical content. One way to get it done is to combine flowcharts and coding.
Use flowcharts as visual tools that make student cognition visible to you and to peer learners. This can aide students in understanding and applying scientific concepts. What’s more, it can help with the new science Texas Essential Knowledge and Skills (TEKS).
A Quick Note: This blog entry shows examples of science-related flowcharts. I created each using Mermaid code, which I will explain later in the blog entry. You can see the code and the corresponding diagram online. A free mini-course for sixth grade students is also included and it’s great for grown-ups, too.
Visualize It
Flowcharts help students visualize the non-linear, iterative nature of scientific inquiry. It helps them see that science is more than a collection of cold facts. Instead, students practice decomposition and systematic disconfirmation.
Let’s explore these two terms in the context of flowcharts.
Decomposition
Decomposition involves breaking complex problems or systems into smaller, more manageable parts. When this is done, it makes tough concepts more accessible. You can represent it in this way:
Then, you can solve the smaller problems on your way to take care of the big one.
Use a flowchart to illustrate the stages of evaporation, condensation, and precipitation.
Decomposition of Food Waste in a Compost Bin
Those are simple examples. But flowcharts aren’t only about processes that occur in the world around us. They can also be about claims that are made.
Systematic Disconfirmation
Scientists have the opportunity to develop testable hypotheses, then spend time trying to show how wrong they might be. This process is known as systematic disconfirmation. It’s the “identification of evidence that contradicts or challenges an initial belief or theory” (source). Here’s are two ways to break it down.
Five-Step Process
You can also follow a three-step process to disconfirmation, such as:
As you can see, these processes have the potential to promote critical thinking and engineering practices.
Promoting Critical Thinking and Engineering Practices
Flowcharts do not only make concepts simpler to understand, they also promote critical thinking. Imagine presenting students with a scientific mystery to solve by breaking the problem down in manageable pieces. Then they apply a systematic disconfirmation process to it.
When students create their own flowcharts, they’re not just passively absorbing information but are also engaged in the idea construction process. They do this because they have to map out their processes and identify any missed steps. This fosters a sense of ownership over the learning process.
One way to introduce students to flowchart creation and thinking problems through is to have them use Mermaid code.
The Benefits of Coding
There is a lot of research on the value of teaching students to code. Below are just a few.
Benefit
Description
Source
Improved Problem-Solving Skills
Coding helps students develop better problem-solving abilities by engaging them in logical and structured thinking processes.
Perplexity Pro AI-generated table, all sources verified by author
Now that you’ve had the opportunity to see peer-reviewed research on the benefits of coding in K-12 classrooms, let’s take a look at a simple way to introduce it.
Introducing Mermaid Code
Coding has always been difficult for me, but I took to Mermaid code quickly. In the classroom, I want quick results that lead to success. That’s why I like Mermaid code as a way to introduce coding without scaring people off.
Explaining Mermaid Code
Here’s an AI-generated definition of Mermaid coding:
Mermaid coding is a special way of making simple drawings using words and symbols on a computer. It’s like giving the computer instructions to create pictures for you, such as boxes, circles, and arrows that connect them.
For example, you can tell the computer to draw a box and write “Start” inside it. Then, you can tell it to draw an arrow from the “Start” box to another box with the word “End” inside.
Mermaid coding helps you create diagrams, charts, and other visual things quickly without having to draw them by hand. It’s a fun and easy way to show ideas and how things work using a computer. In simple terms, Mermaid coding is like using a secret language to tell the computer what to draw for you.
This is a fun way to introduce rapid prototyping (a key component of the Engineering Design Process) at little to no cost. Students are able to adjust diagrams on the fly by editing the code. Let’s take a look at an example.
A Modified Water Cycle Example
To generate the code for the water cycle flow chart earlier in this blog entry, I used the code below:
mermaid graph TD;
A[Evaporation] -->|B[Condensation];
B --> C[Precipitation];
C --> A;
With this example, one can easily begin to see how Mermaid code works. I can make modifications to that code to get different results:
graph TD;
A[Evaporation] -->|Results| B[Condensation];
B -->|Transforms into| C[Precipitation];
C ---|Then begins again...| A;
As you can see, in this version of the flowchart, I’ve added labels for the connectors. This yields a different result than the one introduced earlier in this blog entry:
Simple and Adaptable
The secret to Mermaid is its linear nature. One thing leads to another. As a result of its predictability, Mermaid code integrates well with web technologies, such as:
HTML
Cascading Style Sheets (CSS)
JavaScript
Markdown editors
Project management software
Documentation generators
This is important because it means you can embed Mermaid diagrams into web pages. Introducing students to it is an on-ramp to learning coding.
Students then can begin to use Mermaid code in designing flowcharts about scientific processes. In time, they can use it for online tutorials, educational content, or interactive visualizations.
Here’s a short video tutorial that was helpful for me. This quick reference guide may also be helpful. A few more videos and resources appear at the end of this blog entry.
AI-Powered Mermaid Code Assistance
AI chatbots can generate Mermaid code for flowcharts based on simple text descriptions. For example, a student could describe a scientific process in plain language, and an AI tool could generate the corresponding Mermaid code:
Prompt Input: The water cycle involves evaporation, condensation, and precipitation. Evaporation leads to condensation, which leads to precipitation, and the cycle repeats.
Output:
graph TD;
A[Evaporation] --> B[Condensation];
B --> C[Precipitation];
C --> A;
This AI-assisted approach can make the creation of flowcharts even more accessible and efficient for students. Try asking one of the following AI chatbots to develop code for a flowchart:
No (web-based, free but an account can be created)
Desktop
Compiled by author
Mermaid Code Resources
Below you will find details on a five-module mini-course with 15 lessons in it that’s designed for sixth grade students as an introduction to Mermaid. Each module ends with a PBL scenario.
Module
Title
Lessons
PBL Scenario
1
Dive into Mermaid Basics
1. What Is Mermaid? 2. Drawing Your First Flowchart 3. Adding Styles to Your Flowchart
The micro:bit is a pocket-sized computer that packs a powerful punch when it comes to engaging students in the world of coding. But where to start with it? This blog post provides 12 fun “finish the code” block coding cards designed for use with theMakeCode platform.
What Is a micro:bit?
Imagine a tiny computer with a 5×5 LED display, buttons, sensors (light, accelerometer, temperature), and the ability to connect with other devices. That’s the magic of the micro:bit! It’s a versatile tool that allows students to bring their creations to life through code.
Why micro:bits Are Perfect for the Classroom
Bridging the Gap Between Abstract and Concrete: Coding concepts can seem abstract. But with the micro:bit, students see their code translated into tangible actions on the device, creating a clear link between cause and effect.
Coding Success from Day One: MakeCode’s intuitive block coding interface makes learning to code accessible, even for beginners.
Computational Thinking across the Curriculum: Problem-solving, critical thinking, and creativity are at the heart of computational thinking. BBC micro:bits can be integrated across various subjects, from engineering challenges in science to interactive storytelling in language arts.
Learning from Mistakes: Mistakes are inevitable, and with micro:bits, they become valuable learning opportunities. Students can debug their code, iterate, and improve their problem-solving skills.
Durability Built-in: micro:bits are kid friendly, NOT kid proof.
Plug-and-Play Simplicity: No complicated installations or drivers are needed. Simply connect the micro:bit to your computer and you’re ready to code.
Budget-Friendly Choice: Compared to other STEM/STEAM educational tools, micro:bits offer a cost-effective way to introduce students to the world of coding.
Introducing the Finish the Code Cards
My thought on the design of these 12 “Finish the Code” cards is that they can be assigned to students after certain blocks have been introduced. The cards cover 20 blocks of code in different combinations. You can access just the PDF file hereto print and of course, laminate your own set of cards.
Bonus! I have also provided the Google Slide deck here. This resource includes:
Handy table with the specific blocks used for each card
12 cards
A possible solution for each card
I could also see the Finish the Code Cards being used for the following:
Extension Activities: Challenge students to expand upon the provided code, adding complexity or incorporating new features.
Assessment Tools: The cards offer a quick and engaging way to assess students’ understanding of specific coding concepts.
Fun: Use the cards for a quick brain break or collaborative coding challenge, fostering a fun and engaging learning environment.
STEM Night: Students could use cards as challenges for friends and family.
With micro:bits and MakeCode, the possibilities for creative learning are endless! If you have a program that should be included in this set, please email me at preimers@tcea.org. If you need a learning experience on micro:bits, please check out the TCEA online course that my colleague Miguel Guhlin and I designed. This course is designed for the educator who wants to bring micro:bits into their classroom but is not sure where to start.
“What’s your vision for a coding curriculum?” I asked a small private school. They had collected technology but lacked a real plan. What was missing? A clear scope and sequence showing when they should introduce certain technology and an alignment with computational thinking standards. Let’s explore a potential solution.
Defining Scope and Sequence
Many schools have a complex series of scopes and sequences to cover various topics and content areas. “Scope” means the topics covered. “Sequence” is the teaching order. The aim is to build on previous lessons, including a certain level of repetition and review, then add on to these concepts and introduce new ones. In this way, students add to their knowledge with each lesson in a spiraling curriculum. This allows for a recursive review of key concepts, skills, or themes.
The iterative learning cycle is a process children use to master new skills like walking, feeding themselves, reading, and more. The cycle involves making an attempt, failing, evaluating what went wrong, refining the approach, and starting the cycle again. This process values failure and self-assessment.
What is iteration? Repetition. The opportunity to revisit and review content is well-supported. The use of high-effect size instructional strategies can enhance learning. Iteration also facilitates long-term information retention. You may be wondering what instructional strategies get the job done. The ones below are well worth pairing with curricular standards and technology:
Retrieval Practice (d=0.49). A well-established strategy that increases access to retrieving “to-be-remembered” information. Entry and/or exit tickets and dice debriefs work well (source). This is also known as “practice testing” or “test-enhanced learning.”
Rehearsal (d=0.71). This is the repetition or organization of information that has entered short-term memory (source). It relies on images, photographs, or index cards and involves memorizing information through repetition.
Spaced vs Massed Practice(d=0.65). This strategy involves implementing a schedule of practice that spreads out study activities over time (a.k.a. distributed practice).
As you might imagine, a strategy like Teacher Clarity(d=0.85) is also helpful. It is helpful because it sets the expectation for what students will learn. It does this through three questions students can answer in their own words:
Set the learning intention. Ask, “What am I learning?”
Explore the relevance. Ask, “Why am I learning it?”
Specify success criteria. Ask, “How will I know I learned it?”
Explicit teaching is like building with scaffolds. It guides students with clear goals and reasons for learning new skills. Teachers show and explain the target. Then, they support practice with feedback until the student masters it. This strategy involves direct instruction, guided practice, and teaching until mastery.
A “discovery approach” isn’t as effective as Explicit Teaching Strategies. The latter gets better results, especially when one combines the previously mentioned strategies.
Getting Started with a Scope and Sequence
Thanks to the power of AI, generating a starting point for a scope and sequence need not be onerous. In a long prompt, I specified a variety of high-effect size strategies (those discussed above) as well asISTE standards. The product yields a basic scope and sequence that addresses the needs of a specific school. The long prompt was edited interactively in a chat with ChatGPT 4.0 and other tools, yielding the following results.
Grade Level
Focus Area
Tools & Languages
ISTE Standards Alignment
Scope & Sequence
K-2
Introduction to Coding
Scratch Jr., Sphero, Dash-n-Dot, SPIKE Essential
Computational Thinker
Begin with basic block coding concepts, incorporating retrieval practices like entry/exit tickets. Introduce storytelling, simple animations, and tactile interactions with Sphero, Dash-n-Dot, and SPIKE Essential for engaging robotics experiences. Use images and index cards for rehearsal. Activities are designed with teacher clarity and interleaved practice in mind.
3-5
Building Computational Thinking
Scratch, Micro:bit, SPIKE PRIME
Computational Thinker
Progress to more complex block coding and introductory text-based coding. Incorporate basic and more advanced robotics with SPIKE PRIME, emphasizing the engineering design process. Projects are sequenced using spaced practice, and concepts are revisited to deepen understanding. Teacher clarity is maintained with explicit learning goals and success criteria for each project.
6-8
Applied Coding & Robotics
Python, Swift, JavaScript, TinkerCAD
Computational Thinker
Focus on text-based coding, app and game development, and an introduction to advanced robotics concepts and design thinking challenges. Implement spaced and interleaved practices to tackle coding and robotics problems. Continue with explicit teaching strategies, ensuring students understand the relevance and application of their projects in real-world contexts.
In part 2 of this blog series, you will see more specific ideas that explore K-2, 3-5, and 6-8 use of coding and robotics. We will also look into specific teacher clarity questions and more examples. Stay tuned!
Teachers now have access to a Swift programming language course! The online, self-paced course is available through TCEA. If you don’t know us, we’re a nonprofit education association with a mission of “advancing teaching and learning through the use of technology.” Participants in the Swift Programming course watch videos and get sample code that guides them through hands-on projects.
Teaching Children Useful Skills with Swift Programming
TCEA Course Developer James Abela serves as head of computing in an Apple Distinguished School in Kuala Lumpur. “We have problems that need to be solved at a global scale. It’s about teaching children skills that are useful in a time when information is a mere click or voice command away,” says James Abela.
Participants will be able to create apps with Apple’s Swift and use it with students in a variety of learning situations as a new way to make exciting resources. “This is a great opportunity for educators to become versed in Swift,” asserted one TCEA member in the TCEA Community in the Apple Users Group (01/18/2023).
The course includes five modules:
Getting Started with Swift Playgrounds
Handling Swift Layouts
Inputs and Outputs
Calculations in Swift
Animations in Swift
Educators who enroll in the course also get a free TCEA membership. Once completed, they receive 12 CPE credits, a digital badge, and a digital certificate of completion. Course access lasts for one full year from a participant’s date of enrollment in the course.
What Are the Swift Course Prequisites and Requirements?
This course is intended for middle and high school teachers and is a beginner course for Swift app development. No previous experience with any programming language is required. You can choose to use either an Apple Macintosh computer or an iPad. This software is free of charge from the Apple App Store.
How To Sign Up
The course is available for $39, but for groups of 10 or more, the price is discounted to $34 per person. Contact Miguel Guhlin (mguhlin@tcea.org) for pricing quotes for 10 or more people. Large groups can also pay via TCEA Credit Card Authorization Form. Interested? Go ahead, enroll now!
Worried about cybersecurity and preparing students for the future workforce? Let’s explore a new resource and some ways to stay up to date.
Preparing the K-12 Workforce
Every day, thousands, if not millions, of people get emails from spammers. Some of the spammers are advertisers, hawking their products. Others offer advertisement-laden livestreams and webinars. Consider this one example on cybersecurity:
Tech workforces are changing fast. Is your workforce keeping up? Join us [date] on LinkedIn Live. Watch thisfuture-ready digital workforce informational webinar. Learn how to evolve your tech workforce to meet the future tech demands your organization needs. You will learn how to make it thrive. You’ll get rich, er capitalize, on your digital tech workforce transformation.
You get the idea. What if there was a way to engage K-12 students and prepare them to be that tech workforce? Let’s explore a new initiative – expanding cybersecurity education nationwide.
Did You Know?
TCEA offers a Cybersecurity for Educators: Data Guardian online, self-paced course. With this course, you can learn the essentials of protecting yourself and confidential data. It’s geared for classroom teachers, district professionals who aren’t cybersecurity experts. You need to know what’s in this course and put it into practice. Don’t be the reason for the next data breach in your organization.
Why Is It Important to Prepare Students?
I attribute my failure to learn how to code to a terrible mathematics program. Who could know that not learning math in middle school would have long-lasting effects? And the sooner we learn how math and coding relate, the better. That failure, whatever the reason, has resulted in a profound gap:
Cyberseek reported there are around 1.1 million people employed in cybersecurity in the United States. Over 700,000 unfilled positions are currently available. Worldwide, the cyber workforce shortfall is approximately 3.5 million people. (source)
A question many Americans ask is, “How do we prepare our children for a future in information security?”
Preparing Our Children to Be Secure
Getting our children ready means asking, “What do they need to know now to be ready for the future?” To find that out, check with the Cybersecurity and Infrastructure Security Agency (CISA).
Screenshot by author
Jen Easterly, CISA Director, says that the K-12 cybersecurity education program is going nationwide. The program began in Louisiana through a grant and focused on high school students.
The CYBER.ORGRange is accessible to all K-12 students but is primarily geared toward high school students interested in learning core cybersecurity concepts and curriculum.
With over 750,000 open cybersecurity positions and continued cyberattacks on both the public and private sectors, it is more critical than ever to expand access to cybersecurity education.
The goal ofCYBER.org is to empower educators to teach cyber with confidence. This should result in students with the skills and passion needed to succeed.
Free Cyber Curricula
You can find free cyber curricula on CYBER.org, including lessons, for use in K-12 settings. Some examples of the resources found on the site with a quick search include:
There’s a lot more content, organized by grade level and subject, that you can see. Subjects include:
Career & Technical Education
Computer Science
Cybersecurity
Engineering
Humanities
Math
Robotics and Coding
Science
These materials also encompass K-12 grades, so there is a wealth of information. Entry points abound for any educator who is seeking to prepare students for the future.
Screenshot by author
Engaging Students Early
One of the intriguing resources available via CYBER.org? Coding Fundamentals.
Coding Fundamentals introduces students to the foundational concepts of coding and cybersecurity. It does this through hands-on lessons. Students at differing grade levels learn the fundamentals in one of two ways: Microsoft’s MakeCode block-based language and/or through Python text-based programming.
Cybersecurity lessons include brute force attacks, dictionary attacks, and on-path attacks (formerly known as man-in-the-middle attacks).
MakeCode Block is recommended for grades 4-8 (beginners). Python is recommended for grades 8-12 (intermediate).
Don’t wait until it’s too late. Get your students, and your own children, learning the fundamentals.