start-ver=1.4 cd-journal=joma no-vol=3 cd-vols= no-issue=1 article-no= start-page=30 end-page=37 dt-received= dt-revised= dt-accepted= dt-pub-year=2018 dt-pub=20180130 dt-online= en-article= kn-article= en-subject= kn-subject= en-title= kn-title=A Test Code Generation Method for Coding Standard Input/Output with Exception Handling in Java Programming Learning Assistant System en-subtitle= kn-subtitle= en-abstract= kn-abstract= To advance Java programming educations, we have developed the Java Programming Learning Assistant System (JPLAS) that provides the code writing problem. This problem asks a student to write a source code to satisfy the specification of a given assignment, where the correctness is verified by running test code on JUnit. For a novice student, a code of implementing the standard input/output with the exception handling should be mastered at the early stage as the first step programming for human interfaces. However, for a teacher, it is not easy to write the test code for it. In this paper, we propose a test code generation method to generate the test code using the reference source code for the assignment. In the evaluation of this proposal, all the students completed the codes using the generated test codes for exception handling, although the use of exception handling functions was sometimes insufficient or incorrect. en-copyright= kn-copyright= en-aut-name=Ei Ei Mon en-aut-sei=Ei Ei Mon en-aut-mei= kn-aut-name= kn-aut-sei= kn-aut-mei= aut-affil-num=1 ORCID= en-aut-name=FunabikiNobuo en-aut-sei=Funabiki en-aut-mei=Nobuo kn-aut-name= kn-aut-sei= kn-aut-mei= aut-affil-num=2 ORCID= en-aut-name=KusakaRyota en-aut-sei=Kusaka en-aut-mei=Ryota kn-aut-name= kn-aut-sei= kn-aut-mei= aut-affil-num=3 ORCID= en-aut-name=Khin Khin Zaw en-aut-sei=Khin Khin Zaw en-aut-mei= kn-aut-name= kn-aut-sei= kn-aut-mei= aut-affil-num=4 ORCID= en-aut-name=KaoWen-Chung en-aut-sei=Kao en-aut-mei=Wen-Chung kn-aut-name= kn-aut-sei= kn-aut-mei= aut-affil-num=5 ORCID= affil-num=1 en-affil=Okayama University, Department of Electrical and Communication Engineering kn-affil= affil-num=2 en-affil=Okayama University, Department of Electrical and Communication Engineering kn-affil= affil-num=3 en-affil=Okayama University, Department of Electrical and Communication Engineering kn-affil= affil-num=4 en-affil=Okayama University, Department of Electrical and Communication Engineering kn-affil= affil-num=5 en-affil=National Taiwan Normal University, Department of Electrical Engineering kn-affil= en-keyword=Java programming kn-keyword=Java programming en-keyword=JPLAS kn-keyword=JPLAS en-keyword=Test code kn-keyword=Test code en-keyword=Test case kn-keyword=Test case en-keyword=Automatic generation kn-keyword=Automatic generation en-keyword=JUnit kn-keyword=JUnit END