Answer Code Validation Program with Test Data Generation for Code Writing Problem in Java']Java Programming Learning Assistant System

被引:0
|
作者
Wai, Khaing Hsu [1 ]
Funabiki, Nobuo [1 ]
Aung, Soe Thandar [1 ]
Lu, Xiqin [1 ]
Jing, Yanhui [1 ,2 ]
Kyaw, Htoo Htoo Sandi [2 ]
Kao, Wen-Chung [3 ]
机构
[1] Okayama Univ, Dept Informat & Commun Syst, Okayama, Japan
[2] Tokyo Univ Agr & Technol, Dept Comp & Informat Sci, Tokyo, Japan
[3] Natl Taiwan Normal Univ, Dept Elect Engn, Taipei, Taiwan
关键词
programming learning; !text type='Java']Java[!/text; JUnit; code writing problem; code validation; test data generation;
D O I
暂无
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
In order to support the learning of novice students in Java programming , the web-based Java Programming Learning Assistant System (JPLAS) has been developed. JPLAS o ff ers several types of exercise problems to foster code reading and writing skills at di ff erent levels. In JPLAS, the code writing problem (CWP) asks a student to write a source code that will pass the test code given in the assignment where the correctness is verified by running them on JUnit . In this paper, to reduce the teacher's workload during the marking process, we present the answer code validation program that verifies all the source codes from a large number of students for each assignment and reports the number of passing tests for each source code in the CSV file. Besides, to test a source code with various input data, we implement the test data generation algorithm that identifies the data type, generates new data, and replaces it for each test data in the test code. Furthermore, to verify the correctness of the implemented procedures in the source code, we introduce the intermediate state testing in the test code. For evaluations, we applied the proposal to source codes and test codes in a Java programming course in Okayama university, Japan, and confirmed the validity and e ff ectiveness.
引用
收藏
页码:981 / 994
页数:14
相关论文
共 36 条
  • [1] An Improved Informative Test Code Approach for Code Writing Problem in Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Zaw, Khin Khin
    Mon, Ei Ei
    Kao, Wen-Chung
    [J]. ADVANCES IN INTERNET, DATA & WEB TECHNOLOGIES, 2018, 17 : 687 - 698
  • [2] A Proposal of Test Code Generation Tool for Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Kusaka, Ryota
    Ishihara, Nobuya
    Kao, Wen-Chung
    [J]. 2017 IEEE 31ST INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS (AINA), 2017, : 51 - 56
  • [3] An Offline Answering Function for Code Writing Problem in Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Wang, Yingxin
    Ishihara, Nobuya
    Kao, Wen-Chung
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TW), 2017,
  • [4] A Proposal of Code Completion Problem for Java']Java Programming Learning Assistant System
    Kyaw, Htoo Htoo Sandi
    Aung, Shwe Thinzar
    Thant, Hnin Aye
    Fiinabiki, Nobuo
    [J]. COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS, 2019, 772 : 855 - 864
  • [5] A Proposal of Code Correction Problem for Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    He, Sai
    Kyaw, Htoo Htoo Sandi
    Kao, Wen-Chun
    [J]. COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS (CISIS 2019), 2020, 993 : 671 - 680
  • [6] An Extension of Code Correction Problem for Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Yamaguchi, Masaki
    Kuribayashi, Minoru
    Kyaw, Htoo Htoo Sandi
    Wint, Su Sandy
    Aung, Soe Thandar
    Kao, Wen-Chung
    [J]. ICIET 2020: 2020 8TH INTERNATIONAL CONFERENCE ON INFORMATION AND EDUCATION TECHNOLOGY, 2020, : 110 - 115
  • [7] An Informative Test Code Approach for Studying Three Object-Oriented Programming Concepts by Code Writing Problem in Java']Java Programming Learning Assistant System
    Zaw, Khin Khin
    Funabiki, Nobuo
    Mon, Ei Ei
    Kao, Wen-Chung
    [J]. 2018 IEEE 7TH GLOBAL CONFERENCE ON CONSUMER ELECTRONICS (GCCE 2018), 2018, : 629 - 633
  • [8] File Access Extension of Test Code Generation Tool for Java']Java Programming Learning Assistant System
    Funabiki, Nobuo
    Kusaka, Ryota
    Ishihara, Nobuya
    Kao, Wen-Chung
    [J]. 2017 IEEE 6TH GLOBAL CONFERENCE ON CONSUMER ELECTRONICS (GCCE), 2017,
  • [9] An informative test code approach in code writing problem for three object-oriented programming concepts in java programming learning assistant system
    Zaw, Khin Khin
    Zaw, Win
    Funabiki, Nobuo
    Kao, Wen-Chung
    [J]. IAENG International Journal of Computer Science, 2019, 46 (03) : 1 - 9
  • [10] Web-Server Implementation of Code Completion Problem for Java']Java Programming Learning Assistant System
    Kyaw, Htoo Htoo Sandi
    Funabiki, Nobuo
    Ishihara, Nobuya
    Kuribayashi, Minoru
    Kao, Wen-Chung
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TW), 2019,