Treffer: A Comparison of Three Program Query Languages to Detect Python Programming Misconceptions
Title:
A Comparison of Three Program Query Languages to Detect Python Programming Misconceptions
Authors:
Contributors:
UCL - SST/ICTM/INGI - Pôle en ingénierie informatique
Source:
Open Access Series in Informatics, Vol. 134, no.21, p. 1-21:15 (2025)
Publisher Information:
Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH, 2025.
Publication Year:
2025
Subject Terms:
Document Type:
Konferenz
Conference object
Language:
English
DOI:
10.4230/oasics.programming.2025.21
Access URL:
Accession Number:
edsair.od......1493..d788457f435ccdae160bc77c48c81d35
Database:
OpenAIRE
Weitere Informationen
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.