{"title":"Converting Java Source Code for Programming Education Support Tool pgtracer","authors":"Masateru Kishikawa, T. Kakeshita","doi":"10.1109/iiai-aai53430.2021.00025","DOIUrl":null,"url":null,"abstract":"We have proposed a programming education support tool pgtracer for effective programming education. Pgtracer utilizes source codes and trace tables that represent execution results of the source code and creates programming exercises by defining blanks in some of them. The difficulty level of the exercises can be freely adjusted since the fill-in-the-blanks in the programs and trace tables can be defined freely. Furthermore, we can realize learning analytics by collecting the data of students' response process. In this paper, we extend pgtracer to incorporate Java for the effective education of object-oriented programming. We convert Java programs into an XML format that can be processed by pgtracer to effectively teach object-oriented programming using Java. By expressing the source code in XML format, it becomes possible to create flexible fill-in-the-blank questions. For this purpose, we utilize JavaCC to create an XML generator, which implements a program for each syntactic rule of the Java grammar to convert the source code into the specified XML format. The XML generator is implemented by combining these programs.","PeriodicalId":414070,"journal":{"name":"2021 10th International Congress on Advanced Applied Informatics (IIAI-AAI)","volume":"74 11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 10th International Congress on Advanced Applied Informatics (IIAI-AAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iiai-aai53430.2021.00025","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We have proposed a programming education support tool pgtracer for effective programming education. Pgtracer utilizes source codes and trace tables that represent execution results of the source code and creates programming exercises by defining blanks in some of them. The difficulty level of the exercises can be freely adjusted since the fill-in-the-blanks in the programs and trace tables can be defined freely. Furthermore, we can realize learning analytics by collecting the data of students' response process. In this paper, we extend pgtracer to incorporate Java for the effective education of object-oriented programming. We convert Java programs into an XML format that can be processed by pgtracer to effectively teach object-oriented programming using Java. By expressing the source code in XML format, it becomes possible to create flexible fill-in-the-blank questions. For this purpose, we utilize JavaCC to create an XML generator, which implements a program for each syntactic rule of the Java grammar to convert the source code into the specified XML format. The XML generator is implemented by combining these programs.