Understanding the Differences Between Novice and Expert Programmers in Memorizing Source Code
Autor: | Matthias Kramer, David A. Tobinski, Torsten Brinda, Mike Barkmin |
---|---|
Rok vydání: | 2017 |
Předmět: |
Object-oriented programming
Source code Computer science business.industry Working memory media_common.quotation_subject 05 social sciences 020207 software engineering 02 engineering and technology computer.software_genre 050105 experimental psychology Memorization Cognitive test Informatik Categorization 0202 electrical engineering electronic engineering information engineering 0501 psychology and cognitive sciences Artificial intelligence Line (text file) business computer Natural language processing media_common |
Zdroj: | IFIP Advances in Information and Communication Technology ISBN: 9783319743097 WCCE |
DOI: | 10.1007/978-3-319-74310-3_63 |
Popis: | 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. |
Databáze: | OpenAIRE |
Externí odkaz: |