• Home
  • Search
  • An Automatic Code Generation Tool Using Generative Artificial Intelligence for Element Fill-in-the-Blank Problems in a Java Programming Learning Assistant System
  • Cite Icon2
  • https://doi.org/10.3390/electronics14112261Copy DOI Icon

An Automatic Code Generation Tool Using Generative Artificial Intelligence for Element Fill-in-the-Blank Problems in a Java Programming Learning Assistant System

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Presently, Java is a fundamental object-oriented programming language that can be mastered by any student in information technology or computer science. To assist both teachers and students, we developed the Java Programming Learning Assistant System (JPLAS). It offers several types of practice problems with different levels and learning goals for step-by-step self-study, where any answer is automatically marked in the system. One challenge for teachers that is addressed with JPLAS is the generation of proper exercise problems that meet learning requirements. We implemented programs for generating new problems from given source codes, as collecting and evaluating suitable codes remains time-consuming. In this paper, we present an automatic code generation tool using generative AI to solve this challenge. Prompt engineering is used to help generate an appropriate source code, and the quality is controlled by optimizing the prompt based on the outputs. For applications in JPLAS, we implement a web application system to automatically generate an element fill-in-the-blank problem (EFP) in JPLAS. For evaluation, we select the element fill-in-the-blank problem (EFP) as the target type in JPLAS and generate several instances using this tool. The results confirm the validity and effectiveness of the proposed method.

Similar Papers
  • Conference Article
  • Citations3

A proposal of Javadoc hint function for Java Programming Learning Assistant System

  • Oct 01, 2014
  • Nobuo Funabiki +2
  • Conference Article
  • Citations2

An offline answering function for code writing problem in Java Programming Learning Assistant System

  • Jun 01, 2017
  • Nobuo Funabiki +3
  • Book Chapter

An Improved Informative Test Code Approach for Code Writing Problem in Java Programming Learning Assistant System

  • Jan 01, 2018
  • Nobuo Funabiki +3
  • Conference Article
  • Citations9

An Implementation of Answer Code Validation Program for Code Writing Problem in Java Programming Learning Assistant System

  • Mar 18, 2023
  • Khaing Hsu Wai +5
  • Conference Article
  • Citations2

Web-Server Implementation of Code Completion Problem for Java Programming Learning Assistant System

  • May 01, 2019
  • Htoo Htoo Sandi Kyaw +4
  • PDF
  • Research Article
  • Citations7

Code Plagiarism Checking Function and Its Application for Code Writing Problem in Java Programming Learning Assistant System

  • Jan 17, 2024
  • Analytics
  • Ei Ei Htet +6
  • PDF
  • Research Article
  • Citations3

Investigation of Value Trace Problem for C++ Programming Self-study of Novice Students

  • Jan 01, 2022
  • International Journal of Information and Education Technology
  • Shune Lae Aung +4
  • Conference Article
  • Citations22

Offline answering function for fill-in-blank problems in Java Programming Learning Assistant System

  • May 01, 2016
  • Nobuo Funabiki +4
  • PDF
  • Research Article
  • Citations1

A Proposal of Hint Function for Java Programming Learning Assistant System

  • Jan 01, 2023
  • International Journal of Information and Education Technology
  • Yanhui Jing +5
  • Conference Article
  • Citations1

File access extension of test code generation tool for Java programming learning assistant system

  • Oct 01, 2017
  • Nobuo Funabiki +3
  • Book Chapter
  • Citations1

A Workbook Design for Fill-in-Blank Problems in Java Programming Learning Assistant System

  • Oct 22, 2016
  • Nobuo Funabiki +3
  • Conference Article
  • Citations1

Software Quality Metrics Calculations for Java Programming Learning Assistant System

  • Feb 01, 2020
  • Khin Khin Zaw +3
  • Conference Article
  • Citations6

An Informative Test Code Approach for Studying Three Object-Oriented Programming Concepts by Code Writing Problem in Java Programming Learning Assistant System

  • Oct 01, 2018
  • Khin Khin Zaw +3
  • Research Article

A design-aware test code approach for code writing problem in Java programming learning assistant system

  • Jan 01, 2017
  • International Journal of Space-Based and Situated Computing
  • Nobuo Funabiki +1
  • Research Article
  • Citations4

A proposal of recommendation function for element fill-in-Blank problems in java programming learning assistant system

  • Apr 05, 2021
  • International Journal of Web Information Systems
  • Su Sandy Wint +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.