Ages 9–14 · Grades 5–8 · Computer Science
BugTales
Every character has one bug they always make: read what they wrote, mark the line you think is wrong, then reveal what it really does.
These programs are written in a teaching subset of the Swift language.
Loading the debug lab…
Meet the cast — the characters who teach this
-
Offby always stops one too soon or goes one too far -
Equals says make this equal when it meant is this equal -
Andor wants both things but asks for either one -
Range reaches for an item that isn't there -
Zero tries to share something into zero groups -
Hush runs with no error but quietly gets the answer wrong -
Forever goes round and round and never stops
What next? Pick a door
- More like this TraceForge What will this program print? SyntaxForge Which piece completes the program? EventForge When this happens, what should the app do?
- A bit harder GateForge Which gates make the light come on? ScriptQuest What will this tiny program do? DoodleForge What will this little loop draw?
- Something different HarmonyForge Which notes make this chord? NewsForge Is this claim true? How do you check? MasteryForge Ready for the next problem at your edge?