Objective
The reviewers wanted to know how programming courses could use generative AI while helping students learn to reason about code. They considered tools that can produce explanations, suggest code or generate an entire solution in response to a request. ChatGPT and GitHub Copilot were among the tools discussed. An instructor might use them to give learners a hint or help them review an error. The same tools can also supply an answer before a student has worked through the problem.
The authors asked how these tools had been introduced in programming education and how the studies addressed foundational programming logic and higher-order thinking. Programming logic is the reasoning behind what instructions a program follows and why they work. Higher-order thinking includes judging whether an answer makes sense and applying an idea to a new problem. The authors reviewed teaching methods, assessments and implementation choices to see how existing work handled those goals.
Methods
The authors conducted a systematic review, a search and synthesis of earlier studies using defined rules. They searched Scopus, Web of Science, ACM and IEEE Xplore. They considered work from 2010 to February 2024. Search terms combined names for generative AI with terms for programming, coding education and software development education. They used PRISMA 2020, guidance for reporting how review papers were found and screened, alongside Kitchenham's guidance for reviews in software engineering.
The authors reported that an initial search returned 34,405 records. They refined the search to 66 records. Checking titles and abstracts removed 23 records, and they identified 21 duplicates, leaving 22 publications. They then checked references of selected papers to find work that the first search could have missed. That step added 18 papers, bringing the eligible set to 40. The paper describes a quality checklist for the eligible papers.
The team grouped studies by publication year, tool, teaching method, assessment, implementation and skills discussed. They combined the material by theme. This approach lets the authors describe how different research teams used tools and what they chose to measure. The papers cover different settings, tools and tasks, and the review has no single learner sample, intervention period or comparison group. The authors report patterns and examples across the papers. The review does not calculate a single average change in student learning across all of them.
Key Findings
The review found a wide variety of uses for generative AI in programming education and substantial differences in how researchers checked what students learned.
Tools and teaching activities
Across the 40 papers, ChatGPT was the tool used most often. The review also discusses GitHub Copilot for suggestions inside an editor and Codex for generating code. The authors caution that a tool's popularity or availability can shape adoption even when a different choice might fit the course better. Teaching examples included workshops, lectures with exercises and programming environments with suggestions or syntax help. Some systems offered hints or explained pieces of code. These examples show that learners may encounter assistance at different points in the coding process.
Assessment and programming skills
Some papers checked whether generated code was correct or efficient. Others looked at chat records, hints or qualitative accounts of tool use. Still others assessed students through tests before and after an activity, peer assessment or other course work. The distinction matters when interpreting the review. A test of whether a chatbot can solve a task tells us about the tool's output. A test of whether a student can explain or solve the task tells us about a different outcome.
The review describes debugging exercises in which learners examined generated code with mistakes or inefficiencies. The point of those activities was to have students identify what went wrong and decide how to fix it. A paper on a course combining ChatGPT with hands-on work reported changes in computational thinking, confidence in programming and motivation. That example involved a package of teaching activities. It gives limited grounds for judging the contribution of the chatbot on its own.
Implementation and access
The authors identified limited accessibility, bias and uneven instructor readiness as barriers. They also pointed to the risk of over-reliance when a tool gives solutions before learners reason through a task. They propose GenAI-Ped, a framework that combines planning and monitoring one's own learning, designing for different learner needs and checking progress so instruction can be adjusted. The framework encourages students to compare answers and gradually use less assistance as skills grow. It is a proposal from the reviewers. They call for classroom testing to see how well it works.
Implications
The authors recommend choosing tools after identifying what students need to learn and what barriers they may face. An instructor planning a task about debugging could start with the evidence they want from students. Students might explain why generated code fails, test a change and describe the reasoning behind it. That would make the assessment about the skill the course is teaching. A course team could collect enough work to tell whether students can still do that reasoning when less support is available.
The review also emphasizes access and preparation. A program leader considering a coding assistant could check what students need to use it, whether they can access the features required for the assignment and what help instructors will get when questions come up. That follows the paper's focus on accessibility, training and technical support. The review provides examples to consider when planning these supports. Its mixed set of papers leaves open which arrangement works best for a particular group.
For researchers and developers, the assessment examples point to a practical distinction between tool performance and learner performance. Checking the accuracy of a suggestion can help show whether the tool is ready for a task. Checking what a learner can explain independently helps answer the educational question. The proposed framework gives teams a way to organize both kinds of check and to adjust the amount of help as a course progresses.
Limitations
The reviewed papers used different tools, learning activities and ways to assess results. Some examined generated answers or how learners used a tool. Others measured learner outcomes. This variation makes it difficult to use the body of work to predict how much student learning would change after adding a chatbot to a particular programming course. It also means that a positive result about code accuracy or student confidence needs to be read in terms of what was actually measured.
The review covers a defined set of databases and a search period ending in February 2024. The authors checked references to find additional papers. Work outside the search or after the cutoff still falls beyond the review's scope. The authors also say that the GenAI-Ped framework needs classroom testing. It combines recommendations from the review, and the paper does not establish how the whole approach works in practice. The paper does not mention, but a check of programming performance after students stop using a tool would help distinguish durable learning from performance with help.
Future Directions
The authors propose piloting GenAI-Ped in introductory programming courses. They suggest testing technical skills before and after using the framework and examining students' reflections about their interactions with generative AI. A skills assessment could ask students to trace a program, explain why an approach works or diagnose a mistake. Reflections could show when learners decided to ask for help and what they did when the answer did not fit.
Other questions follow from gaps in the review. If learners get hints at first and then use fewer, how well can they solve an unfamiliar problem independently? How do access barriers shape participation when a tool is built into a course? Those questions would help teachers judge whether a design supports the particular students and programming goals they work with.
The bottom line: This review of 40 papers found that educators and researchers used generative AI in many ways, from giving hints to generating code for students to examine. They also measured different things, including whether the tool produced correct code and how students performed. The authors propose a framework that starts with learner needs and course goals, then asks teachers to adjust help based on students' progress. The proposal still needs classroom testing. For instructors, the review offers examples of how to make students' own programming reasoning visible when they use a coding assistant.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary, daily at 8:00 AM Eastern (or weekly if you prefer). Unsubscribe in one click.