Ages 9–14 · Grades 5–8 · Computer Science

BugTales

Real coders spend more time fixing code than writing it. Here, every character has one bug they always make — Offby goes one too far, Equals mixes up = and ==, Zero divides by nothing. You read what they wrote, mark the line you think is wrong, then reveal the real output, the fix, and write the bug report. Mark first — that is the reading move.

These programs are written in a teaching subset of the Swift language.

Loading the debug lab…