Phi Learning — WorldWiseKids
Technology

Intro to Coding

The big ideas behind every program — using friendly block code.

3 lessons in this unit.

Learning goals
  • the learner can explain that code is a set of instructions a computer follows
  • the learner can describe why instructions must be clear and in order
  • the learner can identify everyday examples of step-by-step instructions
  • the learner can use the word algorithm to describe a set of steps
Key ideas
Code
Code is a list of instructions written in a special language that tells a computer exactly what to do.
Algorithm
An algorithm is a step-by-step plan for solving a problem, like a recipe for baking cookies.
Computer
A computer is a machine that follows instructions very fast but only does exactly what it is told.
Programmer
A programmer is a person who writes the instructions that tell a computer how to work.
Hands-on activity
The Robot Sandwich Game
2 slices of breadpeanut butter or jama butter knifea platepaper and pencil
  1. Tell your child they are going to program YOU like a robot. You will do only exactly what they say, nothing more.
  2. Ask them to write down step-by-step instructions for making a sandwich. Remind them to be very specific.
  3. Follow their instructions literally. If they write 'put peanut butter on the bread' without saying to open the jar first, pretend to try to spread with the closed jar.
  4. After any mix-ups, discuss together what went wrong and how to fix the instruction.
  5. Rewrite the corrected steps and try again until the sandwich is made successfully.
  6. Explain that a computer follows instructions the same way — it cannot guess what you mean.
Teaching tips
  • Lean into the silly moments when you follow bad instructions literally — the laughter makes the lesson stick.
  • If your child is frustrated, remind them that even professional programmers debug and rewrite instructions all the time.
  • You can substitute any simple task (drawing a shape, building with blocks) if nut allergies are a concern.