
They learned to ask AI better questions. Did they learn more code?
There’s a world of difference between asking a tutor to finish a problem and asking why your own answer went wrong. In an introductory programming course at the University of Toronto Mississauga, researchers taught students how to ask an AI assistant for the second kind of help. Could a short lesson change the questions they asked? Yes. Did the students who got the more elaborate lesson go on to earn higher marks on their programming final? The researchers couldn’t establish that. The experiment compared four kinds of instruction. At one end, students read a two-sentence reminder. At the other, they assembled and wrote prompts and received feedback. The table in the accepted paper tells a more interesting story than its headline. Immediately after instruction, learning-oriented prompting improved by 8 to 51 percentage points across the four groups. Six weeks later, the gains were smaller: 6 to 24 points above baseline. Practice left a mark, even as some of the improvement faded. For an instructor writing next term’s syllabus, that is useful news. A short exercise can teach a habit that a rule about “responsible AI use” leaves vague. But if the aim is to teach programming, ask students to solve a fresh programming problem as well. Of the students assigned to the four approaches, 431 completed all stages. There was no group assigned to avoid AI altogether, and a non-significant exam result isn’t proof that every teaching method works equally well.


