Readable vs. Writable Code: A Survey of Intermediate Students' Structure Choices
Readable vs. Writable Code: A Survey of Intermediate Students' Structure Choices
复制标题
可读与可写代码:中级学生结构选择的调查
DOI:
10.1145/3478431.3499413
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Pyper, Jordan
中科院分区:
文献类型:
--
作者:
Wiese, Eliane;Rafferty, Anna N.;Pyper, Jordan
Since intermediate CS students can use a variety of control struc- tures, why do their choices often not match experts' Students may not realize what choices expert prefer, find non-expert choices easier to read, or simply forget to write with expert structure. To disentangle these explanations, we surveyed 328 2nd and 3rd se- mester undergraduates, with tasks including writing short func- tions, selecting which structure was most readable or best styled, and comprehension questions. Questions focused on seven control structure topics that were important to instructors (e.g., factoring out repeated code between an if-block and its else). Students frequently wrote with non-expert structure, and, for five topics, at least 1/3 of students (48% - 71%) thought a non-expert struc- ture was more readable than the expert one. However, students often made one choice when writing code, but preferred a different choice when reading it. Additionally, for more complex topics, stu- dents often failed to notice (or understand) differences in execution caused by changes in structure. Together, these results suggest that instruction and practice for choosing control structures should be context-specific, and that assessment focused only on code writing may miss underlying misunderstandings.
登录
查看更多内容
DOI:
--
发表时间:
2011
期刊:
IFAC Symposium on Advances in Control Education
影响因子:
--
作者:
Jacqueline L. Whalley;T. Clear;Phil Robbins;Errol Thompson
通讯作者:
Errol Thompson
影响因子:
7.4
作者:
E. Soloway;Kate Ehrlich
通讯作者:
E. Soloway;Kate Ehrlich
DOI:
--
发表时间:
2018
期刊:
IFAC Symposium on Advances in Control Education
影响因子:
--
作者:
A. Ellis
通讯作者:
A. Ellis
DOI:
--
发表时间:
2019
期刊:
2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET)
影响因子:
--
作者:
E. Wiese;Anna N. Rafferty;A. Fox
通讯作者:
A. Fox
DOI:
--
发表时间:
2018
期刊:
IFAC Symposium on Advances in Control Education
影响因子:
--
作者:
G. D. Ruvo;E. Tempero;Andrew Luxton;G. Rowe;Nasser Giacaman
通讯作者:
Nasser Giacaman