TY - JOUR
T1 - Through (Tracking) Their Eyes: Abstraction and Complexity in Program Comprehension
AU - Kather, Philipp
AU - Duran, Rodrigo
AU - Vahrenhold, Jan
N1 - Funding Information:
This work was partially supported by Bundesministerium für Bildung und Forschung grant number 01PB18007A and Conselho Nacional de Desenvolvimento Científico e Tecnológico grant number 201365/2015-4. Authors’ addresses: P. Kather and J. Vahrenhold, University of Münster, Münster, Einsteinstraße 62, 48149 Münster, Germany; emails: {philipp.kather, jan.vahrenhold}@uni-muenster.de; R. Duran, Federal Institute of Mato Grosso do Sul, Campo Grande, Rodovia MS–473, km 23, s/nº, Fazenda Santa Bárbara, Nova Andradina, MS, Brazil and Aalto University, Aalto, Finland; email: rodrigo.duran@ifms.edu.br.
Publisher Copyright:
© 2021 Copyright held by the owner/author(s).
PY - 2022/6
Y1 - 2022/6
N2 - Previous studies on writing and understanding programs presented evidence that programmers beyond a novice stage utilize plans or plan-like structures. Other studies on code composition showed that learners have difficulties with writing, reading, and debugging code where interacting plans are merged into a short piece of code. In this article, we focus on the question of how different code-composition strategies and the familiarity with code affect program comprehension on a more abstract, i.e., algorithmic level. Using an eye-tracking setup, we explored how advanced students comprehend programs and their underlying algorithms written in either a merged or abutted (sequenced) composition of code blocks of varying familiarity. The effects of familiarity and code composition were studied both isolated and in combination. Our analysis of the quantitative data adds to our understanding of the behavior reported in previous studies and the effects of plans and their composition on the programs' difficulty. Using this data along with retrospective interviews, we analyze students' reading patterns and provide support that subjects were able to form mental models of program execution during task performance. Furthermore, our results suggest that subjects are able to retrieve and create schemata when the program is composed of familiar templates, which may improve their performance; we found indicators for a higher element-interactivity for programs with a merged code composition compared to abutted code composition.
AB - Previous studies on writing and understanding programs presented evidence that programmers beyond a novice stage utilize plans or plan-like structures. Other studies on code composition showed that learners have difficulties with writing, reading, and debugging code where interacting plans are merged into a short piece of code. In this article, we focus on the question of how different code-composition strategies and the familiarity with code affect program comprehension on a more abstract, i.e., algorithmic level. Using an eye-tracking setup, we explored how advanced students comprehend programs and their underlying algorithms written in either a merged or abutted (sequenced) composition of code blocks of varying familiarity. The effects of familiarity and code composition were studied both isolated and in combination. Our analysis of the quantitative data adds to our understanding of the behavior reported in previous studies and the effects of plans and their composition on the programs' difficulty. Using this data along with retrospective interviews, we analyze students' reading patterns and provide support that subjects were able to form mental models of program execution during task performance. Furthermore, our results suggest that subjects are able to retrieve and create schemata when the program is composed of familiar templates, which may improve their performance; we found indicators for a higher element-interactivity for programs with a merged code composition compared to abutted code composition.
KW - Eye tracking
KW - Plan-composition Strategies
KW - Plans
KW - Program comprehension
KW - Qualitative content analysis
UR - http://www.scopus.com/inward/record.url?scp=85127197118&partnerID=8YFLogxK
U2 - 10.1145/3480171
DO - 10.1145/3480171
M3 - Article
AN - SCOPUS:85127197118
VL - 22
SP - 1
EP - 33
JO - ACM Transactions on Computing Education
JF - ACM Transactions on Computing Education
SN - 1946-6226
IS - 2
M1 - 17
ER -