Tutorpip
How it worksFree lessonsWorksheetsBlogPricing
Sign in
  1. Free worksheets
  2. Coding

Free for every family

Free coding worksheets, ages 5+, 8+ and 10+

79 lessons of coding ideas on paper, from following steps in order and finding a bug to loops, decisions and variables, and for older children a first look at Python. Every lesson has printable worksheets with an answer key and a plain explanation so a grown-up can help.

  • Free to print
  • No sign-up or email
  • Answer keys included
  • For ages 5+, 8+ and 10+
  • No computer needed
Ages 5+: 20 lessonsAges 8+: 34 lessonsAges 10+: 25 lessons
Tutorpip
CodingCodingLesson notes

The coding book

Notes for 79 lessons in one PDF, free.

Download the bookSee inside
5+

Ages 5+

Following arrows in order, doing it again, left and right, spotting a bug, and patterns. No computer needed; a grown-up reads along.

Step by step

  • Socks onShoes onWalk down thepathReach the star
    5+

    Follow the arrows

    ASheetNotes
  • 🤖
    5+

    Left and right

    ASheetNotes
  • Look all aroundTrace a planwith a fingerTap GoIf Bo bumps,fix the plan
    5+

    Plan before you go

    ABCSheetNotes
  • Blue blockYellow blockGreen blockThe towerstands
    5+

    Same steps, same result

    ASheetNotes
  • Wash yourhandsLay out twoslices ofbreadSpread jamon oneslicePut theother sliceon topCut it inhalf andeat
    5+

    Make a sandwich program

    ABCSheetNotes
  • ClapStompSpinBow
    5+

    Dance moves in order

    ASheetNotes
  • Simon says...• Simon says clap• Simon says spin• Simon says hopNo Simon says• Jump• Wave• Touch your toes
    5+

    Simon says

    ABCSheetNotes

Loops

  • Long way• Pour• Pour• Pour• PourLoop• Pour, four times
    5+

    Do it again

    ASheetNotes
  • Goes again and again• A ticking clock• A beating drum• A turning wheel• Waves on a beachHappens just once• A falling leaf• A sneeze• A slide down• A door shutting
    5+

    Spot the repeat

    ABCSheetNotes

Finding bugs

  • Cards: paint,paint, paintThe brush isdryAdd a card: dipthe brushBlue fence
    5+

    Oops, a bug

    ASheetNotes
  • Run the stepsslowlyFind the stepthat bumpsChange that onestepRun it again
    5+

    Fix the path

    ASheetNotes
  • Make the stepsTry the stepsSee whathappenedFix one thingand around again
    5+

    Try it and try again

    ABCSheetNotes

Patterns and algorithms

  • A pattern• blue, yellow, blue, yellow• clap, stomp, clap, stomp• big, small, big, smallNot a pattern• blue, yellow, yellow, green• cat, dog, dog, bird
    5+

    Pattern train

    ABCSheetNotes
  • Say the part thatrepeatsFind where you are initAdd the next one
    5+

    Next in the pattern

    ASheetNotes
  • The same as Mia's• star, moon, star, moonDifferent• moon, star, moon, star• star, star, moon, moon
    5+

    Copy the pattern

    ASheetNotes
  • Blue box: round• a ball• a coin• an orange• a clockYellow box: corners• a book• a gift box• a block• a picture frame
    5+

    Sort by rules

    ABCSheetNotes

How computers work

  • A computer• a tablet• a laptop• a game player• Bo the robotNot a computer• a ball• a spoon• a book• a shoe
    5+

    What is a computer?

    ABCSheetNotes
  • In: we tell it• keyboard• mouse• microphone• cameraOut: it tells us• screen• speaker• headphones• printer
    5+

    Inputs and outputs

    ABCSheetNotes
  • Get the breadOpen the jarSpread the jamPut the slicestogether
    5+

    Computers follow instructions

    ASheetNotes
  • Clear steps• take two steps forward• turn around• pick up the star• stand stillNot clear• go over there• do the thing• walk somewhere nice
    5+

    Unplugged: be the robot

    ABCSheetNotes
