Treffer: Integrating a Graph Builder into Python Tutor

Title:
Integrating a Graph Builder into Python Tutor
Publisher Information:
OASIcs - OpenAccess Series in Informatics. Second International Computer Programming Education Conference (ICPEC 2021) 2021
Document Type:
E-Ressource Electronic Resource
DOI:
10.4230.OASIcs.ICPEC.2021.6
Availability:
Open access content. Open access content
https://creativecommons.org/licenses/by/4.0
Note:
application/pdf
English
Other Numbers:
DEDAG oai:drops-oai.dagstuhl.de:14222
doi:10.4230/OASIcs.ICPEC.2021.6
urn:nbn:de:0030-drops-142221
https://drops.dagstuhl.de/opus/volltexte/2021/14222/
1260130302
Contributing Source:
SCHLOSS DAGSTUHL LEIBNIZ ZENTRUM GMBH
From OAIster®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1260130302
Database:
OAIster

Weitere Informationen

Analysing unknown source code to comprehend it is quite hard and expensive task. Therefore, the Program Comprehension (PC) subject has always been an area of interest as it helps to realize how a program works by identifying the code that implements each functionality. This means being able to map the problem domain with the program domain. PC is a complex area, but its importance for programmers is so high that many approaches and tools were proposed along the last two decades. Program Animation is one of those approaches requiring specialized techniques. For each programming language, there are already tools that enable us to execute a program step by step, visualize its execution path, observe the effect of each instruction on its data structures, and inspect the value of its variables at any point. In the present context, we sustain the idea that PC techniques and tools can also be of great value for students taking the first steps in programming using a specific language. To this end, we aim to improve Python Tutor, a well-known program visualization tool, with graph-based representations of source code such as Control Flow Graph (CFG), Data Flow Graph (DFG), Function Call Graph (FCG) and System Control Graph (SCG). This helps novice programmers to understand the source code analyzing not only the variable contents but also a set of automatically generated graph-based visualizations, that were not included in Python Tutor so far. This will allow the students to be focused on certain aspects of the program (depending on the graph), abstracting others such as details of its syntax.