GRAPHICAL SIMULATION OF NUMERICAL ALGORITHMS - An Aproach based on Code Instrumentation and Java Technologies

Carlos Balsa, Luís Alves, Maria J. Pereira, Pedro J. Rodrigues, Rui P. Lopes

2012

Abstract

We want to create a working tool for mathematics teachers and a corresponding learning tool for students, namely a graphical simulator of mathematical algorithms (GraSMa). To achieve it we try two different strategies. We started by annotating manually the original algorithm with inspector functions. Now we are testing a new approach that aims at automatically annotating the original code with inspector functions. To achieve this we are developing a language translator module that enables us to comment automatically on any code written in Octave language. The run of the annotated code gated by one of these two ways, records in a XML (eXtensible Markup Language) file everything that happened during the execution. Subsequently, the XML file is parsed by a Java application that graphically represents the mathematic objects and their behaviour during execution. The final application will be accessed on-line through a website (WebGraSMa) which is currently under development. In this paper we report and discuss about the procedures followed and present some intermediate results.

Download


Paper Citation


in Harvard Style

Balsa C., Alves L., J. Pereira M., J. Rodrigues P. and P. Lopes R. (2012). GRAPHICAL SIMULATION OF NUMERICAL ALGORITHMS - An Aproach based on Code Instrumentation and Java Technologies . In Proceedings of the 4th International Conference on Computer Supported Education - Volume 1: CSEDU, ISBN 978-989-8565-06-8, pages 164-169. DOI: 10.5220/0003917601640169

in Bibtex Style

@conference{csedu12,
author={Carlos Balsa and Luís Alves and Maria J. Pereira and Pedro J. Rodrigues and Rui P. Lopes},
title={GRAPHICAL SIMULATION OF NUMERICAL ALGORITHMS - An Aproach based on Code Instrumentation and Java Technologies},
booktitle={Proceedings of the 4th International Conference on Computer Supported Education - Volume 1: CSEDU,},
year={2012},
pages={164-169},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003917601640169},
isbn={978-989-8565-06-8},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 4th International Conference on Computer Supported Education - Volume 1: CSEDU,
TI - GRAPHICAL SIMULATION OF NUMERICAL ALGORITHMS - An Aproach based on Code Instrumentation and Java Technologies
SN - 978-989-8565-06-8
AU - Balsa C.
AU - Alves L.
AU - J. Pereira M.
AU - J. Rodrigues P.
AU - P. Lopes R.
PY - 2012
SP - 164
EP - 169
DO - 10.5220/0003917601640169