🏆 Olympiad & Challenge · Grades 4–5

Programming Olympiad: Think Like a Coder · Global edition

Think like a coder: algorithms, loops, search and more.

A free olympiad & challenge workbook for kids, ages 9–13 (Grades 4–5): 200 pages to do right on the screen (write, circle, join, draw and color, then check the answers) or to print. Every page is free for everyone, with no sign-up.

Programming Olympiad: Think Like a Coder: the cover

🏆 Your certificate

🏆 Your certificate is waiting!Finish every page of this book (all lessons and tasks) to unlock it.
0 of 200 pages done · 200 to go · Keep going →

🧭 Learning path

Books that help before this one, and where to go after it.

📖 This book
Programming Olympiad: Think Like a CoderGrades 4–5

📚 Similar books

AlgorithmsLoopsLogicSearchSortOlympiad

What is inside

Algorithms Everywhere · 20 pages

  1. Welcome, Young Coder!
  2. What Is an Algorithm?
  3. Order Matters
  4. Be Exact!
  5. Robo on a Grid
  6. Grid Practice
  7. Write the Program
  8. Walls in the Way
  9. Find the Bug
  10. Turn Left, Turn Right
  11. The Turning Robot
  12. Input, Steps, Output
  13. Flowcharts
  14. A Fair Sharing Algorithm
  15. Unplugged: Human Robot
  16. Bebras Corner 1
  17. Bebras Corner 2
  18. Chapter 1 Quiz
  19. Chapter 1 Quiz 2
  20. Chapter 1 Review

Variables and Steps · 20 pages

  1. The Magic Boxes
  2. Making a Variable
  3. Changing a Box
  4. Trace Tables
  5. Trace It Yourself
  6. Words in Boxes
  7. Maths in Code
  8. The Remainder Trick
  9. Swapping Two Boxes
  10. Piggy Bank
  11. Order of Steps
  12. Asking the User
  13. Mini Calculator
  14. Good Box Names
  15. Bug Hunt: Variables
  16. Real Life: Game Score
  17. Olympiad Trace 1
  18. Olympiad Trace 2
  19. Chapter 2 Quiz
  20. Chapter 2 Review

Loops · 20 pages

  1. Robo Gets Bored
  2. The Repeat Block
  3. for Loops in Python
  4. Counting with range
  5. Adding in a Loop
  6. Gauss and the Loop
  7. Patterns with Loops
  8. Times Tables
  9. While Loops
  10. The Chessboard Rice
  11. Loop Bugs
  12. Loops Inside Loops
  13. Robo Draws Shapes
  14. Loop Detective
  15. Unplugged: Dance Loops
  16. Real Life: Machines
  17. Olympiad Loops 1
  18. Olympiad Loops 2
  19. Chapter 3 Quiz
  20. Chapter 3 Review

Decisions and Logic · 20 pages

  1. The Umbrella Question
  2. if in Python
  3. if and else
  4. Comparing Numbers
  5. elif: Many Choices
  6. Ticket Prices
  7. and, or, not
  8. Truth Tables
  9. Logic Gates
  10. Even or Odd?
  11. The FizzBuzz Game
  12. Leap Years
  13. Decisions in Loops
  14. Bug Hunt: Logic
  15. Unplugged: 20 Questions
  16. Real Life: Traffic Lights
  17. Olympiad Logic 1
  18. Olympiad Logic 2
  19. Chapter 4 Quiz
  20. Chapter 4 Review

Lists and Searching · 20 pages

  1. The Lunch Box Train
  2. Making a List
  3. Counting from Zero
  4. Changing Lists
  5. Looping over Lists
  6. Find the Tallest
  7. Linear Search
  8. The Lost Key
  9. Sorted Shelves
  10. Guess My Number
  11. Binary Search
  12. Dictionary Hunt
  13. How Many Guesses?
  14. Linear or Binary?
  15. Unplugged: Card Search
  16. Real Life: Phone Contacts
  17. Olympiad Lists 1
  18. Olympiad Lists 2
  19. Chapter 5 Quiz
  20. Chapter 5 Review

Sorting · 20 pages

  1. The Messy Line
  2. Why Sort?
  3. Bubble Sort
  4. One Bubble Pass
  5. Counting Swaps
  6. Bubble Sort in Full
  7. Selection Sort
  8. Selection Practice
  9. Insertion Sort
  10. Insertion Practice
  11. Sorting in Python
  12. Sorting Words
  13. The Fewest Swaps
  14. Counting Sort
  15. Sorting Networks
  16. Real Life: Sorting
  17. Olympiad Sorting 1
  18. Olympiad Sorting 2
  19. Chapter 6 Quiz
  20. Chapter 6 Review

Patterns and Recursion · 20 pages

  1. The Mirror Tunnel
  2. Functions First
  3. Functions That Return
  4. A Function Calls Itself
  5. Russian Dolls
  6. Factorial
  7. Fibonacci Stairs
  8. Stairs of 6
  9. Tower of Hanoi
  10. Hanoi Moves
  11. Solving 3 Discs
  12. Growing Trees
  13. Small Cases First
  14. Recursion Traces
  15. Unplugged: Hanoi with Coins
  16. Real Life: Folders
  17. Olympiad Recursion 1
  18. Olympiad Recursion 2
  19. Chapter 7 Quiz
  20. Chapter 7 Review

Grids, Mazes and Paths · 20 pages

  1. The Lost Puppy
  2. Grids in Code
  3. Counting Paths
  4. Paths in a 3 × 3
  5. Paths with Roadworks
  6. Flood Fill
  7. Counting Islands
  8. Waves from the Start
  9. Wave Practice
  10. Shortest Path, Step by Step
  11. Maze Race
  12. Roads and Towns
  13. The Cheapest Route
  14. Try Every Route
  15. Knight Moves
  16. Unplugged: Floor Maze
  17. Olympiad Grids 1
  18. Olympiad Grids 2
  19. Chapter 8 Quiz
  20. Chapter 8 Review

Clever Counting and Speed · 20 pages

  1. Two Ways to Add
  2. Counting Steps
  3. Loops in Loops Cost More
  4. Halving Is Fast
  5. The Phone Book Race
  6. Fast and Slow
  7. Counting Pairs
  8. Counting Choices
  9. Passwords and Locks
  10. Binary Numbers
  11. Binary Card Magic
  12. Powers of Two
  13. The Fake Coin
  14. Smart Shortcuts
  15. Unplugged: Binary Bracelet
  16. Real Life: Search Engines
  17. Olympiad Speed 1
  18. Olympiad Speed 2
  19. Chapter 9 Quiz
  20. Chapter 9 Review

Olympiad Finals · 20 pages

  1. Welcome to the Finals
  2. How to Solve a Task
  3. Final: Secret Codes
  4. Final: Parity Magic
  5. Final: Stacks of Plates
  6. Final: Queue at the Shop
  7. Final: Robot Programs
  8. Final: Loops and Ifs
  9. Final: Sorting
  10. Final: Mazes
  11. Final: Recursion
  12. Final: Logic
  13. Final: Binary
  14. Final: Speed
  15. Mock Exam Part 1
  16. Mock Exam Part 2
  17. Mock Exam Part 3
  18. Strategy Review
  19. Further Adventures
  20. Certificate
✏️ Do it on screenType answers, circle, join, draw and color with a finger, mouse or pencil.
✅ Check the answersEvery page checks itself and has an answer key for grown-ups.
🖨️ Print any pagePrint the whole book or a few pages, with or without answers.

More books like this