On Students' Usage of Tracing for Understanding Code

On Students' Usage of Tracing for Understanding Code
复制标题

论学生使用追踪来理解代码

DOI:
10.1145/3545945.3569741
复制
发表时间:
2023
期刊:
SIGCSE 2023: Proceedings of the 54th ACM Technical Symposium on Computer Science Education
影响因子:
--
通讯作者:
Zilles, Craig
Zilles, Craig
中科院分区:
--
文献类型:
--
作者:
Hassan, Mohammed;Zilles, Craig

文献摘要

参考文献

被引文献

相似文献

用简单的英语解释(EiPE)问题评估学生是否能够理解和解释代码的高级目的。我们对入门编程学生解决EiPE问题进行了定性的有声思考研究。在本文中,我们关注学生如何使用跟踪(心理执行)来理解代码,以便解释它。我们发现,在某些情况下,跟踪可以成为新手理解和解释代码的有效策略。此外,我们观察到三个阻碍跟踪的问题,它们是1)在可能有用的时候没有使用跟踪(在面试官建议跟踪代码后,一些努力的学生正确地解释了),2)由于对编程语言的误解而错误地跟踪,以及3)使用一组没有充分暴露代码行为的输入进行跟踪(在面试官建议输入时,学生正确地解释了)。这些结果表明,我们应该教学生使用跟踪作为一种理解代码的方法,并教他们如何选择适当的输入进行跟踪。
Explain in Plain English (EiPE) questions evaluate whether students can understand and explain the high-level purpose of code. We conducted a qualitative think-aloud study of introductory programming students solving EiPE questions. In this paper, we focus on how students use tracing (mental execution) to understand code in order to explain it.We found that, in some cases, tracing can be an effective strategy for novices to understand and explain code. Furthermore, we observed three problems that prevented tracing from being helpful, which are 1) not employing tracing when it could be helpful (some struggling students explained correctly after the interviewer suggested tracing the code), 2) tracing incorrectly due to misunderstandings of the programming language, and 3) tracing with a set of inputs that did not sufficiently expose the code's behavior (upon interviewer suggesting inputs, students explained correctly). These results suggest that we should teach students to use tracing as a method for understanding code and teach them how to select appropriate inputs to trace.
DOI: --
发表时间: 2019
期刊: Technical Symposium on Computer Science Education
影响因子: --
作者:
J. Prather;Raymond Pettit;Brett A. Becker;Paul Denny;Dastyni Loksa;Alani L. Peters;Zachary Albrecht;Krista Masci
通讯作者: Krista Masci
DOI: 10.1016/s0020-7373(05)80122-1
发表时间: 1990
期刊: Int. J. Man Mach. Stud.
影响因子: --
作者:
F. Détienne;E. Soloway
通讯作者: E. Soloway
DOI: --
发表时间: 1977
期刊:
影响因子: --
作者:
K. Collis;J. Biggs
通讯作者: J. Biggs
使用描画和素描来解决编程问题:复制和扩展对学生所画内容的分析
DOI: 10.1145/3105726.3106190
发表时间: 2017
期刊: Proceedings of the 2017 ACM Conference on International Computing Education Research
影响因子: --
作者:
Kathryn Cunningham;Sarah Blanchard;Barbara Ericson;M. Guzdial
通讯作者: M. Guzdial
用于用简单英语解释问题的经过验证的评分标准
DOI: 10.1145/3328778.3366879
发表时间: 2020
期刊: Proceedings of the 51st ACM Technical Symposium on Computer Science Education
影响因子: --
作者:
Binglin Chen;Sushmita Azad;Rajarshi Haldar;Matthew West;C. Zilles
通讯作者: C. Zilles