Recommended Grade Levels
Grades 3-5
Grades 3-5 coding challenge
Welcome to the Haunted House Debugging Challenge!
The friendly haunted house is full of bugs. The doors will not open, the witch cannot reach the moon, the potion recipe is scrambled, and the pumpkins are being carved in the wrong order.
Complete the six debugging challenges before midnight. Each correct answer will give you one letter. Put the letters together to unlock the final message and help the Halloween characters get ready for trick-or-treaters.
A TCEA educator resource · CC BY-NC 4.0 · Free to use and adapt with credit · Not for commercial use · No logins · No data collected
Enter the teacher password to view the guide and answer key.
Grades 3-5
Students practice debugging, sequencing, algorithm development, pattern recognition, directional language, spatial reasoning, if-then conditions, and testing instructions.
About 20 to 30 minutes.
Use individually, with partners, or as a whole-class projected activity. Partners can take turns as driver and checker.
Create your own Halloween algorithm with one intentional bug. Trade with a partner and see whether your partner can identify and fix the mistake.
Room
Final Unlock
Collected letters: _ _ _ _ _ _