Skip to content
Artificial Intelligence

Can Students Be Taught to Prompt AI? What a New Trial Found

A randomised trial published in Scientific Reports in November 2026 found that one short lesson improved students' AI prompting skills — and the gains lasted six weeks. But better prompts did not mean better exam scores. Here's what the study really shows.

By Editorial Team Published Updated 10 min read
A warm, inviting classroom scene with a student writing in a notebook beside a laptop showing a thoughtful AI conversation
A warm, inviting classroom scene with a student writing in a notebook beside a laptop showing a thoughtful AI conversation. Editorial illustration created with AI image tools.

Picture a Year 9 pupil stuck on question 4 of her maths homework at 8pm. She opens an AI chatbot, types “answer to question 4”, copies what comes back and closes the laptop. Now picture her typing “I’m in Year 9, I’m stuck on step two of this question, give me a hint but don’t tell me the answer.” Same pupil, same tool, very different evening. The gap between those two requests is what people mean by AI prompting skills — and a new randomised controlled trial suggests they can be taught quickly, with one important catch.

A note on how this article was compiled: this is a research-based article, not a hands-on study. Our editorial team makes no claim to have run or replicated the trial. Figures and dates were checked against the sources listed below in December 2026.

Key takeaways

  • In a trial with 431 university programming students, published in Scientific Reports on 28 November 2026, a short online lesson on writing prompts that ask AI to teach rather than solve improved the prompts students wrote.
  • The improvement was still there six weeks later, in a paper exam taken without AI — and the more active the lesson, the bigger the gain.
  • Final exam scores, though, did not differ between the groups. Better prompts make learning possible; they do not guarantee it.
  • The habit that lasted best was the guardrail: asking the AI not to give the answer. Almost nobody did that before being taught.
  • Ofcom found on 24 November 2026 that 81% of UK children aged 8 to 17 have used an AI chatbot in the last six months — and 53% of users use one for schoolwork or homework.

Why prompting skills matter now

The communications regulator Ofcom published new survey findings on 24 November 2026. Of the 2,004 children aged 8 to 17 it surveyed in the United Kingdom in August and September, 81% said they had used an AI chatbot in the previous six months. Among those users, 35% use one daily and 53% use one for schoolwork or homework. Adults, by comparison, sit at 64%.

The parents’ answers are the part that should worry schools. Of parents whose children use chatbots, 68% think their child uses them in a similar way to a search engine, and 49% worry their child may become lazy or outsource answers and thinking. Those two findings sit together uncomfortably. A search engine habit is exactly “answer to question 4” — and that is the kind of use the evidence warns about.

The best-known warning comes from a field experiment with nearly a thousand high school maths students, published in 2025. Pupils given a standard chatbot did better while practising, then scored 17% lower than pupils who had never had access once it was taken away. A version built with safeguards to protect learning largely removed that harm. A pupil using a general chatbot at home has no such safeguards unless she switches on a study mode or asks for them herself. Often, if the safeguards are going to exist at all, pupils will have to type them.

What the new trial tested

The study, by Ruiwei Xiao and colleagues at Carnegie Mellon University, the University of Toronto and the New Jersey Institute of Technology, ran in an introductory university programming course in Canada. All 1,024 students on the course were randomly assigned to one of four versions of an online lab, and 431 completed every stage of the study.

The lightest version was a two-sentence reminder to use AI as a tutor and not as a shortcut, which students read and acknowledged. The other three taught a six-part framework for a learning prompt:

  • The role you want the AI to play, such as a patient tutor.
  • Your level, so the explanation stays simple.
  • The context — the task, your work so far and what went wrong.
  • The exact difficulty you have.
  • A guardrail, asking the AI not to give you the solution.
  • A tutoring method, such as three guiding questions or a worked example of a similar problem.

In the second version students simply read three illustrated scenarios with example prompts. In the third they chose the best option for each part of the prompt and had their choices checked. In the fourth they chose and then wrote each part in their own words, with automated feedback when something was missing.

What happened to the prompts

At the start of term, students’ prompts scored 23% to 24% on the researchers’ rubric in every group. Very few asked the AI to hold back the answer, with scores for that part of the rubric between 4% and 7%. Straight after the lab, scores were 32% for the reminder group and 64%, 69% and 74% for the reading, choosing and writing groups. The more active the lesson, the better the prompts.

The test that matters came six weeks later, as an optional bonus question in the course’s paper final exam, answered by hand and without AI. Students had to write a prompt to help them learn a database topic the course had never covered. Scores were 31%, 39%, 40% and 47%. The guardrail habit lasted best. Compared with their starting point, the three groups who had been taught the framework were between 30 and 46 percentage points more likely to include one, against about 5 points for the reminder group.

A pupil who asks for a hint has not learned anything yet. They have made learning possible, which is a different thing.

Why better prompts did not mean better grades

Average final exam scores ranged from 67.2% to 71.0% across the four groups, and the authors report no difference between them. Students in every group said they kept using AI for learning, with average answers between once a week and more than once a week, and their confidence rose as their skill did.

