Objective

ChatGPT, a chatbot from OpenAI released in November 2022, can write code, explain it, find errors and suggest improvements. Learning to program is hard for many college students because it needs abstract thinking and problem solving, so instructors and researchers quickly became interested in whether ChatGPT could help. Reviews had looked at ChatGPT in education in general, but the authors found no broad review focused on computer programming.

This paper is a scoping review. A scoping review maps what research exists on a topic, what methods it used and what it reported. It does not weigh the studies against each other to decide what works best. The authors followed a standard reporting guide for this type of review, called PRISMA-ScR.

They asked three questions:

  • What areas of research exist on the use of ChatGPT in computer programming education?
  • How do studies investigate ChatGPT in teaching and learning programming?
  • What educational benefits and challenges do the studies report?

The goal was to give educators, universities, developers and researchers a clear picture of the field and some practical guidance.

Methods

The authors searched five sources: Scopus, Web of Science, the ACM Digital Library, the IEEE digital library and Google Scholar. They looked for papers with ChatGPT and words such as programming or coding in the title, abstract or keywords. The search returned 396 records. After 291 duplicates were removed, 105 unique articles remained. Screening titles and abstracts left 75 articles for full reading. After reading each in full, the authors kept 59 articles.

To be included, a paper had to be a peer-reviewed journal or conference article, written in English, published between November 2022 and January 2025, and focused on ChatGPT and programming in higher education. Reviews, books, chapters, reports and workshops were left out. The two lead authors screened papers independently and settled disagreements by discussion.

For each study, they recorded the main topic, the research method, the type of participants and the country. The research areas were created from the studies themselves, and each study was placed in one main category so the groups would not overlap. They then summarized the benefits and challenges that the studies reported.

It is worth knowing what this kind of review can and cannot show. It can show where research effort has gone and what the studies claim. It does not check how strong each study was, and the paper does not describe a quality rating of the 59 studies. The paper also does not say whether the results of different studies were combined statistically (they were not, as this is a descriptive review).

Key Findings

The 59 studies covered a wide range of topics, mostly with university students, and reported both benefits and problems. The summary below reports what the reviewed studies claim, not new tests by the authors.

Seven research areas

  • ChatGPT as a programming assistant: 13 studies (22.03%).
  • Automated assessment and feedback: 10 studies (16.94%).
  • Student and educator behavior and views: 10 studies (16.94%).
  • Course design and teaching strategies: 9 studies (15.25%).
  • Student learning outcomes and performance: 7 studies (11.86%).
  • Ethics and academic integrity: 6 studies (10.16%).
  • Use in specific programming areas: 4 studies (6.77%).

How the studies were done

  • Quantitative studies: 24 (40.67%), including 8 experiments, 7 surveys and 9 one-group before and after designs.
  • Mixed methods studies: 22 (37.28%).
  • Qualitative studies: 13 (22.03%), including 4 case studies.
  • Sample sizes ranged widely. For example, one experiment had 65 students in Germany, a randomized trial in Taiwan had 61 students, and a survey in Romania had 364 students. Some qualitative studies had as few as 3 students.
  • The authors say the studies came mainly from Europe and Asia, with some from North America and Australia.

Benefits reported

  • Personalized, self-paced help with immediate explanations.
  • Real-time feedback and error detection, which can reduce instructor workload.
  • Higher engagement and motivation, since students can talk with the tool like a mentor instead of struggling alone.
  • Suggestions for cleaner and more efficient code.
  • Help for students from different backgrounds, including some with disabilities or learning difficulties.

Individual studies reported specific results. One study found that students using ChatGPT showed greater gains in computational thinking and motivation than a control group. Another found AI users completed tasks nearly three times faster. A third reported that ChatGPT's answers were inconsistent in a data structures course even though coding performance improved. These are single-study claims described in the review, and the authors did not test them again.

