Teaching Programming with Gamified Semantics

Ian Arawjo, Cheng-Yao Wang, Andrew C. Myers, Erik Andersen and François Guimbretière

Abstract

Dominant approaches to programming education emphasize program construction over language comprehension. We present Reduct, an educational game embodying a new, comprehension-first approach to teaching novices core programming concepts which include functions, Booleans, equality, conditionals, and mapping functions over sets. In this novel teaching strategy, the player executes code using reduction-based operational semantics. During gameplay, code representations fade from concrete, block-based graphics to the actual syntax of JavaScript ES2015. We describe our design rationale and report on the results of a study evaluating the efficacy of our approach on young adults (18+) without prior coding experience. In a short timeframe, novices demonstrated promising learning of core concepts expressed in actual JavaScript. We also present results from an online deployment. Finally, we discuss ramifications for the design of future computational thinking games.

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

Cite

@inproceedings{arawjo-etal-2017-teaching,
    title = {{Teaching Programming with Gamified Semantics}},
    author = {Ian Arawjo and Cheng-Yao Wang and Andrew C. Myers and Erik Andersen and François Guimbretière},
    booktitle = {Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450346559},
    year = {2017},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3025453.3025711},
    url = {https://doi.org/10.1145/3025453.3025711},
    abstract = {Dominant approaches to programming education emphasize program construction over language comprehension. We present Reduct, an educational game embodying a new, comprehension-first approach to teaching novices core programming concepts which include functions, Booleans, equality, conditionals, and mapping functions over sets. In this novel teaching strategy, the player executes code using reduction-based operational semantics. During gameplay, code representations fade from concrete, block-based graphics to the actual syntax of JavaScript ES2015. We describe our design rationale and report on the results of a study evaluating the efficacy of our approach on young adults (18+) without prior coding experience. In a short timeframe, novices demonstrated promising learning of core concepts expressed in actual JavaScript. We also present results from an online deployment. Finally, we discuss ramifications for the design of future computational thinking games.}
}