The authors place the limit of the effect on the path from prompting skill to achievement. Knowing how to write a good prompt in an exam hall is one thing, and choosing to write it at 8pm, tired, with a deadline, is another. A single lab is also a small dose. Prompting is a way into learning, and the learning still has to happen afterwards.

There are limits for schools too. These were university students learning to code, and more than half of those enrolled did not finish every stage, although the drop-out rate was similar across groups. Voluntary use was self-reported. Nobody should claim from this study that a prompting lesson will raise GCSE grades, and the paper does not claim it.

The six-part learning prompt, in practice

You do not need a lab to use the framework. Here is how each part looks for a real homework problem.

Weak prompt: “Explain photosynthesis.”

Strong prompt: “Act as a patient tutor. I am a Year 10 student and I understand that plants make food from sunlight, but I get confused about what happens to the oxygen. I tried the worksheet question about why a plant in a sealed jar dies. Do not give me the answer — ask me three guiding questions, one at a time, and wait for my answer before moving on.”

Break it down:

  1. Role: “Act as a patient tutor.”
  2. Level: “I am a Year 10 student.”
  3. Context: “I understand that plants make food from sunlight… I tried the worksheet question about why a plant in a sealed jar dies.”
  4. Difficulty: “I get confused about what happens to the oxygen.”
  5. Guardrail: “Do not give me the answer.”
  6. Method: “Ask me three guiding questions, one at a time, and wait for my answer.”

The guardrail is the part to learn first, because it was the habit students lacked most and the one that lasted best. Give every pupil a line to keep in their planner or on the inside cover of an exercise book: “Help me work this out. Give me a hint or a question, not the answer.” It costs nothing and it changes what comes back.

For more prompt patterns that work across subjects, see How to Write Better AI Prompts, and for a full study method built around this idea, see How to Use ChatGPT for Studying.

What teachers and parents can do with this

Start with the guardrail sentence. It is the single cheapest intervention in the study, and the one with the longest-lasting effect. A homework letter that explains it in one paragraph would do more than a ban nobody can enforce at home — especially when most parents picture a chatbot as a search engine.

Make pupils write prompts, not just read good ones. The writing group did best in the trial, both straight away and six weeks later. A Year 10 science lesson might take a weak prompt such as “explain photosynthesis” and ask pairs to rebuild it with a role, their level, the question they are stuck on, a guardrail and a method. Then they run both versions and compare the replies.

Check the learning without AI. A short quiz with the laptops closed the next lesson tells you more than any prompt does. The Education Endowment Foundation is recruiting secondary schools in England for trials of guided AI modes that hold back answers — the same principle, tested at scale.

Use the tools’ own study modes. Guided Learning in Gemini and Learning Mode in Claude are built around the same idea as the trial’s framework: the AI asks questions instead of handing over answers. Turning one of those modes on is the easiest way to get a guardrail without typing it every time. For the detection and integrity side of the same question, see Can Teachers Detect AI Writing?.

Frequently asked questions

What are AI prompting skills?

AI prompting skills are the ability to write requests that get useful help from an AI chatbot. For learning, a strong prompt states the role you want the AI to play, your level, the task, the exact difficulty, a request not to give the answer, and a method such as guiding questions.

Can a short lesson improve how students prompt AI?

In a randomised controlled trial with 431 university programming students, published in November 2026, a single online lesson improved the prompts students wrote. The gains were still visible six weeks later in a paper exam taken without AI, and the most active version of the lesson, where students wrote each part of a prompt themselves, worked best.

Does teaching prompting improve exam results?

Not in that trial. Average final exam scores were between 67.2% and 71.0% across the four groups, and the researchers found no difference between them. Better prompts make learning possible, but pupils still need practice and checks without AI.

How can pupils stop an AI chatbot giving them the answer?

Ask it directly. A guardrail sentence such as “Give me a hint or a question, not the answer” works with most chatbots. In the trial, only 4% to 7% of students included a request like this before they were taught, and it was the habit that lasted best afterwards.

Should schools ban chatbots for homework?

The evidence points the other way: pupils are already using them — 81% of UK 8 to 17-year-olds have tried one, and more than half of users use one for schoolwork. Teaching pupils to ask well, and checking learning without AI, is more realistic than a ban, and it builds a skill they will keep using.

Conclusion

The trial gives schools a cheap, tested routine for better prompts. It does not give us a shortcut to better learning, and it would be odd if it did. One short lesson, one six-part framework, one guardrail sentence — and then the ordinary work of practising, being quizzed without AI, and choosing to do the thinking at 8pm when the deadline is close. That choice is the part no prompt can make for you.

Sources

Verification note: trial figures, dates and survey statistics in this article were checked against the listed sources in December 2026. It is research-based, written from the published trial coverage and the regulator’s own release, with no hands-on testing claimed.

Sources & further reading

Share: X / Twitter Facebook LinkedIn

Written by

Editorial Team

The Education Master editorial team researches, writes and fact-checks every article against primary sources before publication.

Spotted an error? Email [email protected] — see our Corrections Policy.

The Education Master Newsletter

One concise email with the week's most important AI and technology stories, tools and tutorials. No spam, unsubscribe any time.

Subscriptions open when our email provider is connected. Until then, follow new articles via the RSS feed.

Related articles