Proposal of a Method for Generating C Program Tracing Tasks

This abstract represents our full paper categorized under the ‘Research to Practice’ category. Program tracing tasks ask about the behavior of a program, such as “the next expression to be executed” and “the value of variables during the execution of that expression”. The program tracing exercise system developed by Tomoto et al. provides an environment for efficiently conducting exercises using program tracing tasks. This system poses questions to learners based on program tracing tasks, adapting to their answers. However, implementing questions for new programs in this system requires considerable effort and time. Therefore, we propose a method to automatically generate tracing tasks by identifying the targets of questions from the program and following predefined question guidelines. Specifically, we first create a model that formalizes the tracing tasks. This model consists of the targets of questions, their execution order, and execution conditions. Then, we develop a method to generate data from the program to implement this model. This method derives an abstract syntax tree from the program, identifies question targets based on the attribute values of nodes, and specifies the order and conditions for executing questions based on the relationships between nodes. Consequently, tracing tasks can be generated by implementing the model with the generated data. We found that tracing tasks could be generated using the proposed model and the data extracted by the proposed method from programs extracted from a programming exercise textbook.

Authors

Institutions

Publication Details

Published
2024-10-13
DOI
https://doi.org/10.1109/fie61694.2024.10893445
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Proposal of a Method for Generating C Program Tracing Tasks

Tomohiro Mogi, Takahito Tomoto, Yuichiro Tateiwa, Takako Akakura
1 citations
Software Engineering Research
0.78
article

Proposal of a Method for Generating C Program Tracing Tasks

Tomohiro Mogi, Takahito Tomoto, Yuichiro Tateiwa, Takako Akakura
article en
1 citations

Abstract

This abstract represents our full paper categorized under the ‘Research to Practice’ category. Program tracing tasks ask about the behavior of a program, such as “the next expression to be executed” and “the value of variables during the execution of that expression”. The program tracing exercise system developed by Tomoto et al. provides an environment for efficiently conducting exercises using program tracing tasks. This system poses questions to learners based on program tracing tasks, adapting to their answers. However, implementing questions for new programs in this system requires considerable effort and time. Therefore, we propose a method to automatically generate tracing tasks by identifying the targets of questions from the program and following predefined question guidelines. Specifically, we first create a model that formalizes the tracing tasks. This model consists of the targets of questions, their execution order, and execution conditions. Then, we develop a method to generate data from the program to implement this model. This method derives an abstract syntax tree from the program, identifies question targets based on the attribute values of nodes, and specifies the order and conditions for executing questions based on the relationships between nodes. Consequently, tracing tasks can be generated by implementing the model with the generated data. We found that tracing tasks could be generated using the proposed model and the data extracted by the proposed method from programs extracted from a programming exercise textbook.

Tokyo University of Science (JP), Nagoya Institute of Technology (JP), Chiba Institute of Technology (JP)
Openalex Percentile: Top 17%
Software Engineering Research
0.78
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Proposal of a Method for Generating C Program Tracing Tasks — Tomohiro Mogi, Takahito Tomoto, et al. · (2024) | TGRS Research Map | TGRS