Objective

Programming is a key skill for good jobs in the digital economy, yet students from socially disadvantaged backgrounds often lack a home computer, a reliable internet connection or extra help. The authors call this problem the digital divide. They ask whether an AI-based adaptive learning system, which changes the content, pace and feedback to match each student, can help close the gap in programming skills.

An adaptive system watches how a student is doing and changes what comes next. For example, a student who keeps making errors with loops gets simpler steps and extra practice, while a student who does well gets harder tasks. The study had two research questions:

  • Does AI-based adaptive programming education change learning outcomes for socially disadvantaged students, compared with traditional, non-adaptive teaching?
  • How does it affect student engagement, compared with traditional teaching, in three dimensions: behavioural (taking part and completing tasks), emotional (motivation and enjoyment) and cognitive (effort and critical thinking)?

Methods

This was a controlled experiment, a study that compares a group given a new approach with a group taught in the usual way. Because students were randomly placed in the two groups, this design can show whether the approach is linked to the differences better than most other designs. The paper calls it mixed methods, but it reports only numbers.

Who took part

Students at four universities in Hungary filled in a 15-item Social Condition Index questionnaire about family background, access to learning resources, learning environment, learning difficulties and motivation. A score below 3.00 meant a student counted as socially disadvantaged. Of 289 completed questionnaires, 122 students (42.21%) were identified as disadvantaged. They were aged 18 to 21 (average 18.67). All had basic programming knowledge. The students were randomly divided into an experimental group (EG) of 61 and a control group (CG) of 61.

What each group did

Both groups had two programming sessions a week for 13 weeks, with the same content: flow control, functions, loops and algorithms. They used the same computer labs and the same instructor. The EG used an AI adaptive system built with ChatGPT and adaptive learning software. It tracked task times, mistakes and activity, used machine learning methods (including Bayesian Knowledge Tracing) to estimate mastery, changed task difficulty, gave instant feedback and sent nudges when students seemed disengaged. The CG used static digital and printed materials, lectures and exercises, with handwritten feedback typically about a week after each task.

Measures and analysis

A programming pre-test and post-test measured knowledge. A 12-item questionnaire (1 to 5 scale) measured the three kinds of engagement. The authors used t-tests, ANOVA and ANCOVA, which adjusts for a factor such as social background. They report that all participants gave written consent, but the paper gives no approval number.

Key Findings

Overall, both groups improved, but the AI group improved more and reported higher engagement. The paper's scores are on a scale it does not describe, so only the comparisons matter.

