Predicting Cognitive Load in Future Code Puzzles

Caitlin Kelleher and Wint Hnin

Abstract

Code puzzles are an increasingly popular way to introduce youth to programming. Yet our knowledge about how to maximize learning from puzzles is incomplete. We conducted a data collection study and trained a model that predicts cognitive load, the mental effort necessary to complete a task, on a future puzzle. Controlling cognitive load can lead to more effective learning. Our model suggests that it is possible to predict Cognitive Load on future problems; the model could correctly distinguish the more difficult puzzle within a pair 71%-79% of the time. Further, studying the model itself provides new insights into the sources of puzzle difficulty, the factors that contribute to Cognitive Load, and their inter-relationships. Finally, the ability to predict Cognitive Load on a future puzzle is an important step towards the creation of adaptive code puzzle systems.

Venue
CHI 2019
Volume
Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3290605.3300487
PDF
https://dl.acm.org/doi/pdf/10.1145/3290605.3300487
Anthology ID
2019.chi.255

Cite

@inproceedings{kelleher-hnin-2019-predicting,
    title = {{Predicting Cognitive Load in Future Code Puzzles}},
    author = {Caitlin Kelleher and Wint Hnin},
    booktitle = {Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450359702},
    year = {2019},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3290605.3300487},
    url = {https://doi.org/10.1145/3290605.3300487},
    abstract = {Code puzzles are an increasingly popular way to introduce youth to programming. Yet our knowledge about how to maximize learning from puzzles is incomplete. We conducted a data collection study and trained a model that predicts cognitive load, the mental effort necessary to complete a task, on a future puzzle. Controlling cognitive load can lead to more effective learning. Our model suggests that it is possible to predict Cognitive Load on future problems; the model could correctly distinguish the more difficult puzzle within a pair 71\%-79\% of the time. Further, studying the model itself provides new insights into the sources of puzzle difficulty, the factors that contribute to Cognitive Load, and their inter-relationships. Finally, the ability to predict Cognitive Load on a future puzzle is an important step towards the creation of adaptive code puzzle systems.}
}