Home > Published Issues > 2021 > Volume 12, No. 4, November 2021 >

A Proposal of Grammar-Concept Understanding Problem in Java Programming Learning Assistant System

Soe Thandar Aung 1, Nobuo Funabiki 1, Yan Watequlis Syaifudin 1, Htoo Htoo Sandi Kyaw 1, Shune Lae Aung2, Nem Khan Dim 2, and Wen-Chung Kao 3
1. Department of Electrical and Communication Engineering, Okayama University, Okayama, Japan
2. Department of Computer Studies, University of Yangon, Yangon, Myanmar
3. Department of Electrical Engineering, National Taiwan Normal University, Taipei, Taiwan

Abstract—Nowadays, Java has been extensively adopted in practical IT systems as a reliable and portable object-oriented programming language. To encourage self-studies of Java programming, we have developed a Web-based Java Programming Learning Assistant system (JPLAS). JPLAS provides several types of exercises to cover different levels. However, any type does not question grammar concepts of a source code directly, although it can be the first step for novice students. In this paper, we propose a Grammar-Concept Understanding Problem (GUP) as a new type in JPLAS. A GUP instance consists of a source code and a set of questions on grammar concepts or behaviors of the code. Each answer can be a number, a word, or a short sentence, whose correctness is marked through string matching with the correct one. We present the algorithm to automatically generate a GUP instance from a given source code by: 1) extracting the registered keywords in the code, 2) selecting the registered question corresponding to each keyword, and 3) detecting the data required in the correct answer from the code. As for evaluations, we first generate 20 GUP instances with a total of 99 questions from simple codes on fundamental Java grammar, and assign them to 100 university students in Indonesia. On the other hand, we additionally generate 8 instances with a total of 30 questions, and assign all the instances to 29 undergraduates in Myanmar as the comparative study. The results show that the proposal is effective to improve the performance of the students who are novices in Java programming.
 
Index Terms—Java, JPLAS, grammar-concept understanding problem, automatic generation algorithm

Cite: Soe Thandar Aung, Nobuo Funabiki, Yan Watequlis Syaifudin, Htoo Htoo Sandi Kyaw, Shune Lae Aung, Nem Khan Dim, and Wen-Chung Kao, "A Proposal of Grammar-Concept Understanding Problem in Java Programming Learning Assistant System," Journal of Advances in Information Technology, Vol. 12, No. 4, pp. 342-350, November 2021. doi: 10.12720/jait.12.4.342-350

Copyright © 2021 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY-NC-ND 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.