🛠️ Projects · Grades 4–5
Algorithm Adventures: Think Like a Programmer
Sort, search, find the shortest path, count the ways — and build your own games!.
A free projects workbook for kids, ages 9–13 (Grades 4–5): 198 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.

🏆 Your certificate
🏆 Your certificate is waiting!Finish every page of this book (all lessons and tasks) to unlock it.0 of 198 pages done · 198 to go · Keep going →
📚 Similar books
What is inside
Think Like a Programmer · 18 pages
- Meet Robo
- Steps in the Right Order
- Pseudocode
- Variables Are Boxes
- Loops: Do It Again
- Decisions: IF and ELSE
- Lists and Positions
- Find the Tallest
- Find the Biggest: The Plan
- Best So Far
- Counting
- Linear Search
- Binary Search
- Binary Search: The Plan
- Halving Is Fast
- Real Code
- Find the Bug
- Chapter 1 Challenge
Sorting by Swapping · 18 pages
- The Messy Line
- Why Sort?
- Bubble Sort: The Idea
- Bubble Sort: The Plan
- Run It: One Pass
- Your Turn: Pass 1
- Sort It All
- Lucky and Unlucky Lists
- Selection Sort: The Idea
- Selection Sort: The Plan
- Run It: Selection Sort
- Your Turn: Selection Sort
- ABC Order
- Biggest First
- Bubble or Selection?
- Sorting Detective
- Real Code: Bubble Sort
- Chapter 2 Challenge
Clever Sorting and Counting · 18 pages
- Cards in Your Hand
- Insertion Sort: The Plan
- Run It: Insertion Sort
- Your Turn: Insertion Sort
- Count the Moves
- The Quiz Scores
- Counting Sort: The Plan
- Run It: Count, Then Write
- Your Turn: Counting Sort
- Sort the Letters
- Count and Write
- Anagram Detective
- Two Lines Become One
- Merge: Run It
- Your Turn: Merge
- Merge Sort: Split and Merge
- The Speed Race
- Chapter 3 Challenge
Stacks: Brackets in Order · 18 pages
- A Stack of Plates
- Push and Pop
- Brackets That Match
- The Smart Idea
- The Plan
- Run It the Kid Way
- Run It: Two Wrong Ones
- Your Turn: Stack Heights
- Right or Not?
- Where Does It Go Wrong?
- Which Bracket Is Missing?
- Mixed Up: ([)]
- The Undo Button
- Reverse a Word
- How Deep Does It Go?
- Fix-It Puzzles
- Real Code
- Chapter 4 Challenge
BFS: Can I Get There? · 18 pages
- Can Mina Get There?
- Dots and Lines
- Two Islands
- Locked Doors
- Ripples in a Pond
- Wait in Line!
- BFS: The Plan
- Run It: Watch the Queue
- Your Turn: Wave Numbers
- Reachable or Not?
- BFS on a Grid
- Your Turn: Robo's Steps
- Walk Back from the Goal
- Walls and Dead Ends
- No Way Through?
- Real Code: BFS
- Fire! Two Starts
- Chapter 5 Challenge
Dijkstra: The Shortest Road · 18 pages
- Mina's Bike Ride
- Numbers on the Roads
- Counting Is Not Enough
- Finish the Closest Town
- Dijkstra: The Plan
- Run It: Round by Round
- Distances on the Map
- Your Turn: Every Distance
- Follow "Came From"
- Two Routes
- One-Way Streets
- Your Turn: One-Way Map
- Bus Travel Times
- Delivery Robot
- Real Code: Dijkstra
- Road Closed!
- The Second Best Road
- Chapter 6 Challenge
DP: Count the Ways · 18 pages
- Robo Climbs the Stairs
- Count by Hand
- Too Many to Count
- The Last Hop
- The Memory Table
- Stairs: The Plan
- Run It: Fill the Row
- Your Turn: Fill the Row
- Hops of 1, 2 or 3
- Paths to School
- Grid Paths: The Plan
- Your Turn: Fill the Grid
- Puddles!
- Coin Combinations
- Coins: The Plan
- Domino Tiles
- Next Level Puzzles
- Chapter 7 Challenge
DP: Make the Best Choice · 18 pages
- The Fewest Coins
- Biggest First Can Fail
- The Smart Idea: Best Table
- Fewest Coins: The Plan
- Your Turn: Fewest Coins
- The Treasure Cave
- Treasure: The Plan
- Your Turn: Treasure Cave
- Follow the Arrows Back
- Pack the Backpack
- Backpack: Take It or Leave It
- Run It: The Backpack Table
- Your Turn: Add the Trophy
- No Two Neighbours
- Neighbours: Plan and Run
- Your Turn: Pick the Trees
- The Cheapest Way Up
- Chapter 8 Challenge
Segment Trees: Fast Range Sums · 18 pages
- Many Questions
- The Slow Way
- Running Totals
- Fill the Running Totals
- One Number Changes
- A Tree of Sums
- Build: The Plan
- Build It Yourself
- Ask with Whole Boxes
- Ask: The Plan
- Pick the Boxes
- Change One Number
- Change: The Plan
- Fix the Tree
- Why Is It Fast?
- Real Code
- Biggest in a Range
- Chapter 9 Challenge
Game Lab: Move, Speed and Gravity · 18 pages
- What Is a Game?
- The Game Screen
- The Game Loop
- The Game Loop: The Plan
- Moving with Speed
- Run It: Frame by Frame
- Keys Change the Speed
- Stop at the Edge
- Wrap Around
- Moving Diagonally
- Gravity: Falling Faster
- Gravity: Frame by Frame
- Real Code: A Falling Ball
- Jumping
- Bouncing
- Friction: Slowing Down
- Mini Project: Ball Game
- Chapter 10 Challenge
Game Lab: Rocket Battle · 18 pages
- Rocket Battle!
- Design the Game
- Move the Rocket
- Fire Bullets: A List
- Run It: Bullets
- Circle Targets
- Hit or Miss?
- The Bullseye
- Two Circles Touch
- Rocket vs. Aliens
- Aliens on the March
- Score, Lives, Game Over
- Levels Get Faster
- The Whole Game, Part 1
- The Whole Game, Part 2
- Find the Game Bug
- Chapter 11 Challenge
- Algorithm Adventurer
✏️ 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
Grade 4 · Math StandardMath · Ages 9–10The whole Grade 4 math course, step by step, with lots of practice300 pagesGrade 4 · Math AdvanceMath · Ages 9–10Deeper math, early algebra and multi-step real-life challenges300 pagesGrade 4 · Math ChampMath · Ages 9–10Contest and olympiad thinking, logic, geometry and algorithms300 pagesMath Lessons & Practice · Grade 4Math · Ages 9–10260 pages of easy lessons, pictures that move, practice and answers260 pagesMath Lessons & Practice · Grade 5Math · Ages 10–11260 pages of easy lessons, pictures that move, practice and answers260 pagesMath Lessons Part 2: Challenge & Games · Grade 4Math · Ages 9–10Tricks, puzzles, logic, games and contest problems that go beyond Grade 4300 pages











