A proposal of code amendment problem in java programming learning assistant system

Htoo Htoo Sandi Kyaw, Nobuo Funabiki, Wen Chung Kao

Research output: Contribution to journalArticlepeer-review

4 Citations (Scopus)


To enhance Java programming educations, we have proposed a Web-based Java Programming Learning Assistant System (JPLAS) that provides a variety of programming assignments to cover different learning levels. As fundamental programming exercises for novice students, JPLAS offers the Code Fill-in-blank Problem (CFP) and the Code Fixing Problem (CXP), to learn Java grammar and basic programming skills through code reading. A CFP instance requires filling in the blank elements in the problem code generated by applying the coding rule check function and the blank element selection algorithm. A CXP instance involves correcting the error elements made by the error injection algorithm. In both problems, all answers from the students will be marked through string matching with the stored correct one. In this paper, we propose the Code Amendment Problem (CAP) as a practical problem for learning the debugging process by combining CFP and CXP in JPLAS. As a mixture of CFP and CXP instances, a CAP instance is generated by randomly selecting either blank or error for each element with a given blank probability BP. For evaluations, we apply 12 CAP instances to 21 students in Japan and Myanmar, where the results show that BP = 50% offers the highest difficulty level, and CAP is harder than CFP and CXP.

Original languageEnglish
Article number1453
Pages (from-to)751-756
Number of pages6
JournalInternational Journal of Information and Education Technology
Issue number10
Publication statusPublished - 2020 Oct


  • Blank element selection algorithm
  • Code amendment problem
  • Coding rule check function
  • Error injection algorithm
  • Java programming

ASJC Scopus subject areas

  • Education
  • Computer Science Applications


Dive into the research topics of 'A proposal of code amendment problem in java programming learning assistant system'. Together they form a unique fingerprint.

Cite this