Abstract
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 language | English |
---|---|
Article number | 1453 |
Pages (from-to) | 751-756 |
Number of pages | 6 |
Journal | International Journal of Information and Education Technology |
Volume | 10 |
Issue number | 10 |
DOIs | |
Publication status | Published - 2020 Oct |
Keywords
- Blank element selection algorithm
- Code amendment problem
- Coding rule check function
- Error injection algorithm
- JPLAS
- Java programming
ASJC Scopus subject areas
- Education
- Computer Science Applications