From Code Chaos to AI Clarity: Teaching Students to Think Before They Type

Idea

  1. Describe each sub-problem separately – Instead of dumping a huge question into ChatGPT, they had to refine their prompt into smaller, well-structured pieces.
  2. Solve the problem conceptually – No code, just thinking.
  3. Write a pseudocode outline – List every major step needed.

This wasn’t just about making AI-generated responses better (though it certainly helped).

Now

Spring 2025, Programming II. Different class, same challenge

  1. solve the problem on paper,
  2. write a pseudocode outline, and
  3. refine it into a well-structured prompt for generative AI.

Guess what happens? AI gives them actual useful code—because they gave it something useful to work with!

And even better:

What I’ve learned

Teaching programming in the age of AI isn’t about resisting automation—it’s about teaching students how to think. By making them break down problems, articulate solutions in pseudocode, and then leverage AI, they’re developing the core skills that will be relevant no matter how powerful AI becomes.