Work

A Comparison of Three Program Query Languages to Detect Python Programming Misconceptions

Year: 2025
Type: article
Abstract: Detecting and addressing common misconceptions in beginner programmers' code is key to improve their learning experience. This paper evaluates the effectiveness of three static program query languages and tools: Flake8, Regex and CodeQL, for identifying such misconceptions in Python code. We implemented a set of 20 common misconceptions using each language and compared them on a variety of criteria, including accuracy, performance, expressiveness, learning curve and query readability. Our analysis highlights strengths and limitations of each approach, providing insights into the most effective method for detecting programming misconceptions and enhancing feedback quality for learners.
Authors: Colla, Quentin, Mens, Kim, Liénard, Julien
Institution: UCLouvain
Language: English
Open Access status: green
OpenAlex ID: W7081921856
FWCI: 0.337
Cites: 6
Cited by: 1
Related to: 10