Objective

ChatGPT is now widely used in programming classes. It can explain code, suggest solutions and help find errors, but the quality of its answer depends partly on how the request is written. Students who do not give context, set limits or ask for explanations may just collect a ready-made answer without understanding it. For future computer science teachers this matters twice, because they must use AI themselves and later teach pupils to use it well.

The authors use the term prompt literacy for the practical skill of writing and refining requests to a generative AI tool, judging its replies, spotting errors and checking solutions. They separate three things: what students believe about good AI use, what they say they did, and what they can actually do. The study could only measure the first two.

The paper asked three questions:

  1. How do future computer science teachers see the usefulness, reliability and ethical limits of ChatGPT for programming tasks?
  2. How did students document their ChatGPT use, and how similar were their programming submissions to each other?
  3. What patterns appear in their grades across ChatGPT-supported assignments, control tasks done without ChatGPT, and projects?

The study describes patterns. It does not test cause and effect.

Methods

This was a descriptive study of a single group in one course, using several kinds of data. It had no pre-course measure, no comparison group and no experiment, so it cannot show that the course caused any change.

The setting was Kh. Dosmukhamedov Atyrau University in Kazakhstan, during the 2025–2026 academic year. A total of 113 students took part out of 118 invited. They were future computer science teachers aged 18–22 (average 19.6), including 65 women and 48 men. They were in a compulsory 16-week programming course in three class sections, all taught and graded by the same instructor. Before the course, 91 students had used ChatGPT or a similar tool.

The course taught students to write prompts with five parts: context, a clear task, input data or code, limits and expected output, and a request for explanation or debugging help. Students used individual ChatGPT accounts, mostly GPT-4o. They could use ChatGPT in many practical tasks, but not in control tasks, and they had to disclose any use and explain how they checked or changed the answer.

The data sources were:

  • A 20-item questionnaire on perceptions (5-point agreement scale), reviewed by five experts.
  • A questionnaire on academic ethics scenarios.
  • 1,417 submissions from 14 practical assignments, with disclosure notes and reflective comments analyzed by content analysis.
  • Code-similarity screening of 71,151 pairs of submissions, with 50 percent overlap as a screening line.
  • Course grades, including 29 group projects.

The university ethics committee approved the study and all students gave written consent.

Key Findings

Overall, students reported positive views of ChatGPT and good awareness of verification and honesty, but their written disclosures were often thin, and grades stayed fairly high across all kinds of tasks.

Perceptions (113 students)

  • Students generally reported that ChatGPT helped with code generation, debugging and explaining logic. Perceived usefulness was somewhat higher for simpler code-writing tasks than for fixing logical errors, but the authors did not test whether these gaps were meaningful.
  • Students generally agreed that ChatGPT answers must be checked and that even a good prompt can produce wrong or incomplete code.
  • The questionnaire was consistent overall (Cronbach's alpha 0.94, a measure of how alike the items answer), but it covered several different ideas, so it is not one clean score.

Ethics scenarios

  • Students matched the course's answer key on 73.3 percent of traditional academic-ethics scenarios and 64.2 percent of ChatGPT-related scenarios. The scenario sets were not equal in difficulty and had low consistency, so the 9.1 point gap is not a firm finding.
  • Students were less clear about borderline cases, such as asking ChatGPT to fully fix code without understanding it.

Documentation of ChatGPT use

  • Of 1,417 submissions received (89.6 percent of those expected), 1,034 (73.0 percent) mentioned ChatGPT use.
  • Of those, 572 (55.3 percent) were general statements, 374 described what ChatGPT contributed, and 88 gave detailed accounts of the exchange and how the answer was reworked.
  • All 29 project groups included a ChatGPT section in their reports.

Integrity and similarity

  • Confirmed cases per assignment ranged from 0 to 4 for plagiarism and 1 to 7 for inappropriate ChatGPT use, and both counts were lower in later assignments. The authors do not claim the course caused this.
  • No more than 5 percent of pairs of submissions in any assignment passed the 50 percent similarity line. This does not show whether students changed ChatGPT's code.

Grades

  • Average scores were 84.00 for practical assignments, 85.00 for control tasks done without ChatGPT, 83.00 for interim projects and 82.00 for final projects. The tasks differed in rules and grading, so the numbers cannot be compared directly.

Implications

The authors conclude that a course that explicitly teaches prompt-related practices may be a useful model for teacher education, but they say its effectiveness needs controlled or longer-term study.

What the authors suggest

  • Teacher educators should teach prompt writing, careful checking of AI output and open documentation of AI use together.
  • Disclosure rules could ask students to separate three things: naming the tool, saying what it contributed, and explaining how the output was tested, changed, accepted or rejected. A structured reflection could ask for one prompt, one test or reasoning step, and the reason a solution was accepted or changed.
  • Practicing these explanations may help future teachers learn to model programming reasoning for pupils.
  • Course rules and examples can make clear where acceptable help ends and unacceptable copying begins, especially for collaboration and AI-drafted code.

Our reading (not the authors' recommendation):

  • Because requiring a note did not by itself produce detailed notes, instructors could give a short template and example answers.
  • Keeping some tasks without AI, as this course did, gives teachers a way to see what students can do alone.
  • Instructors who see high grades should not read them as proof of strong prompting skill, since the paper measured grades and disclosure notes separately and could not link them for each student.

The authors stress that the study does not show students became better at prompting or that they can teach with AI.

Limitations

The authors state that the design is descriptive and has one group, with no baseline and no comparison, so it cannot show improvement or cause and effect. Questionnaire answers show perceptions, not demonstrated skill. Disclosure notes are self-reports and were not checked against ChatGPT's original answers or program versions. Code similarity cannot show whether students changed AI-written code, and the 50 percent line was not tested against labeled examples. The ethics scenario sets had low consistency (alpha 0.50 for traditional and 0.42 for ChatGPT scenarios). Questionnaire answers and disclosures were not linked person by person, so the study cannot say whether students with stronger views also wrote better disclosures. One instructor taught and graded everyone, which may add instructor effects. Assignments, control tasks and projects differed in rules and grading, so the grades are not directly comparable. A missing disclosure does not prove ChatGPT was not used.

The paper does not mention, but the study took place in one university in one country with one cohort of mostly very young students, so results may not fit other settings.

The paper does not mention, but students knew they were being graded partly on disclosure, which may have shaped what they wrote and how they answered the questionnaires.

Future Directions

The authors say the course model should be tested in controlled or longitudinal studies. The paper also points to gaps the data could not close:

  • Do students with more detailed disclosures, or stronger commitment to checking, also do better on tasks done without ChatGPT? This would need linked individual-level data and matching assessment criteria.
  • Does prompt-writing skill improve when measured directly, for example with standardized performance tasks, instead of by questionnaire?
  • If full prompt histories and every version of a program were kept, could researchers see how students actually changed AI-written code?
  • Can better scenario sets and a tested questionnaire give more reliable measures of ethical understanding and prompt literacy?
  • Do structured reflections lead to richer documentation of checking and revising?
  • Does what future teachers learn here carry over to teaching pupils, which this study did not assess?

The bottom line: In one Kazakh university course, future computer science teachers reported favorable views of ChatGPT and said answers must be verified, yet many written disclosures of ChatGPT use were general. Grades stayed high and few submission pairs matched closely. The design had one group, self-reports and no comparison, so it cannot show the course worked or that students became better at prompting. Instructors can take one practical point: ask students to explain how they tested and changed AI output, not only that they used it.