Introduction
The release of ChatGPT 3.5 in late 2022 marked a "watershed moment" for computer science (CS) education. Almost overnight, the focus shifted from whether AI should be permitted in the classroom to how it can be integrated effectively. This systematic review synthesizes 42 empirical studies to map the current landscape of Large Language Models (LLMs) in programming education, offering a conceptual framework that balances productivity gains against the risks of academic dishonesty and "cognitive offloading."
Methodology
To ensure a rigorous synthesis, the researchers followed the PRISMA (Preferred Reporting Items for Systematic Reviews and Meta-Analyses) guidelines. From an initial pool of 264 records, 42 high-quality empirical studies published between 2023 and March 2024 were selected.
A unique aspect of this review was the application of Structural Topic Modeling (STM). By using this machine learning algorithm to analyze the abstracts of the reviewed papers, the authors objectively identified ten prominent research themes. This computational approach was then triangulated with traditional thematic and bibliometric analysis to ensure a comprehensive overview of the field.
The Research Landscape
The "dataset" for this review comprises 42 studies sourced from major databases (Web of Science, SCOPUS) and premier CS education conferences (SIGCSE, ITiCSE, ICER).
- Tools: ChatGPT dominated the research (34 studies), followed by GitHub Copilot and specialized educational tools like "CS50 AI."
- Languages: Python was the most frequently studied programming language (20 studies), followed by Java and C/C++.
- Geography: 18 of the 42 studies originated in the USA, and the vast majority (39 of 42) were authored by researchers within CS or Engineering departments, indicating a current lack of interdisciplinary collaboration with education specialists.
Key Insights and Pedagogical Shifts
The "No Significant Difference" Paradox
One of the most striking findings is that several experimental studies reported no statistically significant difference in final learning outcomes between students using LLMs and those who did not. However, the LLM-using groups reported significantly higher levels of satisfaction and self-efficacy, alongside lower frustration. This suggests that while LLMs may not yet be a "silver bullet" for knowledge attainment, they are highly effective at improving the student experience and reducing the barrier to entry for novice coders.
From Cheating Tool to Personalized Tutor
The research indicates a shift in perception among educators. Rather than viewing LLMs solely as tools for plagiarism, they are increasingly seen as 24/7 teaching assistants. Key use cases include:
- Code Explanation: Breaking down complex logic into understandable steps.
- Scaffolded Debugging: Helping students identify why a bug exists rather than simply providing a fix.
- Refactoring: Assisting students in improving the quality and readability of their code.
The Rise of Prompt Engineering Literacy
"Prompt engineering" is emerging as a critical competency. The review highlights that students who lack the ability to frame their logic into precise prompts often struggle to receive useful assistance. This can lead to "drifting," where students waste significant time attempting to decipher hallucinated or irrelevant AI suggestions.
Challenges for Instructors
While LLMs can automate administrative tasks like generating exercise banks, they have fundamentally changed the instructor's workload. There is a growing necessity for "authentic assessment" strategies to ensure genuine learning. These include oral examinations, in-class paper-based coding, and requirements for students to explain the logic behind AI-generated code.
Limitations and Future Directions
The review identifies several critical "blind spots" in the current body of research:
- Short-Term Focus: Most existing studies are limited to a single semester. The long-term impact of LLMs on a student's ability to think independently over a full degree program remains unknown.
- The Accuracy Ceiling: Hallucinations and inaccuracies remain the primary limitation. LLM performance drops significantly for non-English prompts and complex, multi-step logic problems.
- Knowledge Debt: There is a concern that the ease of using LLMs in introductory courses may lead to a "knowledge debt" that becomes apparent only when students reach advanced algorithms or systems courses.
- Equity and Bias: Future research must address how the inherent biases in LLM training data affect diversity and inclusion within the tech industry.
Conclusion
LLMs have permanently altered the trajectory of computer science education. While they offer unprecedented opportunities for personalized tutoring and increased student confidence, they also demand a total rethink of how we assess and verify human expertise. Moving forward, closer collaboration between computer scientists and learning scientists will be essential to develop pedagogical theories fit for the AI-native classroom.
Summary updated