Programming knowledge

  • Pre-test: the groups started at about the same level (EG 5.10, CG 5.00).
  • Post-test: EG 7.10 and CG 6.00. The EG gained 2 points and the CG gained 1.
  • Within each group the gain was statistically meaningful. The effect size (Cohen's d, where about 0.8 or above counts as large) was 1.40 for the EG and 0.74 for the CG.
  • Comparing the two groups after 13 weeks, the post-test difference was statistically meaningful (t = 4.57, p below 0.001, d of 0.88 in size).
  • The ANOVA gave F = 21.75 (p below 0.001).

Engagement (self-reported)

  • Behavioural: EG 16.2 against CG 13.0 (d = 1.10).
  • Emotional: EG 15.8 against CG 12.5 (d = 1.00).
  • Cognitive: EG 17.0 against CG 13.9 (d = 1.40).
  • All three differences were statistically meaningful (p below 0.001).

Adjusting for social background

  • When the authors added social background to the analysis (ANCOVA), the group difference in programming scores stayed (F = 19.80, p below 0.001).
  • Social background itself was also linked to scores (p = 0.012), but the interaction between group and background was not meaningful (p = 0.526). This means the AI group's advantage looked similar whatever a student's background score was.
  • For engagement, the group differences also held, and social background was linked to all three dimensions (p between 0.009 and 0.039), most strongly for cognitive engagement.

Spread of scores

  • EG post-test scores ranged from 4.0 to 9.5, while the CG ranged from 3.0 to 9.0.
  • The EG's lowest score before the course was 2.5 and the CG's was 2.0, so the groups had similar starting ranges (2.5 to 8.0 and 2.0 to 8.5).
  • The spread of scores (standard deviation) stayed about the same in both groups, near 1.4 to 1.55.

Note that these are averages, and the study followed students only for the 13 weeks of the course.

Implications

The authors conclude that AI-based adaptive instruction may be a promising way to narrow learning gaps and raise engagement for disadvantaged students. They also say teachers need preparation to use these systems, and that digital infrastructure matters.

For teachers and universities (authors' recommendations)

  • Prepare teachers to understand the adaptive tools and to use the performance data for targeted help.
  • Invest in computers and internet access, since low-income areas often lack them.
  • Consider using the same approach in other STEM areas, though the study did not test this.

For policymakers

The authors say educational policy should pay attention to digital infrastructure, because limited access to technology in low-income areas restricts what adaptive systems can do. They give no cost figures.

For researchers and developers

The authors call for checking which part of the system matters (feedback, changing task difficulty or motivational nudges), and for checking the system for bias.

Our reading (not the authors' recommendation):

  • The AI group got instant feedback and the other group waited about a week, so a course that simply speeds up feedback may capture part of the benefit.
  • Because the participants had basic programming skills and used equal lab equipment, the results say little about students who lack a computer at home.
  • The study shows a link between the AI-supported course and better outcomes in one setting. A school should pilot it before spending on a large rollout.

Limitations

The authors name these limits: the experiment lasted only 13 weeks, so long-term effects are unknown. There may be selection bias, because students were recruited using self-reported survey answers and a social index, and unreported experience or motivation may have affected results. It is unclear whether the results hold in other subjects or levels. Unmeasured factors such as study habits and thinking ability may matter. The authors also note that the system's specific working parts are unclear, that the algorithms might carry bias, and that engagement was self-reported, which can be affected by memory and social desirability.

The paper does not mention, but there are further points to keep in mind:

  • The paper does not mention, but the groups differed in more than the AI. The AI group got instant, detailed feedback and the other group got handwritten feedback about a week later, so the study cannot separate the effect of adaptivity from the effect of faster feedback.
  • The paper does not mention, but the same instructor taught both groups, so the instructor's expectations could have shaped how each group was taught.
  • The paper does not mention, but the engagement questionnaire was about the AI system, with items such as "I applied the feedback from the AI system", so the control group may have found the questions harder to answer.
  • The paper does not mention, but the scale of the programming test is not described, so it is hard to say what a 1-point or 2-point gain means in practice.
  • The paper does not mention, but the paper calls the study mixed methods and says it collected qualitative data, yet no interviews or comments are reported.
  • The paper does not mention, but the approval number for ethics review is missing, and the universities are not named at the participants' request.

Future Directions

The authors suggest these next steps:

  • Run longer studies, across several semesters or academic years, to see whether the gains last.
  • Choose participants with objective measures, such as standardized tests or transcripts, instead of self-reported answers.
  • Test AI adaptive learning in other subjects, such as mathematics, foreign languages and natural sciences, and in primary and secondary schools.
  • Find out which parts of the system drive the gains by switching off individual features, such as personalized feedback, changing task difficulty and motivational prompts.
  • Check for algorithmic bias, for example with fairness-aware methods and regular audits across groups.
  • Measure engagement with objective data such as clickstreams, time on task, heart rate variability or eye tracking.
  • Study teacher training and the best ways to bring adaptive systems into regular classes.

The bottom line: In this 13-week experiment with 122 disadvantaged university students in Hungary, those taught with an AI adaptive system scored higher on the programming post-test (7.10 against 6.00) and reported higher engagement than students taught in the usual way, and the pattern held after adjusting for social background. The random assignment makes the result more credible, but the AI group also got faster feedback, engagement was self-reported, and the follow-up was short. It is a promising result from one setting, not proof that AI tutors close the digital divide.