Mystery String Coding Lesson for Kids: Letters, Numbers, Symbols & Online Safety

Introduce young learners to computer code with this safe, hands-on mystery string lesson. Children sort letters, numbers, and symbols, identify patterns, create pretend codes, and practice asking a trusted grown-up about confusing computer messages.

Previous Lesson
PDF

The Mystery String: A Safe Computer-Code Adventure

Materials Needed

  • Paper and crayons or washable markers
  • Index cards or small pieces of paper
  • Large letter, number, and symbol cards
  • Three bowls or labeled spaces: Letters, Numbers, and Symbols
  • Optional: blocks, stickers, or a tablet with a simple drawing app

Learning Objectives

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

  • Sort at least 10 cards into letters, numbers, and symbols.
  • Describe a computer message as a group of marks that may carry instructions.
  • Explain that some computer messages are for grown-ups and should not be changed or used without help.
  • Create a safe pretend code using pictures, letters, or simple symbols.

Success Criteria

I can:

  • Tell whether a card shows a letter, number, or symbol.
  • Explain that symbols can have special meanings.
  • Ask a trusted grown-up before using a strange computer message.
  • Make my own safe code and explain what it means.

Introduction: The Mystery Message

Hook: Show the child a card covered with mixed letters, numbers, and symbols. Say:

“Look at this curious computer message! It has marks that look like letters, numbers, and symbols. What do you notice?”

Explain in simple language:

“Computers use special messages to follow directions. Today we will look at the shapes and patterns safely. We will not put strange messages into a computer. If we see something confusing, we ask a trusted grown-up.”

Tell the child:

“First, I will show you how to sort the marks. Then we will sort some together. Finally, you will make your own safe pretend code.”

Body

Part 1: I Do — Meet the Marks

Place one letter card, one number card, and one symbol card where the child can see them.

Model thinking aloud:

  • “This is the letter A. It can be used in words.”
  • “This is the number 3. It can tell us how many.”
  • “This is the symbol +. It is a special mark that can mean ‘add’ in some situations.”

Use the phrase:

“Letters can make words. Numbers can tell how many. Symbols are special marks.”

Show a few additional marks, such as ?, !, =, and *. Do not ask the child to use them in computer commands. Simply identify them as symbols.

Part 2: We Do — Sort the Mystery Cards

Mix the cards and invite the child to help sort them into the three spaces.

For each card, ask:

  • “Is it a letter, number, or symbol?”
  • “What do you notice about its shape?”
  • “Where should it go?”

Use think-pair-share if another person is present:

  1. Think: The child looks carefully at one card.
  2. Share: The child tells the grown-up what the card is.
  3. Place: The child puts it in the matching group.

Quick Check: Hold up three cards one at a time. Ask the child to show a thumbs-up when they know the group. Invite the child to explain one choice.

Part 3: We Do — Find Patterns

Make a simple pattern with cards, such as:

A, 1, A, 1

Ask:

  • “What comes next?”
  • “What part keeps repeating?”
  • “Can you make a different pattern?”

Try a movement pattern too:

Clap, tap, clap, tap

Say:

“People and computers both look for patterns. Patterns help us notice what comes next.”

Part 4: You Do — Make a Safe Pretend Code

Invite the child to choose one of these options:

  • Picture code: Draw a star for “jump,” a circle for “stop,” and a heart for “hug.”
  • Movement code: Clap twice to mean “hello” and stomp once to mean “goodbye.”
  • Color code: Blue means “find a book,” yellow means “build with blocks,” and green means “clean up.”
  • Shape code: A triangle means “three,” a square means “four,” and a circle means “zero corners.”

Ask the child to make a three-part message using the chosen code. For example:

Star, star, heart could mean “jump, jump, hug.”

Have the child give the message to the grown-up. The grown-up tries to follow it and then asks:

“Did I understand your code? What does each mark mean?”

Part 5: Real-World Safety Talk

Use a friendly puppet voice or pretend that a toy computer has shown a confusing message.

Say:

“Sometimes a computer shows words and symbols that we do not understand. We do not click, type, or copy strange messages by ourselves. We stop and ask a trusted grown-up.”

Practice the safety response together:

  1. Stop.
  2. Look away from the strange message.
  3. Ask a trusted grown-up.

Ask:

  • “What should we do if a computer message looks confusing?”
  • “Who can help us?”

Formative Assessment

  • Observe whether the child sorts cards correctly.
  • Ask the child to identify one letter, one number, and one symbol.
  • Ask the child to continue a simple pattern.
  • Listen for the safety phrase: “Stop and ask a trusted grown-up.”
  • Notice whether the child can explain the meaning of their pretend code.

Summative Assessment: Show and Tell

Ask the child to complete this short demonstration:

  1. Sort six mixed cards into letters, numbers, and symbols.
  2. Make a two- or three-part pretend code.
  3. Explain what the code means.
  4. Answer: “What do you do when you see a strange computer message?”

Mastery: The child correctly sorts most cards, creates a code with a clear meaning, and says that they should stop and ask a trusted grown-up about confusing computer messages.

Differentiation

For a Child Who Needs More Support

  • Begin with only two groups: letters and numbers.
  • Use large, familiar cards such as A, B, 1, and 2.
  • Offer two choices: “Is this a letter or a number?”
  • Use hand motions, such as touching the letter bowl for letters.
  • Let the child copy a simple code before inventing one.

For a Child Ready for More Challenge

  • Invite the child to create a repeating pattern with three different cards.
  • Ask the child to write or draw a key explaining their code.
  • Have the child give the grown-up a coded direction with four parts.
  • Invite the child to find symbols in safe places, such as books, signs, or packaging, and discuss what they might mean.

Conclusion: Recap and Reflection

Review the lesson using the sentence frame:

“Letters make ______. Numbers tell ______. Symbols are ______. When I see a confusing computer message, I ______.”

Invite the child to answer:

  • “What was your favorite kind of card?”
  • “What did your pretend code mean?”
  • “What is one safe computer rule?”

Finish with:

“Today we learned that computer messages can use letters, numbers, and symbols. We looked for patterns and made our own pretend code. We also learned to stop and ask a trusted grown-up when a computer message is confusing.”

Optional Follow-Up Activities

  • Go on a symbol hunt around the home and draw three symbols.
  • Make a pattern necklace using colored beads or pasta.
  • Create a family picture-code game.
  • Read a picture book about computers, patterns, or problem-solving.

Ask a question about this lesson

Loading...

Related Lesson Plans

How to Roller Skate for Beginners: Easy Step-by-Step Lesson on Safety, Balance, Gliding & Stopping

Master the roller skating basics with our easy-to-follow guide for beginners! Learn essential safety tips, how to balanc...

Where Do Animals Live? Fun Lesson & Crafts on Animal Habitats for Kids

Discover where animals live with this fun science lesson for kids! Explore different animal homes like nests, burrows, d...

Laundry Super Skills: A Fun Guide to Teaching Kids How to Do Laundry Safely

Turn laundry chores into a fun adventure! Our step-by-step 'Laundry Super Skills' guide teaches kids essential washing, ...

Teaching Kids Good Manners: Fun Etiquette Lesson Plan & Activities

Easily teach children etiquette and the importance of good manners with this engaging lesson plan. Includes discussion p...

Everyone is Special: Preschool Lesson on Challenging Gender Stereotypes in Play

Engage preschoolers with this fun lesson plan about gender stereotypes, play, and friendship. Includes story time, toy s...

What Do Animals Eat? Fun & Easy Preschool Lesson Plan on Animal Diets

Engage preschoolers with this fun, interactive lesson plan about animal diets! Features matching activities and pretend ...