Identifying and Correcting Programming Language Behavior MisconceptionsKuang-Chen LuShriram Krishnamurthi
Kuang-Chen Lu
Shriram Krishnamurthi
2024
Proc. ACM Program. Lang., Volume 8, Issue OOPSLA1
Misconceptions about core linguistic concepts like mutable
variables, mutable compound data, and their interaction with scope
and higher-order functions seem to be widespread.
But
how do we detect
them, given that experts have blind spots and may not realize the
myriad ways in which students can misunderstand programs?
Furthermore, once identified, what can we do to correct them?
In this paper, we present a curated list of misconceptions, and an
instrument to detect them. These are distilled from student work
over several years and match and extend prior research. We also
present an automated, self-guided tutoring system. The tutor builds
on strategies in the education literature and is explicitly designed
around identifying and correcting misconceptions.
We have tested the tutor in multiple settings.
Our data consistently show that (a) the misconceptions we tackle are
widespread, and (b) the tutor appears to improve understanding.
Study InformationManually extracted from the paper by the Progmiscon.org team
Programming Languages
SMoL
Method
Quantitative systematic research
Subjects
Students from 2 universities and other users of online textbook
Phenomena Studied
Programming Language Behavior Misconceptions
Misconceptions about program semantics identified by SMoL TutorArtifact
https://dl.acm.org/do/10.1145/3580432/full/Related MisconceptionsReferenced by 5 Misconceptions
AssignmentCopiesObject — Java
Assignment copies the objectAssignmentCopiesObject — JavaScript
Assignment copies the objectAssignmentCopiesObject — Python
Assignment copies the objectVariablesHoldExpressions — Java
= stores an expression in a variableVariablesHoldExpressions — Python
= stores an expression: it stores a reference to the expression in a variable