Publikationen

Art der Publikation: Beitrag in Sammelwerk

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

Autor(en):
Kramer, M.; Barkmin, M.; Tobinski, D.; Brinda, T.
Herausgeber:
International Federation for Information Processing (IFIP)
Titel des Sammelbands:
Proceedings of the World Conference on Computers in Education (WCCE 2017, Dublin/Ireland, July 2-6, 2017)
Verlag:
Springer
Ort(e):
Cham, Switzerland
Veröffentlichung:
2017
Sprache:
English
Schlagworte:
Assessment, Object-oriented programming, Working memory, Programming experience
Link zum Volltext:
Paper accepted for publication in the post-conference book to appear in late 2017/early 2018.
Zitation:
Download RIS

Kurzfassung

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. Thirty-eight 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.