The study and why it matters
Generative AI tools such as ChatGPT and GitHub Copilot can write, explain and repair code from a request in plain language. That poses a direct problem for programming education, because the exercises introductory courses have long used to build and assess skill are exactly the ones these tools handle well (Becker et al., 2023; Prather et al., 2023). Whether students learn more or less when they use such tools has therefore become one of the busiest questions in computing education research (Denny et al., 2024).
The study reviewed here, by Othman (2026), asks how AI tools affect the programming skills of undergraduates in Computer Science and Information Systems departments at three Libyan universities. Part of its value is its setting. Most published evidence on AI in programming education comes from North America, Europe and Australasia, and research from North African universities is rare. We could not confirm the paper's full bibliographic record (journal, volume and DOI), so this review describes the study as it has been reported, and readers should consult the original before citing it.

What the study reports
The study reportedly follows a mixed-methods design with 200 undergraduate students and 10 lecturers. Students answered a survey on their use of AI tools and their programming habits, while lecturers were interviewed about what they saw in class and in marked work. Pairing the two sources let the author place students' views of themselves beside the judgements of the people who teach and assess them, a sensible choice for exploratory work (Creswell & Creswell, 2023).
Two findings stand out. Students who used AI tools described quicker debugging, more efficient coding and stronger problem solving. Lecturers, on the other hand, said that heavy reliance on AI had eroded conceptual understanding, with some students able to produce working code but not to explain why it worked. The author concludes that AI tools support programming practice well but that over-dependence is a risk educators must manage.
The second finding is the more interesting, since it points to a gap between producing code and understanding it. It is also the one the study's design is least able to establish, for reasons the sections below set out.
How the findings compare with the wider evidence
The study's conclusions belong to a literature that is growing quickly. The table lists verified studies published before 2024 that measure, rather than ask about, what happens when learners use AI code generators; more recent work follows in a later section.
| Study | Design and participants | What was found |
|---|---|---|
| Vaithilingam et al. (2022) | Within-subjects usability study of GitHub Copilot, 24 programmers | No significant improvement in completion time or success; most participants preferred Copilot as a starting point, but many struggled to understand and debug generated code |
| Kazemitabaar et al. (2023) | Controlled experiment, 69 novices aged 10 to 17, 45 Python tasks, half with Codex | Codex raised code-authoring completion (1.15 times) and scores (1.8 times) without lowering performance on manual modification tasks; post-tests a week later were slightly better but not significantly so |
| Prather et al. (2023) | ITiCSE working group: review of 71 papers, surveys of students and instructors in about 20 countries, 22 educator interviews | Typical CS1 and CS2 problems are readily solved by current models; about half of instructors believed many students used the tools unethically; policies were often unclear |
| Becker et al. (2023) | Position paper | Sets out educational opportunities (explanations, exemplars, varied exercises) and challenges (integrity, over-reliance, bias) of AI code generation |
Set beside these studies, the Libyan findings are plausible but call for careful wording. Students' sense that AI sped up debugging matches the preference participants voiced in Vaithilingam et al. (2022), yet that study measured no speed advantage and reported difficulty in understanding generated code. The lecturers' worry about conceptual understanding mirrors the over-reliance risk raised by Becker et al. (2023) and Prather et al. (2023). By contrast, the controlled experiment of Kazemitabaar et al. (2023) found no sign that AI access harmed later unaided performance in its sample, a reminder that the question is not settled and that the effect may depend on prior knowledge and on how the tool is used.
Earlier work had already flagged the questions that tools such as OpenAI Codex raise for introductory programming (Finnie-Ansley et al., 2022). The much larger body of research on teaching novices to program (Luxton-Reilly et al., 2018) also offers tested ways of measuring skill that a study of AI tools can borrow.
Strengths
- Two perspectives. Adding lecturers to the student sample gives the study a second line of evidence and lets the author spot a gap between self-assessment and observed understanding.
- Balance. Benefits and risks are both reported, so AI is not cast as simply good or bad, in keeping with balanced overviews of large language models in education (Kasneci et al., 2023).
- Under-studied setting. Evidence from Libyan universities broadens a literature drawn from a few regions, and settings with different infrastructure and assessment cultures may show different patterns.
- A relevant question. The difference between producing code and understanding it is the central issue for course design in this area (Denny et al., 2024).
Limitations and methodological issues
Perceived skill is not measured skill
The headline claims about better debugging, efficiency and problem solving seem to rest on what students said about themselves. Self-reports are good evidence of use and attitudes but weak evidence of skill, because students who lean on a tool can feel more capable than they are. The working group report warns of this illusion of capability (Prather et al., 2023), and a later observation study recorded the same pattern among struggling novices (Prather et al., 2024). Newer data sharpen the point: in a course studied by Lepp and Kaimre (2025), more frequent AI use went with lower performance. Timed tasks, code-tracing or explanation questions and comparison with course marks would turn perceptions into measured outcomes, as the controlled studies did.
Sampling and comparison
Participants were reportedly recruited from three universities by convenience. With no comparison group, and no measure of prior ability, any difference between heavy and light AI users may reflect who chooses to use AI rather than what AI does. Stronger and weaker students may use the tools in different ways, as the retention results of Kazemitabaar et al. (2023) suggested and the observation study of Prather et al. (2024) later showed directly.
Thin theory
The study is mainly descriptive, and a framework would sharpen it. The technology acceptance model (Davis, 1989) explains use through perceived usefulness and ease of use, which fits the survey questions; a quasi-experiment with 82 students found that these perceptions shifted significantly after ChatGPT-supported practice (Sun et al., 2024). A learning-sciences perspective (Luckin & Cukurova, 2019) would instead focus on what the tool does to the learning process. Reviews of AI in higher education have repeatedly found weak links to pedagogical theory (Zawacki-Richter et al., 2019).
Ethics and integrity treated briefly
The study discusses dependency but has little to say about academic integrity, data protection or fair access to paid tools. These matter for validity: when AI can complete assessed programming tasks, marks stop measuring the same thing (Cotton et al., 2024; Prather et al., 2023). Reviews have asked for more attention to ethics in research on AI in education (Bond et al., 2024), and computing ethics teaching itself varies widely in what it covers (Fiesler et al., 2020).
Reporting and argument
That omission affects readers. A study that does not confront contrary evidence, such as the missing speed gain in Vaithilingam et al. (2022), leaves its reach uncertain. Reporting which tools students used, how often and for what kinds of task would also help later studies compare results, since tools and their capabilities change fast.
What newer research adds (2024 to 2026)
Studies published since 2024 move beyond first impressions of AI code generators. They follow students over a term, observe how novices actually work with the tools, and test assistants built for teaching. The table summarises verified work that bears on the reviewed study.
| Study | Design and data | Key finding | What it means for the reviewed paper |
|---|---|---|---|
| Prather et al. (2024) | Lab sessions with 21 novice programmers using participant observation, interviews and eye tracking | Students who were doing well used AI to carry out solutions they already had in mind; struggling students saw their metacognitive difficulties compounded and finished with an illusion of competence | Supports the lecturers' concern and suggests the effect differs by ability, which a survey average hides |
| Lepp and Kaimre (2025) | Study of 184 programming students linking perceptions and reported use to performance | Students used AI mainly for debugging and understanding code; more frequent use was associated with lower performance | Direct evidence that perceived help and measured outcomes can diverge |
| Sun et al. (2024) | Quasi-experiment, 82 students, ChatGPT-facilitated versus self-directed programming | ChatGPT changed programming behaviour and raised perceived usefulness, ease of use and intention to use, but the performance difference between groups was not statistically significant | Shows how a comparison design separates perceptions from performance, which the reviewed study lacks |
| Kazemitabaar et al. (2024) | Term-long deployment of CodeAid in a second-year C course of about 700 students; 8,132 interactions, 22 student and 8 educator interviews | An assistant designed to avoid handing out solutions gave correct responses 79% of the time and yielded design principles for balancing student and educator needs | Points to tool design as a variable the reviewed study did not record |
| Liu et al. (2024) | Deployment of guardrailed AI tools in Harvard's CS50, from 70 summer students to thousands online and hundreds on campus | Tools built to guide students towards solutions rather than give answers received very positive student feedback | An institutional alternative to unrestricted tools, though evidence of learning gains is still needed |
| Bastani et al. (2025) | Study of generative AI in high school mathematics | As its title states, generative AI used without guardrails can harm learning | Evidence from another subject that unrestricted access, not AI as such, may drive the harm |
On the central question, newer work tends to support the lecturers in the Libyan study more than the students. Observation of novices found that weaker students could finish tasks while misjudging their own competence (Prather et al., 2024), and a larger course study found that heavier use went with lower performance (Lepp & Kaimre, 2025). Neither result proves that AI causes weaker understanding, but both fit the gap between producing and understanding code that the lecturers described.
The newer studies also qualify the original framing. A comparison design found that perceptions moved significantly while performance did not (Sun et al., 2024), which is exactly why self-reported gains cannot stand in for skill. Classroom deployments indicate that the kind of tool matters: assistants designed to withhold full solutions can be used at scale (Kazemitabaar et al., 2024; Liu et al., 2024), and evidence from mathematics suggests the harm is tied to the absence of guardrails (Bastani et al., 2025). A study that treats "AI tools" as a single category, as the reviewed paper appears to, misses this.
Several questions remain open. Most of the new evidence still comes from North America and Europe, so the regional gap the Libyan study addresses has not closed. Few studies track retention over a whole degree, and the evidence that guardrailed assistants improve learning, rather than satisfaction, is still limited.
A worked example: designing a stronger evaluation
The design below is illustrative. It shows how a doctoral researcher could test the study's central claim, that AI improves code production but weakens understanding, with measured outcomes.
- Recruit two sections of the same second-year programming module, record prior marks, and allow AI tools in one set of weekly exercises but not the other (or alternate conditions by week).
- Measure code production with timed tasks marked against test cases.
- Measure understanding separately with code-tracing questions and short oral or written explanations of students' own submitted code, marked blind to condition.
- Run an unaided post-test two to four weeks later to check retention, as Kazemitabaar et al. (2023) did.
- Analyse results by prior ability, since newer work suggests weaker students may be affected differently (Prather et al., 2024).
- Survey perceived usefulness and ease of use (Davis, 1989) and interview a sample of students and lecturers to explain the patterns.
- Obtain ethics approval, explain the AI-use rules to students in advance, and make sure neither condition disadvantages anyone in assessed work.
| Element | What to report |
|---|---|
| Tools | Which AI tools and versions, whether they were general or guardrailed, how students accessed them, and any usage logs |
| Outcomes | Separate measures of code production, understanding and retention, with how each was scored |
| Comparison | Control or comparison condition, prior ability, and how groups were formed |
| Perceptions | Validated survey items and the interview guide |
| Integrity and ethics | Rules on AI use, consent, data handling and fairness of assessment |
What it means for doctoral researchers
In a literature review, the study can be cited as exploratory evidence from an under-represented setting: students perceive gains from AI tools while lecturers worry about conceptual understanding. It should not be cited as showing that AI improves programming skill, because skill was not measured directly. Where it supports the over-reliance concern, pair it with studies that measured performance (Kazemitabaar et al., 2023; Vaithilingam et al., 2022) and with the newer evidence on how use relates to outcomes (Lepp & Kaimre, 2025; Prather et al., 2024).
The lecturers' observations deserve particular weight. They do not measure understanding, but they are informed judgements by people who watch students explain, defend and modify their code. In your own work, treat accounts like these as the starting point for a testable hypothesis, for example that students who rely heavily on AI score lower on explanation questions about their own code, and then design a study capable of refuting it.
If you are looking for a gap, the contrast between perceived and measured effects is a research opportunity in its own right, especially outside the regions that dominate the literature. Two newer angles are also open: whether guardrailed assistants of the kind deployed in large courses (Liu et al., 2024; Kazemitabaar et al., 2024) produce better learning than general tools, and whether AI widens differences between stronger and weaker students. Our guides on research gap identification and the companion review of nanotechnology in chemical engineering education show how to separate what a source measured from what it claims.
Common mistakes in studies of AI and programming skill
- Treating students' self-reported improvement as evidence of improved skill.
- Comparing AI users with non-users without measuring prior ability.
- Reporting only averages, so that different effects on stronger and weaker students cancel out.
- Measuring only whether code works, not whether the student can explain or modify it unaided.
- Reporting no tool names, versions or usage rules, so the study cannot be compared or repeated.
- Ignoring academic integrity and the validity of assessment when AI is available.
- Leaving the study without a theoretical framework, so the choice of variables is unexplained.
Key takeaways
- Othman (2026) reports that students perceive faster debugging with AI tools while lecturers see weaker conceptual understanding.
- Because skill was not measured directly, the study supports claims about perceptions, not about learning gains.
- Measured evidence is mixed: Copilot did not speed up tasks in one study (Vaithilingam et al., 2022), while Codex helped novices without clear harm to later unaided performance in another (Kazemitabaar et al., 2023).
- Newer studies link heavier AI use to lower performance and suggest struggling novices gain least, which supports the lecturers' concern (Lepp & Kaimre, 2025; Prather et al., 2024).
- Tool design matters: guardrailed assistants are now used at scale, and unrestricted access may be what harms learning (Liu et al., 2024; Bastani et al., 2025).
- A stronger study separates code production, understanding and retention, analyses results by prior ability, and uses a framework such as technology acceptance (Davis, 1989).
