Academic Journal

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

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: An Automatic Code Generation Tool Using Generative Artificial Intelligence for Element Fill-in-the-Blank Problems in a Java Programming Learning Assistant System.
Συγγραφείς: Zhu, Zihao, Funabiki, Nobuo, Mentari, Mustika, Aung, Soe Thandar, Kao, Wen-Chung, Lee, Yi-Fang
Πηγή: Electronics (2079-9292); Jun2025, Vol. 14 Issue 11, p2261, 27p
Θεματικοί όροι: Generative artificial intelligence, Information technology, Object-oriented programming languages, Computer science, Computer engineering
Περίληψη: 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. [ABSTRACT FROM AUTHOR]
Copyright of Electronics (2079-9292) is the property of MDPI and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Βάση Δεδομένων: Complementary Index
FullText Text:
  Availability: 0
CustomLinks:
  – Url: https://resolver.ebsco.com/c/fiv2js/result?sid=EBSCO:edb&genre=article&issn=20799292&ISBN=&volume=14&issue=11&date=20250601&spage=2261&pages=2261-2287&title=Electronics (2079-9292)&atitle=An%20Automatic%20Code%20Generation%20Tool%20Using%20Generative%20Artificial%20Intelligence%20for%20Element%20Fill-in-the-Blank%20Problems%20in%20a%20Java%20Programming%20Learning%20Assistant%20System.&aulast=Zhu%2C%20Zihao&id=DOI:10.3390/electronics14112261
    Name: Full Text Finder (for New FTF UI) (ns324271)
    Category: fullText
    Text: Full Text Finder
    MouseOverText: Full Text Finder
Header DbId: edb
DbLabel: Complementary Index
An: 185867393
RelevancyScore: 1007
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 1007.33093261719
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: An Automatic Code Generation Tool Using Generative Artificial Intelligence for Element Fill-in-the-Blank Problems in a Java Programming Learning Assistant System.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Zhu%2C+Zihao%22">Zhu, Zihao</searchLink><br /><searchLink fieldCode="AR" term="%22Funabiki%2C+Nobuo%22">Funabiki, Nobuo</searchLink><br /><searchLink fieldCode="AR" term="%22Mentari%2C+Mustika%22">Mentari, Mustika</searchLink><br /><searchLink fieldCode="AR" term="%22Aung%2C+Soe+Thandar%22">Aung, Soe Thandar</searchLink><br /><searchLink fieldCode="AR" term="%22Kao%2C+Wen-Chung%22">Kao, Wen-Chung</searchLink><br /><searchLink fieldCode="AR" term="%22Lee%2C+Yi-Fang%22">Lee, Yi-Fang</searchLink>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: Electronics (2079-9292); Jun2025, Vol. 14 Issue 11, p2261, 27p
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Generative+artificial+intelligence%22">Generative artificial intelligence</searchLink><br /><searchLink fieldCode="DE" term="%22Information+technology%22">Information technology</searchLink><br /><searchLink fieldCode="DE" term="%22Object-oriented+programming+languages%22">Object-oriented programming languages</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+science%22">Computer science</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+engineering%22">Computer engineering</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: 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. [ABSTRACT FROM AUTHOR]
– Name: Abstract
  Label:
  Group: Ab
  Data: <i>Copyright of Electronics (2079-9292) is the property of MDPI and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edb&AN=185867393
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.3390/electronics14112261
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 27
        StartPage: 2261
    Subjects:
      – SubjectFull: Generative artificial intelligence
        Type: general
      – SubjectFull: Information technology
        Type: general
      – SubjectFull: Object-oriented programming languages
        Type: general
      – SubjectFull: Computer science
        Type: general
      – SubjectFull: Computer engineering
        Type: general
    Titles:
      – TitleFull: An Automatic Code Generation Tool Using Generative Artificial Intelligence for Element Fill-in-the-Blank Problems in a Java Programming Learning Assistant System.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Zhu, Zihao
      – PersonEntity:
          Name:
            NameFull: Funabiki, Nobuo
      – PersonEntity:
          Name:
            NameFull: Mentari, Mustika
      – PersonEntity:
          Name:
            NameFull: Aung, Soe Thandar
      – PersonEntity:
          Name:
            NameFull: Kao, Wen-Chung
      – PersonEntity:
          Name:
            NameFull: Lee, Yi-Fang
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 06
              Text: Jun2025
              Type: published
              Y: 2025
          Identifiers:
            – Type: issn-print
              Value: 20799292
          Numbering:
            – Type: volume
              Value: 14
            – Type: issue
              Value: 11
          Titles:
            – TitleFull: Electronics (2079-9292)
              Type: main
ResultId 1