Skip to Main content Skip to Navigation
Conference papers

Understanding the Differences Between Novice and Expert Programmers in Memorizing Source Code

Abstract : This study investigates the difference between novice and expert programmers in memorizing source code. The categorization was based on a questionnaire, which measured the self-estimated programming experience. An instrument for assessing the ability to memorize source code was developed. Also, well-known cognitive tests for measuring working memory capacity and attention were used, based on the work of Kellog and Hayes. Forty-two participants transcribed items which were hidden initially but could be revealed by the participants at will. We recorded all keystrokes, counted the lookups and measured the lookup time. The results suggest that experts could memorize more source code at once, because they used fewer lookups and less lookup time. By investigating the items in more detail, we found that it is possible that experts memorize short source codes in semantic entities, whereas novice programmers memorize them line by line. Because our experts were significantly better in the performed memory capacity tests, our findings must be viewed with caution. Therefore, there is a definite need to investigate the correlation between working memory and self-estimated programming experience.
Document type :
Conference papers
Complete list of metadata

Cited literature [23 references]  Display  Hide  Download

https://hal.inria.fr/hal-01762894
Contributor : Hal Ifip <>
Submitted on : Tuesday, April 10, 2018 - 2:47:10 PM
Last modification on : Tuesday, April 10, 2018 - 2:51:18 PM

File

463502_1_En_63_Chapter.pdf
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Matthias Kramer, Mike Barkmin, David Tobinski, Torsten Brinda. Understanding the Differences Between Novice and Expert Programmers in Memorizing Source Code. 11th IFIP World Conference on Computers in Education (WCCE), Jul 2017, Dublin, Ireland. pp.630-639, ⟨10.1007/978-3-319-74310-3_63⟩. ⟨hal-01762894⟩

Share

Metrics

Record views

236

Files downloads

120