When Professors Meet ChatGPT: How AI Is Reshaping Programming Problem Design
The AI Teaching Assistant You Didnât Know You Needed
If youâve ever taught a coding classâor taken oneâyou know the challenge of getting just the right problem set to make concepts click. Designing coding exercises that strike the right balance between difficulty, relevance, and engagement is more art than scienceâand it takes time, lots of time. But what if professors had a sidekick to help with this task? Not a TA, but an AI.
In a recent study, researchers explored how college instructors can team up with Large Language Models (LLMs)âlike ChatGPTâto co-create programming problems, model student mistakes, and even write feedback. The idea was simple, but powerful: blend the human judgment of seasoned instructors with the speed and breadth of AI to improve how we teach coding.
What they found is fascinatingâand it points to a future where AI isnât replacing educators, but becoming their creative partner in shaping better learning experiences.
Welcome to the world where professors and ChatGPT build better coding classroomsâtogether.
Why This Research Matters
Introductory programming courses (think: CS101) are the on-ramp to computer science. But creating meaningful, varied, and pedagogically sound exercises is a heavy lift for instructors, especially when trying to meet the needs of many different students. Add in the pressure to provide personalized feedback, and you get a high-effort, high-stakes situation.
So far, most conversations around ChatGPT in education have focused on how students are using itâsometimes causing concern. But what about instructors? Could AI help educators be more efficient, creative, and effective?
This study flips the script and puts instructors in the spotlight, examining how they can use LLMs to design better programming contentâand explores what works and what doesnât.
Meet INSIGHT: AIâs Classroom Assistant for Instructors
To test how effective AI really is in supporting educators, the researchers built a special tool called INSIGHT. INSIGHT is part teacherâs assistant, part brainstorming buddy. It has two key components:
Instructor Authoring Tool â Helps instructors craft programming problems, sample solutions (correct or intentionally wrong), and feedback. The AI can chip in to co-generate problems or point out patterns in student mistakes.
Student App â Where learners interact with these problems and receive tailored, real-time feedback based on common misconceptions.
Basically, instructors can input what they want to teach, and the AI helps fill in the blanksâoffering suggestions for exercises, detecting common pitfalls, and generating feedback.
This tool doesnât just let instructors use AIâit helps them work with it.
The Experiment: Going Guided vs. Going Free-Form
To see how helpful this collaboration could be, the study worked with three instructors who teach introductory programming. Each was given a chance to design programming problems using the INSIGHT tool in two different modes:
Unguided Mode: ChatGPT is all yours. No instructions, no examplesâsee what you can come up with.
Guided Mode: Structured prompts, examples, and best-practice advice from the research team to help instructors get the most out of ChatGPT.
Each instructor completed both rounds and was then interviewed to get their thoughts on what worked best.
Spoiler: both approaches had their pros and cons... but the real magic came in the mix.
What the Instructors Learned (and What We Can Learn Too)
1. AI is great for idea generationâbut humans still lead
Instructors found ChatGPT incredibly helpful for brainstorming new programming questions or generating variations. One said, âIt saved me from having to start from scratch.â But none of them felt comfortable using AI-generated content without reviewing it first. Trust was a big issue.
Thereâs still a gap between what AI can suggest and what an instructor is willing to greenlight.
Lesson for us all? LLMs can be powerful co-creatorsâbut youâre still the editor-in-chief.
2. Guidance makes AI much more useful
When instructors were given structured prompts, like âAsk for a problem that targets loops and conditionals for novice learners,â the AIâs output got betterâfaster.
One instructor mentioned, âThe guided way was more efficientâit helped me cover something I missed.â
But not everyone loved the structure. Some felt it pushed them toward too-standard problems. Creativity, it turns out, sometimes prefers chaos. One summed it up with: âUnguided was spaghetti-at-the-wallâbut some of the spaghetti was good.â
Bottom line: Prompt templates and guidance can improve quality and speedâbut donât box yourself in. Use them as rails, not walls.
3. ChatGPT isnât ready to give feedback solo
While the AI did generate detailed feedback for common student mistakes, instructors often found it too detailedâeven giving away the solution. That defeats the goal of helping students think through the problem.
One instructor put it bluntly: âItâs not what I want to give to the student.â
So when it comes to feedback, the AI is like an overenthusiastic tutorâhelpful, but a bit of a blabbermouth. The professors had to step in to filter and reframe the feedback into more helpful (and less hand-holding) hints.
Takeaway: Think of ChatGPTâs feedback as a draftânot the final word.
4. Experience matters
The more experienced an instructor was with ChatGPT, the better they navigated the unguided mode. Newer instructors found the structured prompts helpful, while seasoned ones were better at freelancing.
The study suggests training teachers on how to talk to AI (aka prompt engineering) could be just as important as giving them access.
Real-World Implications: A Smarter Way to Teach Code
So, what does all this mean beyond one study and three instructors?
This research presents a new model for educator-AI collaborationâone where LLMs boost teaching effectiveness rather than just automate tasks.
Personalized Practice: With the AI helping generate multiple variations of a problem, students can get fresh challenges aligned with their needs.
Faster Curriculum Design: Want five new loop problems by tomorrow? You donât have to spend all night.
Better Error Handling: If instructors can tag common student mistakes once, AI can help detect them and offer feedback again and again.
But most critically, it shows that AI tools like ChatGPT are not replacements for educators. Theyâre partnersâsparring partners, sounding boards, and co-authors.
Just like calculators didnât make math teachers obsolete, ChatGPT wonât replace coding instructors. Instead, it might just make them even better.
Key Takeaways
LLMs like ChatGPT can help instructors brainstorm and create programming problems, identify common student errors, and generate feedbackâbut they work best as collaborators, not solo operators.
Structured prompts and guidance increase the usefulness of AI outputs, especially for instructors less familiar with prompt-writing. But unguided use still has value for creative ideation.
AI-generated feedback often needs refining, as it can be too detailed or even give away answers. Human oversight is essential before sharing with students.
Instructor experience with prompt engineering mattersâthose comfortable with ChatGPT can leverage it more effectively, with or without structured help.
A hybrid model appears most promising: AI handles the grunt work and generation, while instructors shape and validate the results, ensuring alignment with learning goals.
Want to improve your own AI-assisted problem design? Start by thinking like a teacher. Be specific in your prompts, provide context (difficulty level, topic, common errors you want to address), and donât be afraid to edit what the AI gives you. Your job isnât just to accept AI outputâitâs to curate it.
This groundbreaking research points toward a classroom future where educators are empoweredânot replacedâby AI partners. And if the early signs are correct, tools like INSIGHT could be just the beginning of a smarter, more collaborative era in education.
Time to sharpen your prompts and fire up that AI teaching assistant. Class is in session.