8+

Ages 8+

Loops, if this then that, variables, flowcharts, binary, and how the internet sends messages.

Step by step

  • Split it intopartsName each partRun and checkone partAdd the nextpart
    8+

    Longer programs

    ABCSheetNotes
  • The shape• oval• box• diamond• arrowWhat it means• start or end• do something• ask a question• show the way
    8+

    Planning with a flowchart

    ABCSheetNotes
  • Inside the C• runs every time round• move forward• turn (after the fix)Outside the C• runs just once• before it: once, first• after it: once, last
    8+

    Programs in blocks

    ABCSheetNotes

Loops

  • Outside 3, inside 4• before both loops: 1 time• inside the inside loop: 12 times• after the inside loop: 3 timesHow to work it out• once• 3 x 4 = 12• once for each round of 3
    8+

    Loops inside loops

    ABCSheetNotes
  • Counting loop• repeat 10 times• stops at ten• you must know the numberRepeat until• repeat until full• stops when the check says yes• works for any size
    8+

    Repeat until

    ABCSheetNotes
  • Counter at zeroDo the stepCounter up byoneReached thenumber? Stop
    8+

    Counting loops

    ASheetNotes
  • Counting loop• repeat 5 times: hop• stops by itself• after 5 hopsForever loop• forever: dance• never stops by itself• needs a way out
    8+

    Forever loops and how to stop

    ABCSheetNotes

Decisions

  • If part• the soil is dry• it is raining• the bell ringsThen part• water the flowers• open the umbrella• line up
    8+

    If this, then that

    ABCSheetNotes
  • Ask thequestionPick one pathFollow thatpathMeet up again
    8+

    If and else

    ABCSheetNotes
  • 1follow the road2if the floor is yellow3 stop4if the touch sensor is pressed5 back up
    8+

    Sensing: touching and color

    ABCSheetNotes
  • 1Does it have wings? no2Does it live in water? no3Does it say meow? no4It is the dog!
    8+

    Choosing with questions

    ABCSheetNotes
  • 1if key turned AND code typed2 open the door3if front OR side button4 ring the bell5if NOT bright6 light the porch lamp
    8+

    And, or, not

    ABCSheetNotes

Finding bugs

  • Run itOne step ata timeFind thestep thatgoes offChange onestepRun itagain
    8+

    Debugging step by step

    ABCSheetNotes
  • A pushed-in line• belongs to the repeat above it• happens every time roundA line not pushed in• happens just once• is not part of the repeat
    8+

    Reading code out loud

    ABCSheetNotes
  • 1pour the juice2put the cup down3hand it over
    8+

    Why did it break?

    ABCSheetNotes
  • Write theanswer youwantTry anexampleCompareLook in theprogramFix it andtry again
    8+

    Testing with examples

    ABCSheetNotes

Patterns and algorithms

  • 1take two slices of bread2take the lid off the jam3spread jam on one slice4press the slices together
    8+

    Algorithms for everyday tasks

    ABCSheetNotes
  • The pair• 4 and 2: swap• 4 and 5: leave• 5 and 1: swap• 5 and 3: swapThe row after• 2, 4, 5, 1, 3• 2, 4, 5, 1, 3• 2, 4, 1, 5, 3• 2, 4, 1, 3, 5
    8+

    Sorting by hand

    ABCSheetNotes
  • Tower• 1 has 4• 2 has 9• 3 has 3• 4 has 12• 5 has 7The box holds• 4• 9• 9• 12• 12
    8+

    Finding the biggest

    ABCSheetNotes
  • Open the nextboxIs this theone?Yes: stoplookingNo: go on tothe next box
    8+

    Searching a list

    ABCSheetNotes

