Don't Just Say "0 is Black, 1 is White": Teaching Image Representation via Puzzle Games

One of the most common mistakes in teaching Computer Science is giving definitions straight away. For example, pointing to a pixelated image and saying, "Computers use 0 and 1 to store images. 0 means black, and 1 means white."

Children might nod and memorize it, but they won't truly understand "Why."

Following the Constructivist principle of "Inquiry and Listening," we can transform this one-way lecture into a two-way "Communication Puzzle."


Phase 1: Excavating Intuition (Before showing the grid)

Before bringing out the graph paper, start by listening to understand the child's existing mental model of computer images.

✅ Constructivist Interview (Effective Questioning):

  • Teacher/Parent: "Imagine I want to send this drawing of the 'Letter C' to a friend living on Mars. But I can't mail the paper, and I can't send a photo (assume Mars only has radio for voice calls). How can I use the phone to tell him exactly how to draw the same picture?"
  • Child: "Just tell him it's a C!"
  • Teacher/Parent: "Okay, but what if he doesn't know what a C looks like? Or what if I want to draw an alien symbol? How would you describe exactly where to draw each line?"

(Now, zip your lips and listen. They might say "Draw a line at the top," or "Draw a straight line on the left." This is your cue to guide them.)

Phase 2: Introducing Constraints & Tools (The "Need" for a Grid)

When the child realizes that verbal descriptions are imprecise ("Draw a line on the left" is too vague), introduce the Grid as a necessary tool.

Teacher/Parent: "Describing it with words seems hard; the drawing might end up crooked. If we both had the exact same grid paper (take out the blank 5x6 grid), would it be easier to communicate?"

Activity Design:

  1. Show the child the pixelated "C" (black and white) from the material.
  2. Give yourself a completely blank 5x6 grid.
  3. Role Play: The child is the "Computer," and you are the "Screen."
  4. Key Question: "Looking at that picture, how would you command me so that I paint the exact same squares black? Let's try it."

Phase 3: Co-constructing the Encoding System (Inventing Binary)

The aim is to let the child invent binary code, rather than you teaching it.

Scenario Simulation:
Child: "First row, paint the second square black, paint the third square black..."
Teacher: "Oh no, we have an emergency! We need to send a distress signal to Mars fast. Saying 'paint black' or 'don't paint black' for every square takes too long. Is there a faster way? Can we agree on a secret code?"

Guided Dialogue (From Intuition to Formalization):

  • Teacher: "How about if there is color, we shout 'Yes', and if there's no color, we shout 'No'?"
  • (After doing a few rows...)
  • Teacher: "What if we use numbers? Which two numbers are the simplest?"
  • Child: "1 and 2? Or 0 and 1?"
  • Teacher: "Great! Now, you decide: which number represents black (color), and which represents white (no color)?"

(Note: The textbook might say 1 is white and 0 is black. But if the child decides the opposite, accept it. This is a perfect opportunity to teach the concept of a Protocol—as long as the sender and receiver agree on the rules, any number works. You can guide them back to the universal computer standard later.)

Phase 4: Verification & Visualization (Connecting to the Material)

Effective Questioning Examples:

QuestioningLess EffectiveMore Effective
Tone「看這張表,這就是電腦儲存的方式」"Look at this table. Does this coding method look similar to the one you just invented?"
Question Types"What color does 0 represent?" (Testing Facts)"Why do you think this handout uses 1 for white and 0 for black? If we swapped them, could the computer still show the letter C?" (Probing Concepts)
Drawing/Action(None, just reading)"Now it's your turn to make a puzzle. Draw a simple shape on the grid, then write out the string of 0s and 1s. Let's see if I can decode it."

Conclusion: Why is this approach better?

Through this process, children learn more than just the fact of "Image Representation." They learn:

  1. Discretization: Why we need to chop an image into little squares (Pixels).
  2. Encoding: Why visual signals need to be converted into numbers.
  3. Standards: Why we need to agree (Protocol) on whether 0 is black or white.

Reference :csunplugged image-representation