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

Lesson 1: What Computers Actually Do

About 15-20 minutes -- Screen-free lesson

What You Will Learn

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

What Is a Computer, Really?

You probably use computers every day. Maybe you play games on a tablet, watch videos on a phone, or use a laptop for school. But have you ever stopped to think about what a computer actually does?

Here is the big secret: a computer is a machine that follows instructions. That is it. That is the whole thing. A computer does not think. It does not have ideas. It does not get creative. It just does exactly what it is told to do, one step at a time.

Computer: A machine that follows a list of instructions very quickly and very accurately. It does exactly what it is told -- nothing more, nothing less.

Talk About It

Ask your child: "If a computer only follows instructions, who do you think writes those instructions?" The answer is: people do! People who write instructions for computers are called programmers or coders.

Computers Are Everywhere

When you hear the word "computer," you might think of a laptop or a desktop with a screen and keyboard. But computers are hiding in lots of places you might not expect!

Computers You Might Not Know About

  • Traffic lights -- A computer inside tells the lights when to change from red to green
  • Microwaves -- A computer inside counts down the time and controls the heat
  • Cars -- Modern cars have dozens of computers controlling the engine, brakes, and more
  • Washing machines -- A computer decides how long to spin and when to add water
  • Video game controllers -- A computer reads your button presses and sends them to the game

Unplugged Activity: Computer Hunt

Walk around your house with your child. How many things can you find that have a computer inside? Look for anything with buttons, a screen, or a timer. Try to find at least 10 items!

Bonus: For each item you find, ask: "What instructions does the computer inside this thing follow?"

Computers Do Not Think

This is one of the most important ideas in this whole course. Pay close attention:

Computers do not think. They do not guess. They do not figure things out on their own. A computer can only do what someone has told it to do. If nobody gives it instructions, it just sits there doing nothing.

How Are Computers Different From People?

Imagine you ask a friend to get you a glass of water. Your friend knows what a glass is. They know where the kitchen is. They know how to turn on the faucet. You do not have to explain every tiny step.

But a computer is different. If you told a computer to "get a glass of water," it would not know what to do. You would have to tell it every single step:

  1. Stand up
  2. Turn left
  3. Walk forward 10 steps
  4. Open the cabinet
  5. Pick up a glass with your right hand
  6. Close the cabinet
  7. Turn right
  8. Walk forward 3 steps
  9. Put the glass under the faucet
  10. Turn the faucet handle to the left
  11. Wait 5 seconds
  12. Turn the faucet handle to the right

And even then, you would need even MORE steps! Computers need every tiny detail spelled out.

Talk About It

Ask your child: "What would happen if we forgot step 12 (turning off the faucet)?" This helps them understand that missing even one instruction can cause big problems.

What Is an Algorithm?

When you make a list of steps to do something, that list has a special name. It is called an algorithm.

Algorithm: A list of steps that tells you exactly how to do something. The steps must be in the right order and must be clear enough that anyone (or any computer) can follow them.

You already use algorithms every day, even if you did not know the word! Here are some algorithms you might recognize:

Unplugged Activity: Write Your Own Algorithm

Pick one of these activities and write down every step needed to do it:

  • Brushing your teeth
  • Making a bowl of cereal
  • Getting ready for bed
  • Building a tower with blocks

Try to write at least 8 steps. The more detail, the better! Remember, a computer would need every tiny step.

Why Does Order Matter?

When you follow an algorithm, the order of the steps is very important. Doing things in the wrong order can give you a very different (and often very wrong!) result.

Sequence: The order that steps happen in. In coding, doing things in the right sequence is one of the most important skills.

What Happens When the Order Is Wrong?

Imagine you are making a peanut butter sandwich. Here are two different sequences:

Correct order:

  1. Take out two slices of bread
  2. Open the peanut butter jar
  3. Spread peanut butter on one slice
  4. Put the other slice on top

Wrong order:

  1. Put the other slice on top
  2. Spread peanut butter on one slice
  3. Open the peanut butter jar
  4. Take out two slices of bread

The second version does not make any sense! You cannot put a slice on top before you have the bread out. Order matters.

Try It: Mixed-Up Steps

Here are the steps for washing your hands, but they are all mixed up. Can you put them in the right order?

  • Dry your hands with a towel
  • Turn on the water
  • Rub your hands together for 20 seconds
  • Put soap on your hands
  • Rinse the soap off
  • Turn off the water
  1. Turn on the water
  2. Put soap on your hands
  3. Rub your hands together for 20 seconds
  4. Rinse the soap off
  5. Turn off the water
  6. Dry your hands with a towel

What Is an Instruction?

Each single step in an algorithm is called an instruction. A good instruction tells you exactly one thing to do.

Instruction: One single step that tells someone (or a computer) exactly what to do. Good instructions are clear, specific, and describe just one action.

Good Instructions vs. Bad Instructions

Bad instruction: "Make breakfast."

This is too vague! What kind of breakfast? What do you need? Where is the food?

Good instructions:

  1. Open the refrigerator door.
  2. Take out the milk carton.
  3. Close the refrigerator door.
  4. Get a bowl from the cabinet above the sink.
  5. Get the cereal box from the pantry.
  6. Pour cereal into the bowl until it is half full.
  7. Pour milk over the cereal.

See the difference? Each step is clear and specific.

Talk About It

Ask your child: "Can you think of a time when someone gave you instructions that were confusing? What made them hard to follow?" This helps them see why clear instructions matter.

Check Your Understanding

Try these questions to see what you have learned:

1. What does a computer actually do?

Answer: A computer follows instructions. It does exactly what it is told to do, one step at a time. It does not think, guess, or have ideas on its own.

2. What is an algorithm?

Answer: An algorithm is a list of steps that tells you exactly how to do something. The steps must be in the right order and be clear enough that anyone can follow them.

3. Why does the order of instructions matter?

Answer: Doing steps in the wrong order gives you the wrong result. For example, you cannot put peanut butter on bread before you take the bread out. The order (sequence) must be correct.

4. Name two things in your house that have a computer inside them.

Answer: Many answers are correct! Some examples: a microwave, a TV, a phone, a tablet, a washing machine, a car, a video game console, a thermostat, a smart speaker, or a traffic light outside.

Key Takeaways

Ready for More?

Next Lesson

In Lesson 2, you will practice giving precise instructions with the famous peanut butter sandwich challenge!

Start Lesson 2

Module Progress

Great work finishing Lesson 1! Three more lessons to go.