Variables and data

  • Find a boxLabel it: starsPut three starsinDrop in onemore
    8+

    What is a variable?

    ABCSheetNotes
  • put 1 in stars• 1st star: 1• 2nd star: 1• 3rd star: 1put stars + 1 into stars• 1st star: 1• 2nd star: 2• 3rd star: 3
    8+

    Counting stars with a variable

    ABCSheetNotes
  • 1st box:index 02nd box:index 13rd box:index 24th box:index 35th box:index 4
    8+

    Lists of things

    ASheetNotes
  • Random• rolling a dice• spinning a spinner• a card from a shaken bag• shuffling a pack of cardsNot random• counting one, two, three• the days of the week• a pattern that repeats• the steps of a recipe
    8+

    Random numbers

    ABCSheetNotes
  • The helper• Tavi• Mina• BoDoes this• switches on the lights• plays the music• opens the curtain
    8+

    Messages and events

    ABCSheetNotes

Build a project

  • FlagclickedGo to thestartMove 120stepsTurn leftMove 80steps
    8+

    A moving sprite

    ABCSheetNotes
  • Ask thequestionKeep the answerin a boxCheck it withif elseReply
    8+

    Make a quiz

    ABCSheetNotes
  • Flag: setapples to 0Apple touchesthe basketchange applesby 1The box shows1, 2, 3
    8+

    A game that counts

    ASheetNotes
  • The dragon• when flag clicked• say Follow me!• broadcast caveThe cave scene• when I receive cave• switch backdrop to cave
    8+

    A story with scenes

    ABCSheetNotes
  • Pitch• high or low• not how loudLength• how long it rings• counted in beats
    8+

    Sound and music blocks

    ASheetNotes
  • Turn 80 degrees• four turns: 320 degrees• less than a full spin• a gap is leftTurn 90 degrees• four turns: 360 degrees• a full spin• the square closes
    8+

    Draw with code

    ABCSheetNotes

How computers work

  • 01020304021 lamp42 lamps83 lamps164 lamps325 lampspatterns
    8+

    Binary: on and off

    ABCSheetNotes
  • 050100150200250300164 by 4648 by 825616 by 16squares in the grid
    8+

    Pixels and pictures

    ABCSheetNotes
  • arrived: 4 1 6 3 5 2in order: 1 2 3 4 5 6
    8+

    How the internet sends messages

    ABCSheetNotes
10+

Ages 10+

Logic and truth tables, planning a project, hardware and software, and a first look at Python written on paper.

Variables and data

  • A list fits• steps to wash hands• racers in finishing order• songs played in orderA dictionary fits• words and meanings• snacks and prices• names and colors
    10+

    Dictionaries and tables

    ABCSheetNotes
  • Keeps its data• a file on the computer• a saved table of rowsForgets it• a variable• a number held in memory
    10+

    Data from a file

    ABCSheetNotes

Build a project

  • Version one• the ship moves• stars fall• catching countsCan wait• music• ten levels• a fancy menu
    10+

    Plan a project

    ABCSheetNotes
  • The ship• moves with the arrow keys• stays on the screenThe rocks• fall from a random spot• get faster each level
    10+

    A larger game

    ABCSheetNotes
  • What Zoe found• the ship left the screen• the start button was tiny• a rock froze in the skyWhat Mina did• added walls at the edge• made the button big• fixed the biggest first
    10+

    Share and test your project

    ABCSheetNotes
  • Start atthe topUse thenames ascluesRun it byhandCheck thecommentsTry onechange
    10+

    Reading other people's code

    ABCSheetNotes

