Abstract
As a reliable, portable, and practical programming language, Java has been educated in many universities and professional schools. To assist Java educations, we have developed a Web-based Java Programming Learning Assistant System (JPLAS). JPLAS provides the element fill-in-blank problem and the code writing problem. The former problem is designed for novice students to study the grammar and writing style of Java by filling correct words to the blanks in a given Java code that are automatically marked by checking coincidences with correct ones. The latter problem is for students to study writing Java codes for specifications described in natural language that are automatically verified using the test-driven development (TDD) method. Unfortunately, the transition between two problems is not smooth due to the difference in difficulties. In this paper, we propose the statement fill-in-blank problem in JPLAS to fill the gap by asking students to write one whole statement in a code where the correctness is verified by the TDD method. The blank statement is selected by generating the Program Dependence Graph (PDG) of the code and finding the statement that has the largest dependence with other ones. We verify the effectiveness of our proposal through applications to the Java programming course in our department.
Original language | English |
---|---|
Title of host publication | Proceedings - 2015 IIAI 4th International Congress on Advanced Applied Informatics, IIAI-AAI 2015 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 247-252 |
Number of pages | 6 |
ISBN (Print) | 9781479999583 |
DOIs | |
Publication status | Published - Jan 6 2016 |
Event | 4th IIAI International Congress on Advanced Applied Informatics, IIAI-AAI 2015 - Okayama, Japan Duration: Jul 12 2015 → Jul 16 2015 |
Other
Other | 4th IIAI International Congress on Advanced Applied Informatics, IIAI-AAI 2015 |
---|---|
Country/Territory | Japan |
City | Okayama |
Period | 7/12/15 → 7/16/15 |
Keywords
- Java programming education
- JPLAS
- program dependence graph
- statement
- test-driven development method
ASJC Scopus subject areas
- Information Systems
- Computer Networks and Communications
- Computer Science Applications
- Computer Vision and Pattern Recognition