Digital & AI literacy · 2026-11-07

When the Jam Goes Outside the Bread

Digital literacy doesn't require a screen. Through everyday sequence mix-ups, children learn to break down problems and think logically.

"Make me a jam sandwich, please," you say to your five-year-old. "But today, you have to tell me exactly how to do it."

Your child issues their instruction with absolute confidence: "Put the jam on the bread."

So, you pick up a whole, unopened jar of jam and place it squarely on top of an unsliced loaf of bread.

Your child freezes for a second, then bursts into laughter. "No, you have to cut two slices first, and then open the lid!"

In this joyful little kitchen episode, your child has just successfully designed an algorithm and debugged a piece of code.

In the digital age, it is easy to assume that nurturing a child’s digital and AI literacy means introducing them to screens, apps, and coding software as early as possible. However, developmental scientists and educators tell us that the true foundation for this kind of thinking is built in the physical world, long before a screen is needed.

Thinking Like a Computer

Computer scientist Jeannette Wing popularised the term "Computational Thinking," arguing that it is a fundamental skill for everyone, not just computer scientists 1. For preschoolers and early years children, computational thinking has nothing to do with complex syntax or learning a programming language. Instead, it is about logic, sequencing, and learning how to break a large, overwhelming problem into smaller, manageable steps.

Computers are incredibly clever, but they are also exceptionally literal. They lack human common sense and can only execute exactly what they are told. When you act like a robot and place an unopened jar on a loaf of bread, you are giving your child a tangible demonstration of this principle: instructions must be precise, and the sequence matters immensely.

Through this play, a child learns to take a seemingly simple task—making a sandwich—and decompose it into a series of exact steps: getting the bread, slicing it, opening the jar, picking up the butter knife, and spreading the jam. In developmental psychology, this relates closely to the executive function of planning, which is a cornerstone for learning any complex skill in the future.

Celebrating the "Bugs"

In traditional learning environments, making a mistake can sometimes feel like a failure. But in the world of computer science, mistakes are neutral. They even have a softer, more playful name: "bugs".

The pioneering educator Seymour Papert believed that one of the greatest values of learning to think computationally is how it changes a child's relationship with mistakes 2. A mistake is no longer a personal flaw; it is simply a bug waiting to be found and fixed.

When a child spreads the jam off the edge of the bread, or tries to put their shoes on before their trousers, they are experiencing a sequencing error. We do not need to correct them sternly. We can gently guide them: "Oops, we seem to be stuck. Let’s reverse a step and see where things got muddled." Even when children are playing with an AI companion like Sparkie (闪闪) and their question isn't understood the first time, it is a micro-moment of debugging: Did I miss a step? Could I explain it a bit more clearly?

Through repeated debugging, children not only sharpen their logical reasoning but also build an incredibly valuable emotional resilience. They learn that a problem is nothing to fear; you just step back, find the bug, and try again.

Three Unplugged Games to Try This Week

You don't need any electronic devices to practice unplugged coding at home. Here are a few simple ideas to try this week:

  • Play the "Robot Parent" game: Invite your child to guide you through a simple routine, like putting on a coat or pouring a glass of water. Explain that you are a robot with no common sense. If they say "put the coat on," balance it on your head. Amid the giggles, they will learn to give precise, sequential instructions like "pick up the left sleeve" and "put your left arm inside."
  • Spot the "Loops" in daily life: Computer programs are full of loops—instructions that repeat. Look for loops in your daily routines together. Washing hands is a loop: pump the soap, rub your palms, rinse with water, repeat. You can even make up a little rhythm or chant for your family's daily loops.
  • Decompose "clean your room": When adults say "tidy your room," young children often feel overwhelmed because the instruction is too vague. Try breaking the large task into specific "subroutines" together: "Step one: put the wooden blocks in the blue box. Step two: put the picture books back on the shelf."

Next time your child gives you a slightly muddled, wildly imaginative set of instructions, slow down. Follow them exactly. When the jam ends up on the outside of the bread, it might just be the exact moment the seeds of logical thinking begin to sprout.