Towards an analysis of program complexity from a cognitive perspective

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

Researchers

Research units

  • University of Porto

Abstract

Instructional designers, examiners, and researchers frequently need to assess the complexity of computer programs in their work. However, there is a dearth of established methodologies for assessing the complexity of a program from a learning point of view. In this article, we explore theories and methods for describing programs in terms of the demands they place on human cognition. More specifically, we draw on Cognitive Load Theory and the Model of Hierarchical Complexity in order to extend Soloway's plan-based analysis of programs and apply it at a fine level of granularity. The resulting framework of Cognitive Complexity of Computer Programs~(CCCP) generates metrics for two aspects of a program: \emph{plan depth} and \emph{maximal plan interactivity}. Plan depth reflects the overall complexity of the cognitive schemas that are required for reasoning about the program, and maximal plan interactivity reflects the complexity of interactions between schemas that arise from program composition. Using a number of short programs as case studies, we apply the CCCP to illustrate why one program or construct is more complex than another, to identify dependencies between constructs that a novice programmer needs to learn and to contrast the complexity of different strategies for program composition. Finally, we highlight some areas in computing education and computing education research in which the CCCP could be applied and discuss the upcoming work to validate and refine the CCCP and associated methodology beyond this initial exploration.

Details

Original languageEnglish
Title of host publicationICER '18 : Proceedings of the 2018 ACM Conference on International Computing Education Research
Publication statusPublished - 9 Aug 2018
MoE publication typeA4 Article in a conference publication
EventACM Conference on International Computing Education Research - Dipoli, Espoo, Finland
Duration: 13 Aug 201815 Aug 2018
Conference number: 14
http://icer.acm.org/icer-2018/
https://icer.acm.org/icer-2018/

Conference

ConferenceACM Conference on International Computing Education Research
Abbreviated titleICER
CountryFinland
CityEspoo
Period13/08/201815/08/2018
Internet address

ID: 27209479