Code Writing Problems for Basic Object-Oriented Programming Study in Java Programming Learning Assistant System
Khaing Hsu Wai, Nobuo Funabiki, Soe Thandar Aung, Xiqin Lu, Yanhui Jing, Htoo Htoo Sandi Kyaw, Wen-Chung Kao · 2023
Nowadays, Java has been extensively used in industries as a reliable and portable object-oriented programming (OOP) language. To support novice students in learning Java programming, we have developed a web-based system called Java Programming Learning Assistant System (JPLAS). JPLAS offers the Code Writing Problem (CWP) among several types of exercise problems. A CWP instance requests a student to write a source code that will pass the provided test code in the assignment where the accuracy of the code is verified by running them on JUnit. In Java programming, every student should master basic OOP concepts, which can be challenging for novice students. This paper presents CWP instances for studying six basic OOP concepts including encapsulation, polymorphism, constructor, inheritance, abstract, and interface in JPLAS. Our preliminary evaluations of them confirm their validity.