Objective

Learning to program is hard for many beginners. Students may understand a concept such as a loop or a function but still not know how to write code that solves a problem, and problems that mix several concepts are harder. Class time is limited, so students often have to choose their own practice exercises without knowing which ones suit their level.

This paper describes and tests a web-based practice system called ADVENTURE (an adaptive learning support system built on an ontology of several programming languages). An ontology here is a structured map of concepts and how they relate. The map used, called CONTINUOUS, covers concepts shared by Python 3.x, Java and C#. The system also uses the Elo Rating System, a method first used to rate chess players, to estimate each learner's skill and each exercise's difficulty from the answers students submit. Adaptive learning means the system adjusts what a learner sees based on their performance.

The paper asked three questions:

  1. How can the concept map be used in a programming support system?
  2. How can the Elo Rating System be used in a system based on that concept map?
  3. What differences in learning performance, including achievement and perception, appear between learners using the adaptive mode and learners practicing with random exercise order?

Methods

The work had two parts: building the system, and testing it with students in a small classroom study. The test compared two existing classes, so students were not randomly assigned. This kind of design can show differences between groups, but it cannot rule out that the classes differed in other ways.

The system. Learners pick a language and a concept from a visual map, take a short pre-test the first time they choose a concept, and then receive exercises at easy, standard or difficult levels. Hints show which concepts an exercise needs. Code is checked by unit tests written by instructors, and learners are told whether each test case is correct. After finishing a concept, the system suggests related concepts. The Elo method raises a learner's skill when they answer correctly and lowers it when they do not, and picks the exercise whose difficulty is closest to the learner's current skill. A skill score of 0.85 moves the learner up a level. A learning rate, K, controls how fast skill changes. Values of 0.4 to 0.7 were set according to the number of questions in a level.

The study. Fifty-six undergraduates from an information technology faculty in Thailand, aged 20 to 22, took part. A preliminary group of 15 third-year students (12 males, 3 females) used an early version for one week and gave feedback. Then two second-year classes taught by the same instructor used the updated version for three weeks: 26 students (14 males, 12 females) used the adaptive mode, and 15 students (all male) used a random mode with mixed difficulty and no difficulty labels. The researchers collected 1186 code submissions from system logs and a 25-question seven-point questionnaire on effort, mental load, technology acceptance and satisfaction. They compared groups with ANOVA (a test comparing group averages) and MANOVA. The paper does not give ethics approval details.

Key Findings

Overall, students in the adaptive group had more correct submissions and fewer unfinished concepts than the random group, while questionnaire ratings did not differ significantly between groups.

Learning logs

  • The study logged 1,186 code submissions: 127 from the preliminary group, 936 from the adaptive group and 123 from the random group.
  • Correct submissions: the adaptive group had significantly higher results than the random group (p = 0.009; a mean difference of 19.11). The overall test was significant (F(2,53) = 5.524, p = 0.007), with a large effect size of 0.172.
  • Unfinished concepts: the adaptive group had significantly fewer than the random group (p = 0.001). The overall test was significant (F(2,53) = 10.650, p below 0.001).
  • Finished concepts: the adaptive group had a higher rate than the random group in a pairwise test (p = 0.031), but the overall test was just above the usual cutoff (p = 0.057), so this result is weaker.
  • Incorrect submissions (p = 0.106) and code without the needed logic (p = 0.317) did not differ significantly. The adaptive group had fewer of the latter, but the paper says this was not statistically significant.
  • Requests for a different exercise differed overall (p = 0.048), but the pairwise comparison between the adaptive and preliminary groups was not statistically significant. The authors read this as prior programming experience mattering more than the mode.

Questionnaire

  • No significant differences were found between groups on mental effort, mental load, technology acceptance or satisfaction.
  • Satisfaction averaged 5.28 for the preliminary group, 5.76 for the adaptive group and 5.51 for the random group on the seven-point scale.
  • Effort to understand the purpose of the system averaged 3.46 for the adaptive group and 4.47 for the random group. Pressure was 3.50 and 4.07. The authors read these as signs the random group felt slightly more strain, though the differences were not significant.
  • Ease of use and usefulness were rated above the neutral point of 4 by all groups, about 5.5.

Student comments

  • Students liked the clear concept map and the hints. Some could not find the run button and asked for more hints. Random-group students asked for clearer levels.

Implications

The authors conclude that the adaptive mode supports programming practice and can be used by instructors and designers who want personalized learning. They also say the study extends how ontologies can be used to link knowledge maps with adaptive support.

Instructors

  • The authors say instructors can use a system like this in class to support practice at each student's own level.
  • Students asked for clear difficulty levels and more detailed hints, so these are features to look for in any practice tool.
  • The authors also say that students could return to unfinished questions through a list of incomplete ones, which supports reviewing earlier work.

Designers and developers

  • The authors suggest using a shared concept map across languages so one system can support practice in Python, Java or C#.
  • They suggest tuning the learning rate to the number of questions in each level, and recommend at least four or five questions per level so learners can move up with a 60% to 75% success rate.

Our reading (not the authors' recommendation): because the sample was small and the groups were not randomly formed, schools should treat this as a promising design to pilot, not as proof that adaptive practice beats random practice.

Our reading (not the authors' recommendation): a school thinking about this approach would need enough exercises at each level, because the system picks the closest match to each learner's skill and the design relies on a good question bank.

Our reading (not the authors' recommendation): since satisfaction ratings were similar between groups, the main gain looks like better practice behavior, not happier students. Instructors may want to check actual submissions, not just opinion surveys.

Limitations

The authors name several limits. The system ran on a university server with restricted access, so students could use it only on campus, and some reported disconnections and delays. The study could include only two classes taught by one instructor, so sample sizes were small and the groups were unbalanced in size and in gender (the random group had only males). This may limit how far the results apply elsewhere. The preliminary group had more programming experience and used an earlier version, so comparisons with that group are hard to interpret.

The paper does not mention, but the adaptive group made 936 submissions and the random group 123, so the groups differ in how much data they produced. Percentages and averages may be less stable for the smaller group.

The paper does not mention, but the study lasted three weeks and measured practice behavior inside the system, not later exam results or lasting programming skill.

The paper does not mention, but because the random group could not see difficulty levels and had to get more than 60% right to finish a concept, the comparison tests the whole package of adaptive features, not the Elo method alone.

Future Directions

The authors plan the following:

  • Run the experiment with more participants and balanced groups, so differences in group size and gender do not blur the comparison.
  • Improve the system using student feedback, for example more explanation in feedback to code submissions, more explanation for next-concept suggestions and more detail in hints.
  • Compare the adaptive approach with other ways of practicing, such as letting learners practice in order of difficulty without any adaptive step, rather than only with random order.

Questions the study leaves open include whether the gains in correct submissions last beyond a three-week period, whether they show up in later tests, and whether the concept map helps when a student switches from one programming language to another, and whether students with a lot of programming experience gain from the same design as beginners.

The bottom line: In a three-week study with 41 second-year students at a Thai university, those who practiced programming with exercises matched to their skill submitted more correct answers and left fewer concepts unfinished than classmates who got random exercises. Students in both groups rated the system about the same, so the benefit shows in behavior, not in opinions. The groups were two existing classes of unequal size, so the evidence is early. Teachers can take away that matching exercise difficulty to skill looks promising and is worth piloting on a small scale.