Find a course
Age level: Kids (7–11)BeginnerTechnology & Programming

Algorithms and Sequences for Kids

Think like a computer: steps, loops, choices, searching and sorting

⏱ 1 h3 modules · 7 lessons46 practice questionsFinal exam: 10 questions
First name and initial are enough.

For parents and teachers: no sign-up and no personal data. The certificate asks only for a first name and an initial. Progress is stored only in this browser.

Included with this course

Your certificate for this course

Finish the 7 lessons (about 1 h) and pass the 10-question final exam. Your Certificate of Achievement is ready the moment you pass.

  • Your name and this course titleIn big, bold letters
  • Grade: Pass, Merit or DistinctionOn the star medal, with your score
  • Unique ID and QR codeAnyone can verify it in seconds
  • Score report PDFModule-by-module results and exam score
  1. Lessons7 lessons
  2. Final exam10 questions · 70% to pass
  3. CertificatePDF + score report

What you will learn

  • Explain what an algorithm is and find algorithms in everyday life
  • Write clear, exact step-by-step instructions in the right order
  • Find and fix bugs in a set of instructions
  • Use loops to repeat steps and spot repeating patterns
  • Use if-then-else choices and read a simple flowchart
  • Search a list the slow way and the fast way, and explain why halving is quicker
  • Sort a list of numbers by comparing and swapping neighbors

About this course

Every time you brush your teeth, follow a recipe or play a board game, you are following an algorithm. An algorithm is just a list of steps that gets a job done. Computers can do amazing things, but only because people write very clear algorithms for them to follow.

In this course you will learn to think like a computer scientist, no computer needed. You will write step-by-step instructions for a silly robot, find out why the order of steps matters so much, and hunt down bugs, the mistakes that make a plan go wrong. You will discover loops, which let you repeat steps without writing them again and again, and if-then choices, which let a plan do different things in different situations.

Then you will meet some famous clever algorithms. You will learn how to find a number between 1 and 100 in just seven guesses, and how computers put things in order, from smallest to biggest. You will even try a few tiny pieces of real code.

The course is made for kids ages 7 to 11. Each step is short: read a little, then play. You will put steps in order, guide a robot, sort cards, spot mistakes and solve puzzles. If you get something wrong, you get a hint and another try.

At the end there is a short quiz. Pass it and you get a Certificate of Achievement with your first name on it.

For parents and teachers: the course takes about an hour, needs no account and works well as an unplugged coding activity before kids start block-based or text programming.

Syllabus

  1. What Is an Algorithm?

    Discover that algorithms are everywhere, learn why the order of steps matters, and become a bug detective.

    1. Algorithms Are Everywhere8 min
    2. Sequences: Order Matters9 min
    3. Bugs and Debugging8 min
  2. Loops and Choices

    Learn two powerful tools: loops that repeat steps for you, and if-then choices that let a plan react to what happens.

    1. Loops: Repeat It!9 min
    2. If-Then Choices9 min
  3. Searching and Sorting

    Meet famous clever algorithms: find things fast by cutting the list in half, and put things in order by comparing and swapping.

    1. Searching Smart9 min
    2. Sorting Things Out9 min
  4. Final exam and certificate

    10 questions drawn from a pool of 19. Score 70% or more to pass; retakes get a fresh set of questions.

Try a sample question

Which of these is an algorithm?

  1. A banana
  2. The color blue
  3. A recipe for chocolate chip cookies
  4. A sleepy cat
Show the answer

Answer: C. A recipe for chocolate chip cookies

A recipe is a list of steps that gets a job done, so it is an algorithm. A banana, a color and a cat are things, not lists of steps.

Algorithm
A list of steps, in order, that solves a problem or gets a job done.
Sequence
Steps that happen one after another in a set order.
Instruction
One single step that tells someone or something exactly what to do.
Program
An algorithm written in a language a computer can follow.
Bug
A mistake in instructions that makes them do the wrong thing.
Debugging
Finding and fixing bugs.

Frequently asked questions

What is an algorithm, in simple words?

An algorithm is a list of steps, in the right order, that solves a problem or gets a job done. A recipe, the directions to a friend's house and the rules for tying your shoes are all algorithms.

Does my child need a computer for this course?

Not really. Most activities are unplugged: putting steps in order, guiding a robot, sorting cards. A few optional steps let kids try tiny pieces of real JavaScript right in the browser.

What is the difference between an algorithm and a program?

An algorithm is the plan: the steps written in any language, even in drawings. A program is that plan written in a programming language so a computer can run it.

What is a bug?

A bug is a mistake in a set of instructions that makes it do the wrong thing. Finding and fixing bugs is called debugging, and every programmer does it every day.

What age is this course for?

It is written for children ages 7 to 11. Younger kids can do it with a grown-up reading along. It pairs well with our Coding for Kids course.

Why do kids need to learn about algorithms?

Breaking a big problem into small, ordered steps helps in math, writing, science and everyday life, not only in coding. It is the core of what teachers call computational thinking.

Sources and further reading

Related courses

KidsBeginner

Coding for Kids

Algorithms, loops, if-then, variables and bug hunting, then write real JavaScript

Technology & Programming
1 h7 lessonsCertificate
TeensBeginner

Python for Teens

Write real programs: games, quizzes and calculators from your first line of code

Technology & Programming
1 h 55 min10 lessonsCertificate
Adults & professionalsBeginner

JavaScript for Beginners

Variables, functions, arrays, objects, the DOM and async code

Technology & Programming
2 h 10 min12 lessonsCertificate
Adults & professionalsBeginner

Git and GitHub Basics

Track changes, branch safely and collaborate with pull requests

Technology & Programming
2 h12 lessonsCertificate
Adults & professionalsBeginner

Python for Beginners

Write real programs with variables, loops, lists, dictionaries and functions

Technology & Programming
2 h 15 min12 lessonsCertificate
TeensBeginner

Make Games with JavaScript

Code real browser games with variables, loops, canvas drawing, keys and collisions

Technology & Programming
2 h11 lessonsCertificate