Research Article
Prompt literacy of future computer science teachers in solving and debugging programming tasks with ChatGPT: perceptions, practices, and academic performance patterns
Synthesis: Rakhmetov and colleagues followed 113 future computer science teachers through a compulsory 16-week programming course at one Kazakh university that taught prompt construction and required students to disclose how they used ChatGPT. Students endorsed the principles: they agreed that a well-specified prompt improves code, that outputs must be checked, and that substantial AI help should be declared. Their paperwork told a thinner story. Of 1,034 AI-use disclosures, 55.3% merely named the tool, and only 88 explained how a response was tested and reworked. Scores stayed high across practical assignments, unaided control tasks and group projects, so the cohort's pattern is a gap between espoused verification and documented verification rather than a performance collapse.
Key Findings
- Students endorsed prompt literacy in principle. They agreed that a clearer, better-specified request yields better code and explanations, that ChatGPT is useful for ideas, snippets and error hunting, and that even a strong prompt does not guarantee a correct answer.
- Verification was endorsed far more often than it was documented. Of 1,034 disclosures that named ChatGPT, 572 (55.3%) only recorded that the tool had been used; 88 described the interaction and the reworking in enough detail to examine.
- Disclosure was routine but often thin. 1,417 of 1,582 expected practical submissions arrived (89.6%), and 1,034 of the received submissions (73.0%) carried an AI-use statement in code comments or a separate note.
- AI ethics sat less securely than traditional ethics. Agreement with the course's own answer key averaged 73.3% across 11 traditional scenarios and 64.2% across nine ChatGPT scenarios, a 9.1-percentage-point gap the authors read descriptively, not as evidence of an ethical deficit.
- Submissions were not clones. Across 71,151 within-assignment pairs, no assignment had more than 5% of pairs above the 50% token-similarity threshold.
- Grades stayed high under every condition. Mean scores were 84.00 for practical assignments, 85.00 for unaided control tasks, 83.00 for interim projects and 82.00 for final projects.
- Recorded misconduct was uncommon, and AI-related cases outnumbered copying. Plagiarism counts ran from 0 to 4 per assignment; inappropriate ChatGPT use ran from 1 to 7, falling from 7 in the first assignment to 1 across the last four.
- Nothing here isolates the course's effect. With one cohort, no baseline and no participant-level linkage, the study describes a pattern rather than an improvement.
What prompt literacy means for a future programming teacher
The paper treats prompt literacy as the practice-oriented edge of AI literacy: the ability to formulate a request deliberately, specify context and constraints, ask for the reasoning rather than only the result, and check what comes back. For a student who will teach programming, the stake is doubled. They need the skill for their own debugging, and they need to be able to show it, because the way they question a model becomes the pattern their own students copy. The authors are blunt about the alternative: without the ability to set context, demand an explanation, request error analysis and test the answer, interaction with ChatGPT collapses into collecting ready-made solutions without understanding their logic, a shortcut into cognitive offloading rather than learning. Their course therefore specifies five elements of a programming prompt — context, the task, the input data or source code, constraints and expected output, and an explicit request for explanation, verification or debugging — and treats prompt construction as something taught, practiced and graded rather than a knack. The Teacher Education argument runs through documentation: explaining why a generated solution is acceptable, how an error was located and how a correction was checked is exactly the reasoning a teacher has to make visible in class.
What students actually did when debugging with the model
The course ran for 16 weeks in three parallel sections of 38, 38 and 37 students, all taught and graded by one instructor, with 14 training sessions plus an interim and a final project. Each session combined a 60-minute lecture, a 30-minute task completed without AI, a 30-minute practical task with ChatGPT and a 30-minute review of homework and prompts. The first two weeks covered prompt structure and academic ethics; weeks three to six moved into syntax and logical debugging; weeks seven and eight had students analyze their own prompt histories; weeks nine to fifteen added multi-step prompting, iterative refinement and critique of incorrect responses, ending with students designing a task for schoolchildren. The debugging prompts escalated in ambition. A first attempt supplied broken code and observed behavior; a refined version named the faulty computation, asked for the logical error and the smallest necessary correction, and forbade a full rewrite; a follow-up asked the model to trace how two variables changed across the first five iterations and to verify the result against a stated expected mean of 3.5. Students tested with positive values, zeros and negatives, recorded the initial request, the main clarification and the verification step, and worked with GPT-4o or its mini fallback in Russian, Kazakh or English.
How prompt practice related to performance
The grade record is flat and high: 84.00 on practical assignments, 85.00 on independent control tasks completed without ChatGPT, 83.00 on interim group projects and 82.00 on final projects. It is tempting to read the near-equality of assisted and unaided scores as evidence that ChatGPT neither helped nor harmed, and the authors pre-empt that reading. The components differed in what assistance was permitted, in task requirements and in weighting — disclosure alone carried 10% of the practical-assignment score — and the projects were graded as 29 group reports, not as individual work. Nor could the design connect practice to performance at the person level: questionnaires, disclosures, similarity pairs and grades were never joined by participant identifier, so the study cannot say whether the students who wrote careful verification notes also scored higher. The similarity screen is equally cautious. With 71,151 pairs compared and no assignment above 5% of pairs crossing the 50% threshold, submissions were not converging on one another, but low similarity can simply mean the model produced different code in different sessions, and high similarity can follow from a narrow solution space. What the three strands do support is a cohort-level observation: strong endorsement, thin documentation, stable grades.
What a methods course should teach first
The paper's most usable sequence starts with verification, not generation. Students should meet a prompt framework early, but the assessed habit should be the loop around it: formulate, run, test against stated inputs, then accept, modify or reject with a reason. The course's own design shows what that looks like in practice — unaided control tasks every week, prompts that ask for the smallest correction rather than a rewrite, and a final project that requires a prompt history alongside working code. Disclosure deserves to be taught as a genre with three distinguishable levels: naming the tool, describing what it contributed, and explaining how the output was checked or revised. A structured reflection can carry all three by asking for one relevant prompt, one test or reasoning step used to judge the response, and one sentence on why the suggestion was kept, changed or discarded. Ethics needs the same specificity. Students in this cohort blurred discussing an error with a classmate and asking the classmate to fix it, and the authors treat those boundary cases as material for explicit instruction rather than as evidence of weak moral reasoning. Taught this way, teacher AI competency becomes a programming-education outcome rather than a separate digital-skills module bolted onto the degree.
What this means for practice
- Instructors. Grade the trace as well as the program: require the prompt, the test inputs and the reason for accepting or changing a suggested fix, and give that documentation enough weight to matter.
- Teacher educators. Teach disclosure in three steps — tool named, contribution described, verification explained — because a bare acknowledgment tells a reader nothing about the student's reasoning.
- Faculty developers. Build unaided control tasks into every unit that permits ChatGPT, so that independent performance is visible and students cannot mistake fluent model output for their own understanding.
- Curriculum designers. Sequence debugging prompts from "fix this" to "identify the error, explain it and propose the smallest correction", then to tracing and testing against an expected result; that progression is the course's clearest transferable asset.
- Researchers. Predefine participant identifiers and individual-level indicators before the semester starts, or the questionnaire, disclosure and grade data will remain three unlinked descriptions.
Limitations
- One cohort, one institution, one semester. The 113 participants were future computer science teachers at a single Kazakh university, aged 18–22, so the patterns may not travel to other programs or stages of teacher preparation.
- No baseline and no comparison. Perceptions were measured after the course only, so nothing here shows that the course changed them or that prompt instruction improved programming skill.
- The instrument measures beliefs, not competence. The author-developed questionnaire is a self-report measure with high overall internal consistency but no factor analysis or validation against rated prompt quality, and the two ethics scenario sets were internally weak (α = 0.50 and α = 0.42).
- Disclosure is self-report. The analysis rests on declared AI use, and undeclared or differently documented use may be missing; a general acknowledgment also does not prove that verification was absent.
- Mismatched units of analysis. Students, submissions, submission pairs and group reports were counted in different sections and never linked, which rules out the correlational analysis the framing invites.
- Exploratory similarity threshold. The 50% cutoff was not calibrated against labeled cases, and original ChatGPT outputs and program versions were not retained, so adaptation of AI code could not be observed.
Citation
Rakhmetov, M., Kenzhegulov, B., Asset, T., Leskaliy, B., Saltanova, G., Turebayeva, K., & Muratkaliyeva, A. (2026). Prompt literacy of future computer science teachers in solving and debugging programming tasks with ChatGPT: perceptions, practices, and academic performance patterns. Frontiers in Education, 11. https://doi.org/10.3389/feduc.2026.1894455