Objective
The review set out to understand how ChatGPT is being used in computer programming education and what issues come with it. Programming skills are now seen as essential in many jobs, not just in technology. As more schools and countries add coding to their lessons, teachers and students are looking for new ways to teach and learn programming. ChatGPT, a large language model (LLM), is one of the most popular generative AI tools for this purpose. The review aimed to answer three main questions:
- What are the main research topics about ChatGPT in programming?
- How does ChatGPT help with teaching and learning programming?
- What problems or risks come up when using ChatGPT in programming classes?
By answering these, the review hopes to guide teachers, students, and policymakers in making smart choices about using ChatGPT in programming education.
Methods
This study is a rapid review, which means it quickly gathers and summarizes research to give timely insights. Rapid reviews are useful when a topic is new and the number of studies is still growing. The review followed PRISMA guidelines, which help make the process clear and organized.
The researchers searched three major databases: Scopus (February and September 2024, January 2025), Web of Science (September 2024, January 2025), and IEEE Xplore (January 2025). They used search terms related to programming, education, and ChatGPT. Only studies focused on ChatGPT in programming education were included. Papers had to be journal articles, conference papers, or book chapters in English, and had to include some data (not just opinions or theory). Studies about AI in general, or about other AI tools, were left out.
After removing duplicates and irrelevant papers, 107 documents were included. Most were conference papers (73 out of 107), and the rest were journal articles. These came from 81 sources and had 394 authors. Two experienced programming professors checked the selection to make sure it was fair and thorough.
The review used bibliometric analysis (which looks at publication patterns and research trends) and coding of the content to find main themes and issues. Coding was done in three steps: open coding (finding ideas), axial coding (grouping ideas), and selective coding (finding main themes). The review did not include a comparison group or direct experiments. Ethics approval is not mentioned in the paper.
Key Findings
The review paints a mixed picture: ChatGPT is widely used in programming education, but its use brings both benefits and risks.
Trending research topics
- Analysis and ChatGPT-generated content are central themes. These are well-developed and widely discussed in the field.
- Other themes include development, artificial intelligence, software, students, teaching, and education. Some topics are just emerging or fading, such as AI-assisted programming and data use.
- Three main research clusters were found: education and teaching; evaluation and performance; and software engineering and development.
How ChatGPT helps in programming education
- Personalized tutoring: ChatGPT acts as a virtual tutor, giving students feedback, explanations, and help with their code. It can check code for mistakes and suggest improvements. In one study using a ChatGPT-based tutoring system, students with less background knowledge showed higher engagement and better completion rates.
- Knowledge reinforcement: ChatGPT helps students review and practice programming concepts outside class. It gives examples, explains advanced topics, and helps with memory recall. This can make classroom time more productive.
- Instructional materials: Teachers use ChatGPT to create lesson plans, coding exercises, quizzes, and projects. Studies found that ChatGPT-generated exercises and lesson plans were as good as those made by humans, even for preschool programming lessons.
- Source code generation: ChatGPT can write code for students and teachers. This can help students see different ways to solve problems, compare AI and human code, and practice explaining how code works. However, it can also tempt students to submit AI-generated code as their own.
- Immediate feedback: Students can get quick answers and debugging help from ChatGPT. This speeds up learning and helps students who might not ask for help otherwise. Teachers can also use ChatGPT to give faster, more targeted feedback.
- Assessment assistance: ChatGPT can help grade code, give explanations for grades, and check for best practices. One study found ChatGPT graded code in about 9.5 seconds per query, much faster than teachers. Students also benefited from seeing clearer, more standard code examples.
Issues and risks
- Academic dishonesty: Plagiarism is a major concern. Students can easily generate and submit code that is not their own, making it hard for teachers to judge real skills. Cases of plagiarism have increased with ChatGPT use.
- Ethical issues: There are worries about bias in AI-generated code, data privacy, and fairness. Some code produced by ChatGPT showed demographic biases or used data in ways that raise privacy concerns.
- Overreliance: Students may become too dependent on ChatGPT for answers, which can weaken their own problem-solving and programming skills. Teachers noticed a drop in code quality and learning when students relied too much on ChatGPT.
- Impaired critical thinking: Quick answers from ChatGPT can stop students from thinking deeply about problems or learning from mistakes. This can hurt their debugging skills and understanding of programming concepts.
- Technical limitations: ChatGPT is not a full coding environment (IDE), so it cannot run code or always give accurate answers. Sometimes it gives wrong or misleading code, especially for complex tasks. It also struggles to understand the full context of a coding problem.
Implications
The review offers several practical takeaways for different groups.
For teachers
- Teachers can use ChatGPT to give extra support, create materials, and speed up feedback. However, they should watch for plagiarism and encourage students to explain or comment on their code to show real understanding.
- Some students prefer teacher-made explanations for basic programming ideas, so teachers should not rely only on ChatGPT for teaching.
- Teachers can use code similarity tools (like MOSS or Codequiry) to check for copied code, or ask students to fix errors or add comments in class to prove their skills.
For students
- ChatGPT can help students get quick answers, practice coding, and see different ways to solve problems. But students need to use it as a learning tool, not a shortcut. Relying too much on ChatGPT can hurt their problem-solving and critical thinking skills.
- Students should focus on understanding why code works, not just copying answers.
For curriculum designers and policymakers
- Curricula may need to include AI literacy, ethics, and responsible use of tools like ChatGPT. Programming courses should teach students how to use AI tools wisely and check AI-generated content for errors and bias.
- There is no guarantee that using ChatGPT will always improve learning or grades. Some studies found better results, others did not.
For developers and researchers
- More research is needed on how to design assignments that encourage real learning and reduce the chance of cheating or overreliance.
Our reading (not the authors' recommendation): Teachers and students should use ChatGPT as a support, not a replacement for real coding practice. Schools should set clear rules and teach about academic honesty and ethical use of AI.
Limitations
The review has several important limitations:
- It is a rapid review, not a full systematic review, so some studies may have been missed or not fully analyzed.
- The review only includes studies up to January 2025, and the field is changing quickly. New research may change the findings.
- Most included studies are conference papers, which may not be as thoroughly reviewed as journal articles.
- The review covers only studies written in English, so research in other languages is not included.
- The review does not report detailed information about the quality or design of each included study, such as sample sizes, countries, or student ages.
- The paper does not mention, but the included studies may have small samples, self-reported data, or lack comparison groups, which can limit how much we can trust the results.
- The review does not include direct experiments or meta-analysis, so it cannot show cause and effect.
- The review does not mention ethics approval for the included studies.
Future Directions
The authors suggest several areas for future research:
- As more studies are published, a full systematic review and meta-analysis should be done to give a clearer picture of ChatGPT's impact in programming education.
- Researchers should study how ChatGPT affects teaching effectiveness, student engagement, and group work in programming classes.
- There is a need for studies on how to improve prompt design and how teachers and students can best interact with ChatGPT.
- More research is needed on ethical guidelines for using ChatGPT, including academic honesty, data privacy, and bias in AI-generated code.
- Experimental and observational studies could compare different ways of using ChatGPT in teaching and measure their effects on learning.
- Qualitative studies (like interviews and focus groups) could help develop practical ethical rules for using ChatGPT in education.
The bottom line: ChatGPT is already being used in programming education to help students and teachers with tutoring, feedback, and creating materials. It offers real benefits but also brings risks like plagiarism, overreliance, and weaker critical thinking. The evidence comes from a rapid review of 107 studies, most of which are recent and some may have weak designs. Teachers, students, and schools should use ChatGPT carefully, set clear rules, and focus on building real programming skills. More research is needed to guide best practices and address ethical and technical challenges.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.