Python

  • Write a lineRun itPython readsthe top lineThen the nextline down
    10+

    Hello, Python

    ABCSheetNotes
  • Look in the box: 3Add one: 4Put the 4 back in thesame box
    10+

    Variables in Python

    ABCSheetNotes
  • Four Python lines012345652 + 339 - 662 * 315 - 4
    10+

    Numbers and math in Python

    ABCSheetNotes
  • 1print(len("robot"))2print(len("Zara Bo"))
    10+

    Strings

    ABCSheetNotes
  • Keeps text• name = input("Name? ")• age = input("Age? ")Keeps a number• age = int(input("Age? "))• stars = int(input("Stars? "))
    10+

    Input from the user

    ABCSheetNotes
  • Check the conditionTrue: run the linesunder ifFalse: run the linesunder else
    10+

    If in Python

    ABCSheetNotes
  • Reach the forlineRun thepushed-in linesTurns left? Goround againThen run thenext line down
    10+

    Loops in Python

    ASheetNotes
  • Make the listAdd the kiwiCount the boxesFetch the lastbox
    10+

    Lists in Python

    ASheetNotes
  • def writes therecipeNothing happensyetA call runs itThe linesinside run
    10+

    Functions

    ASheetNotes
  • The name says• NameError• SyntaxError• IndexError• IndentationError• TypeErrorIt means• cannot find a name• a piece missing or extra• no box with that number• not pushed in right• text and a number mixed
    10+

    Reading error messages

    ASheetNotes
  • Store thesecretAsk for a guessCompareSay low, highor win
    10+

    A small guessing game

    ABCSheetNotes
  • The shape• triangle: 3 sides• square: 4 sides• pentagon: 5 sides• hexagon: 6 sidesEach turn• 120 degrees• 90 degrees• 72 degrees• 60 degrees
    10+

    Turtle drawing

    ASheetNotes

Logic and puzzles

  • Rows in a truth table0510152021 switch42 switches83 switches164 switchesrows
    10+

    Truth tables, simply

    ASheetNotes
  • The clue• Sam's pet has no fur• Ada's pet does not barkWhat it tells us• Only the fish has no fur• Dogs bark, so not the dog
    10+

    Logic puzzles

    ABCSheetNotes

How computers work

  • Hardware• screen• keyboard• battery• speaker• cameraSoftware• drawing app• game• web browser• music player• operating system
    10+

    Hardware and software

    ABCSheetNotes
  • The programwaits inmemoryYou pressrunTheprocessorreads oneIt doeswhat itsaysIt moves tothe nextone
    10+

    How a program runs

    ASheetNotes
  • 1if the table is close:2 turn3else:4 go forward
    10+

    Sensors and robots

    ABCSheetNotes
  • Many labelledphotosIt findspatternsIt guesses anew photoPeople checkthe answer
    10+

    AI and machine learning

    ABCSheetNotes
  • Put in• what happened• what you expected• how to make it happen againLeave out• your real name• private details
    10+

    Open source

    ABCSheetNotes

Questions

Are these really free?

Yes. Every coding worksheet and the coding book on these pages are free to download and print, with no account and no email.

Which ages are they for?

There are three bands. Ages 5+ follow steps, repeat them and fix a bug with pictures and a grid; a grown-up reads each question aloud. Ages 8+ look at loops, decisions, variables and how computers send messages. Ages 10+ plan a project and take a first look at Python. Coding is its own pack, banded by age, so it does not belong to a school grade.

Do we need a computer?

No. The sheets are printed and done with a pencil: tracing a robot's path, writing the steps, filling in a table. Nothing is run on a computer, and a child's answers are never run as code.

What are Sets A, B and C?

A set is a different sheet on the same lesson. Set A is written for the lesson. Where a lesson has Sets B and C, they give more practice. Every set can be downloaded with its answer key on the last page.

Does my child need to know how to code first?

No. The first lessons start from following a list of steps in order, and each band builds on the one before.

Want it taught aloud?

Tutorpip's tutor walks a child through each idea with a robot and other puzzles, and a few lessons are free to try. These printable sheets are free either way.

Play free lessons
Tutorpip

Learning, time and money sense with Pip and Sensei, Pre-K to Grade 6.

  • Safety
  • Free and trial
  • Terms
  • Privacy
  • Contact
  • Free lessons
  • Free worksheets
  • Free books
  • Blog
  • Pricing
  • Give a gift
  • Sign in