Teaching Code
Trace Tables: Teaching Beginners to Run Code on Paper
A student shows me a loop that should add the numbers from 1 to 10 and prints 45 instead of 55.
Problem solving coach, page 2 of 7
Selene coaches students for programming contests. She writes about practice problems, debugging and the habits that help beginners get unstuck on their own.
Teaching Code
A student shows me a loop that should add the numbers from 1 to 10 and prints 45 instead of 55.
First Steps
You ask an AI chatbot to write a Python program that counts words in a file, it hands you 14 working lines, and you feel great...
Python and Practice
You understand for loops, then a while loop runs forever and your laptop fan starts screaming.
Teaching Code
You write a factorial function on the board, explain that it calls itself, and watch a room of beginners go quiet in the bad...
Python and Practice
Most beginner programs spend their time handling text: names typed by users, lines read from files, messages printed back to...
First Steps
You open a blank file, you know roughly what the program should do, and nothing comes out of your fingers.