A test code generation method for coding standard input/output with exception handling in Java programming learning assistant system

Ei Ei Mon, Nobuo Funabiki*, Ryota Kusaka, Khin Khin Zaw, Wen Chung Kao

*此作品的通信作者

研究成果: 雜誌貢獻期刊論文同行評審

摘要

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.

原文英語
頁(從 - 到)30-37
頁數8
期刊Advances in Science, Technology and Engineering Systems
3
發行號1
DOIs
出版狀態已發佈 - 2018

ASJC Scopus subject areas

  • 工程(雜項)
  • 物理與天文學(雜項)
  • 技術與創新管理

指紋

深入研究「A test code generation method for coding standard input/output with exception handling in Java programming learning assistant system」主題。共同形成了獨特的指紋。

引用此