Through (Tracking) Their Eyes: Abstraction and Complexity in Program Comprehension

Author:

Kather Philipp1,Duran Rodrigo2,Vahrenhold Jan1

Affiliation:

1. University of Münster, Münster, Germany

2. Federal Institute of Mato Grosso do Sul, Campo Grande, Brazil and Aalto University, Aalto, Finland

Abstract

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.

Funder

Bundesministerium für Bildung und Forschung

Conselho Nacional de Desenvolvimento Científico e Tecnológico

Publisher

Association for Computing Machinery (ACM)

Subject

Education,General Computer Science

Reference82 articles.

1. When to use the Bonferroni correction;Armstrong Richard A.;Ophthalm. Physiol. Optics,2014

2. Towards a theory of the comprehension of computer programs;Brooks Ruven;Int. Man-mach. Stud.,1983

3. Object-oriented program comprehension: Effect of expertise, task and phase;Burkhardt Jean-Marie;Empir. Softw. Eng.,2002

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Assessing the Effect of Programming Language and Task Type on Eye Movements of Computer Science Students;ACM Transactions on Computing Education;2024-01-14

2. Understanding Students' Frustration and Confusion during a Programming Task: A Multimodal Approach;2023 IEEE Frontiers in Education Conference (FIE);2023-10-18

3. Logistics, Affordances, and Evaluation of Build Programming;Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 1;2023-03-02

4. Unraveling novices’ code composition difficulties;Computer Science Education;2023-01-24

5. Plan Composition Using Higher-Order Functions;Proceedings of the 2022 ACM Conference on International Computing Education Research V.1;2022-08-03

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3