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
相关论文
共 40 条
  • [31] An Improved Java']Java Programming Learning System Using Test-Driven Development Method
    Funabiki, Nobuo
    Pukuyama, Yuuki
    Matsushima, Yukiko
    Nakanishi, Toru
    Watanabe, Kan
    [J]. INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, IMECS 2012, VOL I, 2012, : 597 - 602
  • [32] A UNIFIED WEB-BASED FRAMEWORK FOR JAVA']JAVA CODE ANALYSIS AND EVOLUTIONARY AUTOMATIC TEST-CASES GENERATION
    Sofokleous, Anastasis A.
    Petsas, Panagiotis
    Andreou, Andreas S.
    [J]. ICEIS 2010: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL 1: DATABASES AND INFORMATION SYSTEMS INTEGRATION, 2010, : 407 - 410
  • [33] A Selenium based Approach to Automatic Test Script Generation for Refactoring Java']JavaScript Code
    Chen, Ruifeng
    Miao, Huaikou
    [J]. 2013 IEEE/ACIS 12TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2013, : 341 - 346
  • [34] Search based GUI Test Generation in Java']Java Comparing Code-based and EFG-based Optimization Goals
    Menninghaus, Mathias
    Wilke, Falk
    Schleutker, Jan-Philipp
    Pulvermueller, Elke
    [J]. ENASE: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2017, : 179 - 186
  • [35] Automatic generation of robot program code: Learning from perceptual data
    Yeasin, M
    Chaudhuri, S
    [J]. SIXTH INTERNATIONAL CONFERENCE ON COMPUTER VISION, 1998, : 889 - 894
  • [36] A Study of Code Modification Problems for Excel Operations in Python']Python Programming Learning Assistant System
    Shwe, San Hay Mar
    Funabiki, Nobuo
    Wai, Khaing Hsu
    Aung, Shune Lae
    Kao, Wen-Chung
    [J]. 2022 10TH INTERNATIONAL CONFERENCE ON INFORMATION AND EDUCATION TECHNOLOGY (ICIET 2022), 2022, : 209 - 213
  • [37] Validating, Refining, and Identifying Programming Plans Using Learning Curve Analysis on Code Writing Data
    Demirtas, Mehmet Arif
    Fowler, Max
    Hu, Nicole
    Cunningham, Kathryn
    [J]. 20TH ANNUAL ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, ICER 2024, VOL 1, 2024, : 263 - 279
  • [38] Enhanced Java']JavaScript Learning using Code Quality Tools and a Rule-based System in the FLIP Exploratory Learning Environment
    Karkalas, Sokratis
    Gutierrez-Santos, Sergio
    [J]. 2014 14TH IEEE INTERNATIONAL CONFERENCE ON ADVANCED LEARNING TECHNOLOGIES (ICALT), 2014, : 84 - 88
  • [40] COMPACT THERMOSYPHON COOLING SYSTEM FOR HIGH HEAT FLUX SERVERS: VALIDATION OF THERMOSYPHON SIMULATION CODE CONSIDERING NEW TEST DATA
    Haynau, Remy
    Marcinichen, Jackson B.
    Amalfi, Raffaele L.
    Cataldo, Filippo
    Thome, John R.
    [J]. PROCEEDINGS OF ASME 2021 INTERNATIONAL TECHNICAL CONFERENCE AND EXHIBITION ON PACKAGING AND INTEGRATION OF ELECTRONIC AND PHOTONIC MICROSYSTEMS (INTERPACK2021), 2021,