Challenges reported

  • Overreliance on generated code, which may weaken problem-solving and critical thinking.
  • Incorrect or weak code that beginners may not spot.
  • Limited understanding of vague questions, giving generic answers.
  • Plagiarism and academic dishonesty.
  • Debugging help that often gives a single fix without explaining alternatives.
  • Difficulty fitting ChatGPT into existing course plans, and a need for instructor training.

Implications

What the authors recommend.

  • Instructors: Use ChatGPT for debugging, exploring ideas and teamwork, not for producing finished code. Ask students to explain and annotate AI-generated code. Add oral exams and reflective journals. Mix AI feedback with human grading, and use step-by-step, authentic assessments where students explain their reasoning.
  • Universities: Set clear policies on ethical use and academic integrity, give fair access to AI tools, and offer training in areas such as writing prompts and redesigning assessments. The authors point to existing guides such as the AI Assessment Scale.
  • Students: The authors suggest weekly learning journals to reflect on AI-assisted coding and balance reliance on ChatGPT.
  • Developers: Build explainable feedback, prompts that nudge reflection, and features that support academic integrity, designed with educators and matched to how a course progresses.
  • Researchers: Run longer studies across several institutions, use mixed methods, share standard instruments and study under-represented regions such as Africa, the Middle East and South America.

Our reading (not the authors' recommendation): because the review reports what studies claim without rating their quality, instructors should treat the benefits as promising ideas to try on a small scale, and keep an eye on whether students can still write and explain code without the tool.

Our reading (not the authors' recommendation): a simple first step is to test a policy in one course for a term, collect student feedback and compare quiz or exam results with earlier terms before changing a whole program.

Where the evidence is thin, such as the long-term effect on learning, the review gives no firm advice, and neither should a reader.

Limitations

The authors list several limits. They included only English-language studies found in major databases and left out books, technical reports and workshop papers. Small samples were common, particularly in qualitative and experimental studies, which limits how far results can be generalized. The studies used many different methods, so they are hard to compare. Finally, the review looked only at ChatGPT, so the findings may not apply to other AI tools.

The paper does not mention, but the review did not rate the quality of the 59 studies. Reported benefits such as better engagement or performance come from studies with very different designs, including one-group before and after tests with no comparison group. These cannot show that ChatGPT caused the changes.

The paper does not mention, but the search ended in January 2025, and ChatGPT and similar tools have kept changing since then. Results for older versions may not hold for current ones.

The paper does not mention, but each study was placed in one main category, so studies that covered several topics were reduced to one label. The counts by area should be read as approximate groupings.

The paper does not mention, but the studies rely a lot on student self-reports about feelings such as motivation and confidence. These show opinions, not necessarily learning. Also, the authors say future work should reach under-represented regions, which suggests the current studies do not cover the world evenly.

Future Directions

The authors call for research that moves from scattered small studies to more consistent work. Their suggestions include:

  • Longer studies that follow students across several institutions, to see long-term effects on learning and behavior.
  • Mixed methods designs that combine surveys, interviews, system logs and performance data.
  • Shared survey tools and evaluation frameworks so results can be compared.
  • Comparisons between novices and advanced students, native and non-native English speakers, basic and paid access to the tool, undergraduate and graduate students, and face-to-face and online courses.
  • Studies in under-represented regions to see how access, views and teaching use differ by place and culture.
  • Tests of whether AI-generated feedback is accurate and teaches well, and comparisons of hybrid human and AI feedback with traditional feedback.
  • Studies of other AI systems, not only ChatGPT.

The bottom line: This scoping review of 59 studies shows that research on ChatGPT in college programming courses is growing quickly and focuses on coding help, automated feedback and student views. The studies report benefits such as quick feedback and engagement, and risks such as overreliance, wrong code and cheating. Because the review maps the field without rating study quality, and many studies were small, the evidence is early. Instructors can try ChatGPT for debugging and exploring, while asking students to explain their work and setting clear rules for its use.