{"title":"A design-aware test code approach for code writing problem in Java programming learning assistant system","authors":"Khin Khin Zaw, N. Funabiki","doi":"10.1504/IJSSC.2017.10010062","DOIUrl":null,"url":null,"abstract":"To advance Java programming educations, we have developed the web-based Java programming learning assistant system (JPLAS) that provides the code writing problem. This problem asks a student to write a source code for a given assignment, where the correctness is verified by running the test code on JUnit. In this paper, we propose a design-aware test code approach for the code writing problem. The design-aware test code tests any important method in the model source code that has the advisable design for the assignment. Thus, by writing a code that can pass it, a student is expected to implement the code with the proper classes/methods in the model code. In evaluations of the proposal, all the students could complete highly qualitative codes for five graph algorithms using the design-aware test codes, where the code quality metrics were measured by metrics plugin for Eclipse.","PeriodicalId":43931,"journal":{"name":"International Journal of Space-Based and Situated Computing","volume":"401 1","pages":"145-154"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Space-Based and Situated Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1504/IJSSC.2017.10010062","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
To advance Java programming educations, we have developed the web-based Java programming learning assistant system (JPLAS) that provides the code writing problem. This problem asks a student to write a source code for a given assignment, where the correctness is verified by running the test code on JUnit. In this paper, we propose a design-aware test code approach for the code writing problem. The design-aware test code tests any important method in the model source code that has the advisable design for the assignment. Thus, by writing a code that can pass it, a student is expected to implement the code with the proper classes/methods in the model code. In evaluations of the proposal, all the students could complete highly qualitative codes for five graph algorithms using the design-aware test codes, where the code quality metrics were measured by metrics plugin for Eclipse.