Learn Without Walls
← Module 6 Home Lesson 1 of 4 Next Lesson →

Lesson 1: Mistakes Are Clues

Estimated time: 15-20 minutes | Screen-Free Activity

What You Will Learn

By the end of this lesson, your child will be able to:

Everyone Makes Mistakes

Here is something that might surprise you: the best coders in the world make mistakes every single day. Not sometimes. Every day. They write code that does not work, they forget a step, they spell something wrong, and things break.

And that is completely fine! Mistakes are not a sign that you are bad at something. They are a sign that you are trying something new and learning. Every mistake teaches you something.

Bug: A mistake or error in a set of instructions (or in code) that causes something to not work the way you expected. Bugs are problems waiting to be solved.

Debugging: The process of finding and fixing bugs. When you debug, you are a detective looking for clues to figure out what went wrong and how to make it right.

Talk About It (Parent and Child)

Ask your child: "Can you think of a time you made a mistake and learned something from it?" Maybe they fell off a bike and learned to balance differently, or they burned toast and learned to set a timer. Share one of your own mistakes too. This shows that mistakes happen to everyone.

The Very First Computer Bug

Did you know that the word "bug" in coding comes from a real bug? Here is the true story:

Grace Hopper and the Moth

In 1947, a team of computer scientists was working on a huge computer called the Mark II at Harvard University. The computer was not working right. One of the team members, Grace Hopper, helped find the problem: a real moth had gotten stuck inside the machine!

They carefully removed the moth and taped it into their logbook with a note that said they had found the first actual "bug." From that day on, finding and fixing computer problems has been called "debugging."

Grace Hopper went on to become one of the most important computer scientists in history. She helped create some of the first programming languages and became a rear admiral in the United States Navy. She was brilliant, and she knew that finding bugs was just part of the job.

Talk About It (Parent and Child)

Ask your child: "Why do you think we still call computer errors 'bugs' even though no real insects are involved?" This is a fun conversation about how words get their meanings. You might also ask: "If you found a moth in your computer, what would you do?"

Two Ways to Think About Mistakes

When something goes wrong, there are two ways to react:

Way 1: Get Upset

  • "I am terrible at this."
  • "This is too hard."
  • "I give up."
  • "I will never get it right."

This way of thinking makes you want to stop trying. It closes the door to learning.

Way 2: Get Curious

  • "Hmm, that did not work. I wonder why."
  • "Interesting! What happened there?"
  • "I have not figured it out yet."
  • "Let me try something different."

This way of thinking keeps you going. It opens the door to figuring things out.

The second way -- getting curious -- is called having a growth mindset. People with a growth mindset believe they can get better at anything with practice. They see mistakes as part of learning, not as proof that they cannot do it.

Growth Mindset: The belief that you can get better at anything through effort and practice. People with a growth mindset see mistakes as chances to learn, not reasons to quit.

The Power of "Yet"

One of the most powerful words in the world is "yet." Watch what happens when you add it to a sentence:

Adding "Yet"

  • "I cannot ride a bike" becomes "I cannot ride a bike yet."
  • "I do not understand loops" becomes "I do not understand loops yet."
  • "I cannot find the bug" becomes "I cannot find the bug yet."
  • "I do not know how to code" becomes "I do not know how to code yet."

"Yet" changes everything. It means you are on your way. You just need more time and practice.

Talk About It (Parent and Child)

Practice the "yet" game together. Take turns saying something you cannot do, then add "yet" to the end. For example: "I cannot do a cartwheel yet." "I cannot cook dinner yet." "I cannot read chapter books yet." Notice how it feels different with "yet" at the end.

Famous People Who Failed First

Almost every successful person has a story about failing before they succeeded:

Every one of these people made mistakes and kept going. They debugged their plans, tried again, and eventually succeeded. That is what debugging is all about.

Activity: My Debugging Journal

Screen-Free Activity (10 minutes)

What you need: Paper, pencil, and (optional) crayons or markers to decorate.

What to do:

  1. Fold a piece of paper in half to make a small booklet (or use a notebook).
  2. On the front, write: "My Debugging Journal" and decorate it.
  3. On the first inside page, write about a time you made a mistake and what you learned from it. Draw a picture if you like!
  4. On the second page, write three things you cannot do yet (but want to learn).
  5. Keep this journal throughout the rest of the course. Every time you find and fix a bug, write about it! What was the bug? How did you find it? How did you fix it?

Parent tip: Write in your own debugging journal alongside your child. Modeling the process is powerful.

Check Your Understanding

1. What is a "bug" in coding?

Answer: A bug is a mistake or error in code (or in instructions) that makes something not work the way you expected. The word comes from a real moth found in an early computer.

2. What does "debugging" mean?

Answer: Debugging means finding and fixing bugs. It is like being a detective -- you look for clues, figure out what went wrong, and make it right.

3. What is a "growth mindset"?

Answer: A growth mindset is the belief that you can get better at anything through effort and practice. People with a growth mindset see mistakes as chances to learn, not as reasons to give up. The word "yet" is a growth mindset word!

Key Takeaways

Ready for More?

Next Lesson

In Lesson 2, you will learn a step-by-step detective method for finding bugs. No more guessing!

Start Lesson 2

Module Progress

You have completed Lesson 1! Three more lessons to go in Module 6.