To enhance Java programming educations, we have developed a Java Programming Learning Assistant System (JPLAS). In JPLAS, the code writing problem asks a student to implement a source code that passes the given test code on JUnit, where the details of the implementation are described in the test code. Previously, we confirmed the effectiveness of this informative test code approach in studying three object-oriented programming concepts for Java. In this paper, we present its application to studying Java Collections Framework (JCF). JCF enables us to handle a group of objects by offering appropriate libraries, which is expected to be mastered by the students. For evaluations, we generated five informative test codes for JCF, and asked 19 students from Japan, Myanmar, China, and Indonesia to implement the source codes. Then, all of them completed the source codes passing the test codes, while certain students did not use the expected JCF library functions.
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.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.