A Proposal of Code Completion Problem for Java']Java Programming Learning Assistant System

被引:0
作者
Kyaw, Htoo Htoo Sandi [1 ]
Aung, Shwe Thinzar [1 ]
Thant, Hnin Aye [1 ,2 ]
Fiinabiki, Nobuo [2 ]
机构
[1] Univ Technol, Dept Informat Sci & Technol, Yatanarpon Cyber City, Myanmar
[2] Okayama Univ, Dept Elect & Commun Engn, Okayama, Japan
来源
COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS | 2019年 / 772卷
关键词
D O I
10.1007/978-3-319-93659-8_78
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To enhance Java programming educations in schools, we have developed a Web-based Java Programming Learning Assistant System (JPLAS) that provides a variety of programming assignments to cover different learning stages. For the first stage, JPLAS offers the element fill-in-blank problem where students study the grammar and code reading through filling the blank elements, composed of reserved words, identifiers, and control symbols, in a high-quality code. Unfortunately, it has been observed that students can fill the blanks without reading the code carefully, because the choice is limited for each blank. In this paper, we propose a code completion problem as a generalization of the element fill-in-blank problem. To solve the drawback, it does not explicitly show blank locations in the code, which expects students to carefully read the code to understand the grammar and code structure. The correctness of the answer is verified through string matching of each statement with the filled elements and the corresponding correct one. Besides, to encourage students to study readable code writing, the correct statement satisfies the coding rules including the spaces. For evaluations, we generated six code completion and element fill-in-blank problems respectively, and asked ten students in two universities to solve them. Their solution results show that the code completion problem is much harder than the element fill-in-blank problem, and requires far deeper code reading and understanding of coding rules.
引用
收藏
页码:855 / 864
页数:10
相关论文
共 11 条
  • [1] [Anonymous], JAVA HOW TO PROGRAM
  • [2] Boswell D., 2011, ART READABLE CODE
  • [3] Cass Stephen., 2015, The 2015 Top Ten Programming Languages
  • [4] Funabiki Nobuo, 2017, IAENG International Journal of Computer Science, V44, P247
  • [5] Funabiki Nobuo, 2016, 2016 IEEE International Conference on Consumer Electronics - Taiwan (ICCE-TW), DOI 10.1109/ICCE-TW.2016.7521045
  • [6] Funabiki Nobuo, 2013, IAENG International Journal of Computer Science, V40, P38
  • [7] A Proposal of Coding Rule Learning Function in Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Ogawa, Takuya
    Ishihara, Nobuya
    Kuribayashi, Minoni
    Kao, Wen-Chung
    [J]. PROCEEDINGS OF 2016 10TH INTERNATIONAL CONFERENCE ON COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS (CISIS), 2016, : 561 - 566
  • [8] Ishihara N, 2015, INFORM ENG EXP, V1, P19
  • [9] Murach J., 2014, MURACHS JAVA SERVLET
  • [10] Na T, 2017, INT J WEB INF SYST, V13, P140, DOI 10.1108/IJWIS-12-2016-0076