An Implementation of Phrase Fill-in-blank Problem for Test Code Reading Study in Java Programming Learning Assistant System

Xiqin Lu, Nobuo Funabiki, Khaing Hsu Wai, Soe Thandar Aung, Mustika Mentari, Wen Chun Kao

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Java is a multi-purpose programming language revolving around the concepts of objects and classes. JUnit is a unit testing framework for Java developers to write test codes and execute testing for highly reliable and bug-free codes. Previously, to assist self-studies by novice students, we have developed the Java programming learning assistant system (JPLAS), and implemented the personal answer platform on Node.js. JPLAS offers several types of exercise problems at different learning levels. In JPLAS, Phrase Fill-in-blank Problem (PFP) requests to fill in the blanks in a given source code with one or multiple elements, and Code Writing Problem (CWP) requests to answer a source code that will pass a given test code. Any answer is automatically marked on the platform by string matching with the correct one for PFP and by unit testing for CWP. In this paper, we present an implementation of PFP for test code reading studies in JPLAS. It is expected that students can easily start solving CWP after PFP. As preliminary evaluations, we generated five PFP instances from five source codes with corresponding test codes, and assigned them to 15 undergraduate students in State Polytechnic of Malang, Indonesia. The results confirmed that the proposal is proper for novice students to study test code reading by JPLAS.

Original languageEnglish
Title of host publicationProceedings of the 13th International Conference on Advances in Information Technology, IAIT 2023
PublisherAssociation for Computing Machinery
ISBN (Electronic)9798400708497
DOIs
Publication statusPublished - 2023 Dec 6
Event13th International Conference on Advances in Information Technology, IAIT 2023 - Bangkok, Thailand
Duration: 2023 Dec 62023 Dec 9

Publication series

NameACM International Conference Proceeding Series

Conference

Conference13th International Conference on Advances in Information Technology, IAIT 2023
Country/TerritoryThailand
CityBangkok
Period2023/12/062023/12/09

Keywords

  • JUnit
  • Java
  • phrase fill-in-blank problem
  • programming learning assistant system
  • test code reading

ASJC Scopus subject areas

  • Human-Computer Interaction
  • Computer Networks and Communications
  • Computer Vision and Pattern Recognition
  • Software

Fingerprint

Dive into the research topics of 'An Implementation of Phrase Fill-in-blank Problem for Test Code Reading Study in Java Programming Learning Assistant System'. Together they form a unique fingerprint.

Cite this