Computers and Coding

Understand the idea

A computer represents information and performs operations according to instructions. A program is a set of instructions expressed in a form a computer can follow. An event can start an action, a loop can repeat a sequence, and a conditional selects an action based on a stated condition. Debugging means finding and correcting the difference between intended and observed behavior.

Coding is one way to express a plan. Not every problem requires a computer. For young children begin with paper symbols or a pretend character, and introduce a visual programming tool only when it helps the story.

Animate a paper character

Draw a grid and make large arrow cards. Choose a character and a destination. The child arranges the commands; the adult follows them with the paper character.

Child: Forward, forward, turn.

Parent: I’ll move two squares, then turn. Which direction?

Child: Right.

Parent: Now the character faces the pond. Your story said she wanted the tree.

Child: Change to left.

Parent: Let’s replace that card and run the sequence again.

If the child wants the pond instead, revise the story goal. If she repeats a command many times, offer a paper “repeat three times” card and check whether the shortened sequence produces the same result.

A choice in the story

Use two paper paths: if the character sees a red sign, it stops; otherwise it continues. The child chooses the sign arrangement and narrates the result. These fictional commands are about the game, not permission to make real-world road decisions.

Connect to Algorithms and Instructions, Patterns and Sequences, and Maps and Directions.

Resources

  • ScratchJr: official visual programming tool designed for ages 5–7. Use one short parent-guided character story on a supported device if desired; page checked, app not run.
  • PBS KIDS computational thinking activities: offline activity ideas. Prefer paper cards for a child who does not want screen time.

Quick reference

“Start the program.” · “Repeat that move.” · “If this happens, then…” · “Change the instruction.” · “Let’s run it again.”