All syntax errors are not equal
The DOI matches its Crossref record; 13 of the 13 references it cites were found in a registry or an index.
Abstract
Identifying and correcting syntax errors is a challenge all novice programmers confront. As educators, the more we understand about the nature of these errors and how students respond to them, the more effective our teaching can be. It is well known that just a few types of errors are far more frequently encountered by students learning to program than most. In this paper, we examine how long students spend resolving the most common syntax errors, and discover that certain types of errors are not solved any more quickly by the higher ability students. Moreover, we note that these errors consume a large amount of student time, suggesting that targeted teaching interventions may yield a significant payoff in terms of increasing student productivity.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Novice mistakes: are the folk wisdoms correct?
Spohrer, J. C., & Soloway, E. (1986) · Communications of the ACM · doi:10.1145/6138.6145 · Cited by 310 · cited 1×
“As educators, the more we understand about the nature of these errors and how students respond to them, the more effective our teaching can be [12].”
BackgroundMethods and tools for exploring novice compilation behaviour
Jadud, M. C. (2006) · Proceedings of the second international workshop on Computing education research · doi:10.1145/1151588.1151600 · Cited by 295 · cited 1×
“errors occur much more frequently than most [4, 6].”
BackgroundLearning edge momentum: a new account of outcomes in CS1
Robins, A. (2010) · Computer Science Education · doi:10.1080/08993401003612167 · Cited by 286 · cited 1×
“Many novices find it frus-trating to struggle with syntax errors [7], and given that programming is a subject in which the cumulative effects of previous learning are critical to progression [10], this has the potential to hinder long-term success.”
BackgroundNot seeing the forest for the trees: novice programmers and the SOLO taxonomy
Lister, R., Simon, B., Thompson, E., Whalley, J. L., & Prasad, C. (2006) · ACM SIGCSE Bulletin · doi:10.1145/1140123.1140157 · Cited by 264
Identifying and correcting Java programming errors for introductory computer science students
Hristova, M., Misra, A., Rutter, M., & Mercuri, R. (2003) · Proceedings of the 34th SIGCSE technical symposium on Computer science education · doi:10.1145/611892.611956 · Cited by 201 · cited 1×
“Another example in this category is the Expresso tool [3], which operates as a pre-compiler, producing detailed messages from a set of pre-defined common syntax errors.”
MethodA First Look at Novice Compilation Behaviour Using BlueJ
Jadud, M. C. (2005) · Computer Science Education · doi:10.1080/08993400500056530 · Cited by 142 · cited 4×
“Our three most common error messages appear 2, 7 and 1 in Jadud’s table [5] and 1, 7 and 2 in Jackson’s table [4], respectively.”
BackgroundMethodInfluentialUnderstanding the syntax barrier for novices
Denny, P., Luxton-Reilly, A., Tempero, E., & Hendrickx, J. (2011) · Proceedings of the 16th annual joint conference on Innovation and technology in computer science education · doi:10.1145/1999747.1999807 · Cited by 133 · cited 1×
“We know that students of all levels of ability frequently write code that does not compile, and that weaker students are often unable to solve their syntax problems [2].”
BackgroundSelf-citationIdentifying and correcting Java programming errors for introductory computer science students
Hristova, M., Misra, A., Rutter, M., & Mercuri, R. (2003) · ACM SIGCSE Bulletin · doi:10.1145/792548.611956 · Cited by 120
Identifying Top Java Errors for Novice Programmers
Jackson, J., Cobb, M., & Carver, C. (2006) · Proceedings Frontiers in Education 35th Annual Conference · doi:10.1109/fie.2005.1611967 · Cited by 100 · cited 3×
“Our three most common error messages appear 2 nd , 7 th and 1 st in Jadud’s table [5] and 1 st , 7 th and 2 nd in Jackson’s table [4], respectively.”
BackgroundInfluentialCodeWrite: supporting student-driven practice of java
Denny, P., Luxton-Reilly, A., Tempero, E., & Hendrickx, J. (2011) · Proceedings of the 42nd ACM technical symposium on Computer science education · doi:10.1145/1953163.1953299 · Cited by 88 · cited 1×
“The data were collected using CodeWrite [1], a web-based drill and practice tool with which students tackle exercises requiring the completion of a single method body.”
MethodSelf-citation
Cited by
Educational Data Mining and Learning Analytics in Programming: Literature Review and Case Studies
Ihantola, P., Vihavainen, A., Ahadi, A., Butler, M., Börstler, J., Edwards, S. H., Isohanni, E., Korhonen, A., Petersen, A., Rivers, K., et al. (2015) · Proceedings of the 2015 ITiCSE on Working Group Reports · doi:10.1145/2858796.2858798 · Cited by 332
An Empirical Investigation into Programming Language Syntax
Stefik, A., & Siebert, S. (2013) · ACM Transactions on Computing Education · doi:10.1145/2534973 · Cited by 295
37 Million Compilations: Investigating Novice Programming Mistakes in Large-Scale Student Data
Altadmri, A., & Brown, N. C. C. (2015) · Proceedings of the 46th ACM Technical Symposium on Computer Science Education · doi:10.1145/2676723.2677258 · Cited by 261
“[4] looked at how long students take to solve different errors.”
BackgroundPrather, J., Reeves, B. N., Denny, P., Becker, B. A., Leinonen, J., Luxton-Reilly, A., Powell, G., Finnie-Ansley, J., & Santos, E. A. (2024) · ACM Transactions on Computer-Human Interaction · doi:10.1145/3617367 · Cited by 256
“Dealing with syntax errors has historically been a no-toriously difficult task for novices learning to program [11, 32].”
BackgroundSelf-citationWatson, C., Li, F. W. B., & Godwin, J. L. (2013) · 2013 IEEE 13th International Conference on Advanced Learning Technologies · doi:10.1109/icalt.2013.99 · Cited by 206
“Research by [17] showed that the resolve”
BackgroundResultExploring the Responses of Large Language Models to Beginner Programmers' Help Requests
Hellas, A., Leinonen, J., Sarsa, S., Koutcheme, C., Kujanpää, L., & Sorva, J. (2023) · arXiv · doi:10.48550/arxiv.2306.05715 · Cited by 211
“Some errors are more frequent than others [83], some errors take more time to fix than others [10, 15, 57, 80], and the types of errors that students face tend to evolve [3].”
BackgroundMethodResultComparing Code Explanations Created by Students and Large Language Models
Leinonen, J., Denny, P., MacNeil, S., Sarsa, S., Bernstein, S., Kim, J., Tran, A., & Hellas, A. (2023) · Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1 · doi:10.1145/3587102.3588785 · Cited by 210
“Regardless, students may face roadblocks, including logical errors [12] and syntactical errors [10] when trying to understand code.”
BackgroundSelf-citationTeaching Introductory Programming: A Quantitative Evaluation of Different Approaches
Koulouri, T., Lauria, S., & Macredie, R. D. (2015) · ACM Transactions on Computing Education · doi:10.1145/2662412 · Cited by 182
“This approach helps students to develop a basic understanding of analysis and de-sign, algorithmic, and problem-solving concepts without relating them to a particular executable language.”
BackgroundBecker, B. A., Denny, P., Pettit, R., Bouchard, D., Bouvier, D. J., Harrington, B., Kamil, A., Karkare, A., McDonald, C., Osera, P.-M., et al. (2019) · Proceedings of the Working Group Reports on Innovation and Technology in Computer Science Education · doi:10.1145/3344429.3372508 · Cited by 199
“Research has also shown that these messages can be a source of frustration for students [21, 51].”
BackgroundInfluentialSelf-citationProgrammers' build errors: a case study (at google)
Seo, H., Sadowski, C., Elbaum, S., Aftandilian, E., & Bowdidge, R. (2014) · Proceedings of the 36th International Conference on Software Engineering · doi:10.1145/2568225.2568255 · Cited by 177
“al [4] also logged compile errors encountered by student programmers coding in Java.”
BackgroundEnhancing syntax error messages appears ineffectual
Denny, P., Luxton-Reilly, A., & Carpenter, D. (2014) · Proceedings of the 2014 conference on Innovation & technology in computer science education - ITiCSE '14 · doi:10.1145/2591708.2591748 · Cited by 148
“[3] found that most (approximately 70%) submissions that failed to compile had only one syntax error.”
BackgroundSelf-citationExploring the Responses of Large Language Models to Beginner Programmers’ Help Requests
Hellas, A., Leinonen, J., Sarsa, S., Koutcheme, C., Kujanpää, L., & Sorva, J. (2023) · Proceedings of the 2023 ACM Conference on International Computing Education Research V.1 · doi:10.1145/3568813.3600139 · Cited by 145
“Some errors are more frequent than others [83], some errors take more time to fix than others [10, 15, 57, 80], and the types of errors that students face tend to evolve [3].”
BackgroundMethodResultProceedings of the 52nd ACM Technical Symposium on Computer Science Education
(2021) · doi:10.1145/3408877 · Cited by 132
Self-citationNovice Java Programming Mistakes: Large-Scale Data vs. Educator Beliefs
Brown, N. C. C., & Altadmri, A. (2017) · ACM Transactions on Computing Education · doi:10.1145/2994154 · Cited by 100
An empirical study on the impact of static typing on software maintainability
Hanenberg, S., Kleinschmager, S., Robbes, R., Tanter, É., & Stefik, A. (2013) · Empirical Software Engineering · doi:10.1007/s10664-013-9289-1 · Cited by 116
“conducted an evaluation of syntax errors commonly encountered by novices with a result relevant to type systems research (Denny et al. 2012).”
Investigating Static Analysis Errors in Student Java Programs
Edwards, S. H., Kandru, N., & Rajagopal, M. B. M. M. (2017) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3105726.3106182 · Cited by 99
“Denny et al. [4] also studied the frequency of various syntax errors and the time spent in resolving them.”
BackgroundA New Look at Novice Programmer Errors
McCall, D., & Kölling, M. (2019) · ACM Transactions on Computing Education · doi:10.1145/3335814 · Cited by 90
“[9] published such a distribution of errors made by novices, finding the “Cannot resolve identifier” error as most frequent (at 24%).”
BackgroundInfluentialHow do API documentation and static typing affect API usability?
Endrikat, S., Hanenberg, S., Robbes, R., & Stefik, A. (2014) · Proceedings of the 36th International Conference on Software Engineering · doi:10.1145/2568225.2568299 · Cited by 85
“Finally, one study by Stefik and Siebert [28], and another by Denny et al. [8] showed that novices have significant difficulty with static typing initially.”
ResultInvestigating novice programming mistakes: educator beliefs vs. student data
Brown, N. C. C., & Altadmri, A. (2014) · Proceedings of the tenth annual conference on International computing education research · doi:10.1145/2632320.2632343 · Cited by 89
“Previous studies that have investigated student errors during [Java] programming have focused on cohorts of up to 600 students at a single institution [1, 5, 6, 10, 11, 19].”
BackgroundSyntax and sensibility: Using language models to detect and correct syntax errors
Santos, E. A., Campbell, J. C., Patel, D., Hindle, A., & Amaral, J. N. (2018) · 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330219 · Cited by 83
“[21] categorized common syntax errors that novices make by the error messages the compiler generates and how long it takes for the programmer to fix them.”
BackgroundCommon logic errors made by novice programmers
Ettles, A., Luxton-Reilly, A., & Denny, P. (2018) · Proceedings of the 20th Australasian Computing Education Conference · doi:10.1145/3160489.3160493 · Cited by 70
“The work we report here is analogous in design to that of Denny et al. [7] which identified the most frequent and problematic syntax errors encountered by novice programmers.”
BackgroundResultInfluentialSelf-citationAn open platform for managing short programming exercises
Papancea, A., Spacco, J. W., & Hovemeyer, D. (2013) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/2493394.2493401 · Cited by 86
“Denny et. al. have studied novice syntax errors[14] using data collected from the CodeWrite system.”
MethodCompilation error repair: for the student programs, from the student programs
Ahmed, U. Z., Kumar, P., Karkare, A., Kar, P., & Gulwani, S. (2018) · Proceedings of the 40th International Conference on Software Engineering: Software Engineering Education and Training · doi:10.1145/3183377.3183383 · Cited by 82
“Moreover, there is evidence [5, 6] that across such programming courses, the errors made by students in the initial phases are quite similar.”
BackgroundAnalyzing Student Work Patterns Using Programming Exercise Data
Spacco, J., Denny, P., Richards, B., Babcock, D., Hovemeyer, D., Moscola, J., & Duvall, R. (2015) · Proceedings of the 46th ACM Technical Symposium on Computer Science Education · doi:10.1145/2676723.2677297 · Cited by 74
“with the CodeWrite tool where students create, as well as solve, the exercises [7].”
MethodSelf-citationFacilitating K-12 Teachers in Creating Apps by Visual Programming and Project-based Learning
Chiu, C.-F. (2020) · International Journal of Emerging Technologies in Learning (iJET) · doi:10.3991/ijet.v15i01.11013 · Cited by 90
“The programming syntax is usually complicated and difficult to understand for novice programmers and syntax overload results in barriers to learning programming [9]-[10].”
BackgroundAn empirical study on the impact of C++ lambdas and programmer experience
Uesbeck, P. M., Stefik, A., Hanenberg, S., Pedersen, J. B., & Daleiden, P. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884849 · Cited by 78
“Then, we discuss works that are more generally related (i.e. works that study other programming language constructs in experiments).”
BackgroundMethodThe Compound Nature of Novice Programming Assessments
Luxton-Reilly, A., & Petersen, A. (2017) · Proceedings of the Nineteenth Australasian Computing Education Conference · doi:10.1145/3013499.3013500 · Cited by 66
“Additionally, novice programmers are observed to encounter significant problems understanding and using syntax correctly [1, 8, 9].”
BackgroundSelf-citationFix the First, Ignore the Rest: Dealing with Multiple Compiler Error Messages
Becker, B. A., Murray, C., Tao, T., Song, C., McCartney, R., & Sanders, K. (2018) · Proceedings of the 49th ACM Technical Symposium on Computer Science Education · doi:10.1145/3159450.3159453 · Cited by 61
“[14] collected errors from student exercises using a custom “drill and practice” tool.”
BackgroundMethodOn Designing Programming Error Messages for Novices: Readability and its Constituent Factors
Denny, P., Prather, J., Becker, B. A., Mooney, C., Homer, J., Albrecht, Z. C., & Powell, G. B. (2021) · Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3411764.3445696 · Cited by 60
“In educational contexts, the detrimental efects of cryptic error messages on novice programmers have been reported throughout the literature for decades [12, 20, 26, 31, 32, 34–36, 41, 60].”
BackgroundSelf-citationThe Programming Language Wars: Questions and Responsibilities for the Programming Language Community
Stefik, A., & Hanenberg, S. (2014) · Proceedings of the 2014 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming & Software · doi:10.1145/2661136.2661156 · Cited by 56
“New language designers might think changing syntax for a loop is an expression of creativity, but we are suspicious it is more in line with ignorance of the available evidence [8, 9, 44].”
BackgroundUnderstanding beginners' mistakes with Haskell
Tirronen, V., UUSI-MÄKELÄ, S., & Isomöttönen, V. (2015) · Journal of Functional Programming · doi:10.1017/s0956796815000179 · Cited by 57
“Our study complements Chambers’ study as we apply a computer-based analysis as the first step, similar to the studies by Jadud (2005), Fenwick et al. (2009), and Denny et al. (2012).”
BackgroundMethodA Closer Look at Metacognitive Scaffolding: Solving Test Cases Before Programming
Denny, P., Prather, J., Becker, B. A., Albrecht, Z., Loksa, D., & Pettit, R. (2019) · Proceedings of the 19th Koli Calling International Conference on Computing Education Research · doi:10.1145/3364510.3366170 · Cited by 49
“While the motivating study by Prather et al. [37] used Athene, [34, 35, 38, 39, 43], the present study uses an AAT called CodeWrite [12, 13] which can be used in a mode requiring students to define test cases prior to implementing solutions.”
MethodSelf-citationError Message Readability and Novice Debugging Performance
Denny, P., Prather, J., & Becker, B. A. (2020) · Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3341525.3387384 · Cited by 50
“At least two other groups have also used 5 minutes as an “inactivity cut-off” [16, 37].”
BackgroundSelf-citationDecoding Logic Errors: A Comparative Study on Bug Detection by Students and Large Language Models
MacNeil, S., Denny, P. C., Tran, A., Leinonen, J., Bernstein, S., Hellas, A., Sarsa, S., & Kim, J. (2024) · Australasian Computing Education Conference · doi:10.1145/3636243.3636245 · Cited by 57
“In general there are differences in frequency of programming errors [52] and the time that it takes to fix those errors [7, 11, 37, 49].”
BackgroundSelf-citationHow novices tackle their first lines of code in an IDE: analysis of programming session traces
Vihavainen, A., Helminen, J., & Ihantola, P. (2014) · Proceedings of the 14th Koli Calling International Conference on Computing Education Research · doi:10.1145/2674683.2674692 · Cited by 46
Novice Reflections on Debugging
Whalley, J. L., Settle, A., & Luxton-Reilly, A. (2021) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3408877.3432374 · Cited by 52
“programming constructs and lack the experience of experts, making debugging particularly frustrating and time-consuming [2, 3, 10, 29, 32].”
BackgroundSelf-citationThe effects of database complexity on SQL query formulation
Taipalus, T. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110576 · Cited by 43
Qian, Y., & Lehman, J. D. (2019) · Sage Open · doi:10.1177/2158244019885136 · Cited by 42
“The student data in automated assessment systems can be a good resource for analyzing common student misconceptions (Becker, 2016; Denny et al., 2012; Qian & Lehman, 2017).”
BackgroundTargeted Example Generation for Compilation Errors
Ahmed, U. Z., Sindhgatta, R., Srivastava, N., & Karkare, A. (2019) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00039 · Cited by 48
“Similar observation has been made by others, on their student error datasets [8], [20], [18].”
ResultThe Error Behind The Message: Finding the Cause of Error Messages in Python
Kohn, T. (2019) · Proceedings of the 50th ACM Technical Symposium on Computer Science Education · doi:10.1145/3287324.3287381 · Cited by 41
“This has been established for Java by, e.g. Jackson et al. [10], Denny et al. [ 7], and Altadmri and Brown [1], and for Python by Pritchard [17].”
MethodEvaluation of a Frame-based Programming Editor
Price, T., Brown, N. C. C., Lipovac, D., Barnes, T. M., & Kölling, M. (2016) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/2960310.2960319 · Cited by 45
“Researchers have attempted to identify the most problematic syntax errors made by novices in common programming languages such as Java [2, 10, 13, 14].”
BackgroundSometimes It's Just Sloppiness - Studying Students' Programming Errors and Misconceptions
Albrecht, E., & Grabowski, J. (2020) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3328778.3366862 · Cited by 39
“Most studies about programming errors analyzed compiler messages as they can be easily evaluated automatically [4, 5, 8, 9].”
BackgroundSynShine: Improved Fixing of Syntax Errors
Ahmed, T., Ledesma, N. R., & Devanbu, P. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3212635 · Cited by 38
“A lot of time can be spent on such errors [6], and researchers have called out for more attention to help novices [5] deal with errors, specifically syntax errors.”
BackgroundFrequency distribution of error messages
Pritchard, D. (2015) · Proceedings of the 6th Workshop on Evaluation and Usability of Programming Languages and Tools · doi:10.1145/2846680.2846681 · Cited by 32
“It has long been observed that “a few types of errors account for most occurrences” [8, 36].”
BackgroundThe Effects of Compilation Mechanisms and Error Message Presentation on Novice Programmer Behavior
Karvelas, I., Li, A., & Becker, B. A. (2020) · Proceedings of the 51st ACM Technical Symposium on Computer Science Education · doi:10.1145/3328778.3366882 · Cited by 33
“One area that has seen increased attention in recent years is Compiler Error Messages (CEMs) [4, 14].”
BackgroundThe Error Landscape: Characterizing the Mistakes of Novice Programmers
Smith, R., & Rixner, S. (2019) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3287324.3287394 · Cited by 43
TransRepair: Context-aware Program Repair for Compilation Errors
Li, X., Liu, S., Feng, R., Meng, G., Xie, X., Chen, K., & Liu, Y. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3560422 · Cited by 42
“However, it is non-trivial yet to automatically fix compilation errors in an undocumented program [21].”
BackgroundCan Interaction Patterns with Supplemental Study Tools Predict Outcomes in CS1?
Estey, A., & Coady, Y. (2016) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/2899415.2899428 · Cited by 41
“Given recent research showing how programming behavior [1, 7, 10, 12] and work-flow patterns [9, 13, 17] can differentiate between successful and unsuccessful students, our goal was to use BitFit to uncover subtle indicators of productive learning behavior.”
MethodAhmed, U. Z., Srivastava, N., Sindhgatta, R., & Karkare, A. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering: Software Engineering Education and Training · doi:10.1145/3377814.3381703 · Cited by 31
“Studies show that students who have just begun to learn to program often struggle with compilation errors [13, 27].”
BackgroundA Think-Aloud Study of Novice Debugging
Whalley, J. L., Settle, A., & Luxton-Reilly, A. (2023) · ACM Transactions on Computing Education · doi:10.1145/3589004 · Cited by 50
“Much of the previous work on understanding student errors justifiably focused on compilation errors since they prevent students from obtaining any information about their programs [6, 22, 64].”
BackgroundSelf-citationA Controlled Experiment on Python vs C for an Introductory Programming Course: Students’ Outcomes
Wainer, J., & Xavier, E. C. (2018) · ACM Transactions on Computing Education · doi:10.1145/3152894 · Cited by 38
“This is critical to learning, since other studies show that a significant amount of time is consumed by novices correcting syntax errors (Denny et al. 2012), and the difficulty of not recognizing these errors (due to unclear compiler error messages for example) is a source of frustration…”
BackgroundKölling, M., Brown, N. C. C., & Altadmri, A. (2017) · Journal of Visual Languages and Sentient Systems · doi:10.18293/vlss2017-009 · Cited by 45
“A significant body of existing published work explores which errors are problematic (for example [1–3]) and how to alleviate these problems via additional tools [4, 5], but it is clear that text-based programming and syntax errors are inseparable.”
BackgroundExploring the Applicability of Simple Syntax Writing Practice for Learning Programming
Leinonen, A., Nygren, H., Pirttinen, N., Hellas, A., & Leinonen, J. (2019) · Proceedings of the 50th ACM Technical Symposium on Computer Science Education · doi:10.1145/3287324.3287378 · Cited by 27
“The study was motivated through the research that points out that some struggle with syntax [1], and that the struggles with syntax errors are not only limited to the students who perform more poorly in courses [8].”
BackgroundResultIntegrating Natural Language Prompting Tasks in Introductory Programming Courses
Kerslake, C. P., Denny, P. C., Smith, D. H., Prather, J. E., Leinonen, J., Luxton-Reilly, A., & MacNeil, S. (2024) · ACM Virtual Global Computing Education Conference (SIGCSE Virtual) · doi:10.1145/3649165.3690125 · Cited by 33
“One is that success on the natural language tasks does not rely on mastery of low-level syntax, which can be hard for novices to get right [8, 18].”
Self-citationLearning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program
Zhou, Z., Wang, S.-J., & Qian, Y. (2021) · Frontiers in Psychology · doi:10.3389/fpsyg.2021.768962 · Cited by 31
“Previous studies have used different terms to describe students’ errors in code, such as mistakes (Brown and Altadmri, 2017), syntax errors (Denny et al., 2012), compiler errors (Pettit et al., 2017), novice programmer errors (McCall and Kölling, 2019), and others (see Becker et al., 2019).”
MethodExploring the Effects of Contextualized Problem Descriptions on Problem Solving
Leinonen, J., Denny, P. C., & Whalley, J. L. (2021) · Australasian Computing Education Conference · doi:10.1145/3441636.3442302 · Cited by 31
“Moreover, this approach to filtering is consistent with much prior work on programming process data in situations where students are unobserved [11, 26, 30, 35].”
ResultSelf-citationSaygıner, Ş., & Tüzün, H. (2022) · Journal of Computer Assisted Learning · doi:10.1111/jcal.12771 · Cited by 30
Learning programming, syntax errors and institution-specific factors
Ahadi, A., Lister, R., Lal, S., & Hellas, A. (2018) · Australasian Computing Education Conference · doi:10.1145/3160489.3160490 · Cited by 30
“…al. [18], who studied the frequency of syntax errors as novices work on programming assignments in an IDE. Contrary to the results of Denny et al. [9, 10], they observed that when novices were programming in an IDE that highlighted the syntax errors and provided feedback on how to fix them, over…”
BackgroundResultDo Not Trust Build Results at Face Value - An Empirical Study of 30 Million CPAN Builds
Zolfagharinia, M., Adams, B., & Guéhénuc, Y.-G. (2017) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2017.7 · Cited by 26
“[7] investigated compile errors in short pieces of Java code and how students fixed these errors.”
BackgroundAn Exploration of the Effects of Enhanced Compiler Error Messages for Computer Programming Novices
Becker, B. A. (2015) · Arrow - TU Dublin (Technological University Dublin) · doi:10.13140/rg.2.2.26637.13288 · Cited by 22
An Investigation of High School Students’ Errors in Introductory Programming: A Data-Driven Approach
Qian, Y., & Lehman, J. D. (2019) · Journal of Educational Computing Research · doi:10.1177/0735633119887508 · Cited by 20
“Students in this study did not have to define a method with a return statement, so errors related to the return statement, which were identified as common errors by prior studies (Brown & Altadmri, 2017; Denny et al., 2012) did not appear in this study.”
MethodControl-Flow-Only Abstract Syntax Trees for Analyzing Students' Programming Progress
Hovemeyer, D., Hellas, A., Petersen, A., & Spacco, J. W. (2016) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/2960310.2960326 · Cited by 21
“Much of the early work in this area relies on the insight that syntactic errors are a significant issue for novice programmers [10,11,25,46].”
BackgroundSeparation of syntax and problem solving in Introductory Computer Programming
Edwards, J. M., Fulton, E. K., Holmes, J. D., Valentin, J. L., Beard, D. V., & Parker, K. R. (2018) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie.2018.8658852 · Cited by 20
“The ideal of a CS1 education would be to achieve the mechanics learning quickly and focus primarily on problem solving [4], [7], [13], [28].”
BackgroundAnalysis of a Process for Introductory Debugging
Whalley, J. L., Settle, A., & Luxton-Reilly, A. (2021) · Australasian Computing Education Conference · doi:10.1145/3441636.3442300 · Cited by 22
“This process is particularly challenging for students who may have inadequate mental models [43, 57] and make mistakes in both syntax and semantics [13, 14, 49, 66, 71].”
BackgroundSelf-citationSoftware Analytics to Support Students in Object-Oriented Programming Tasks: An Empirical Study
Ardimento, P., Bernardi, M. L., & Cimitile, M. (2020) · IEEE Access · doi:10.1109/access.2020.3010172 · Cited by 20
“Focusing on syntax [12], [13] some authors enhance compiler error messages [14]–[17], logic errors [18], [19], and coding habits [20]–[23].”
BackgroundRodrigo, M. M. T., Andallaza, T. C. S., Castro, F. E. V., Armenta, M. L. V., Dy, T., & Jadud, M. C. (2013) · Journal of Educational Computing Research · doi:10.2190/ec.49.3.b · Cited by 20
SYNFIX: Automatically Fixing Syntax Errors using Compiler DiagnosticsPreprint
Ahmed, T., Ledesma, N. R., & Dévanbu, P. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.14671 · Cited by 20
“We simply reused the BlockFix component made available by Ahmed et al. 7 , and find performance very similar to that reported by them for this component.”
BackgroundMethodPausing While Programming: Insights From Keystroke Analysis
Shrestha, R., Leinonen, J., Zavgorodniaia, A., Hellas, A., & Edwards, J. (2022) · IEEE/ACM International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet55299.2022.9794163 · Cited by 25
The Cost of Syntax and How to Avoid It: Text versus Frame-Based Editing
Altadmri, A., Kölling, M., & Brown, N. C. C. (2016) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2016.204 · Cited by 18
“Previous work has explored which syntax errors are problematic [2], [3], [4] and how to alleviate them via additional tools [5]: it is clear that all text-based editing tools suffer from variations of this issue due to the program structure representation as raw text.”
BackgroundA Miss is as Good as a Mile: Off-By-One Errors and Arrays in an Introductory Programming Course
Rigby, L., Denny, P. C., & Luxton-Reilly, A. (2020) · Australasian Computing Education Conference · doi:10.1145/3373165.3373169 · Cited by 15
Self-citationExploring the Difficulty of Faded Parsons Problems for Programming Education
Fromont, F., Jayamanne, H., & Denny, P. C. (2023) · Australasian Computing Education Conference · doi:10.1145/3576123.3576136 · Cited by 18
“By providing the code blocks containing the code, students are not required to memorise syntactic elements, and can thus avoid syntax errors which are known to be a common and frustrating issue for novices [1, 2, 7].”
BackgroundSelf-citationQian, Y., Yan, P., & Zhou, M.-K. (2019) · ACM Global Computing Education Conference (CompEd) · doi:10.1145/3300115.3309521 · Cited by 16
“[7] examined student data in CodeWrite and identified the most common Java syntax errors in students’ code.”
BackgroundMethodInfluentialUnexpected Tokens: A Review of Programming Error Messages and Design Guidelines for the Future
Becker, B. A., Denny, P. C., Pettit, R., Bouchard, D., Bouvier, D. J., Harrington, B., Kamil, A., Karkare, A., McDonald, C., Osera, P.-M., et al. (2019) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/3304221.3325539 · Cited by 15
“Research has also shown that these messages can be a source of frustration for students [3, 8].”
BackgroundSelf-citationMetamorphic Domain-Specific Languages: A Journey into the Shapes of a Language
Acher, M., Combemale, B., & Collet, P. (2014) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/2661136.2661159 · Cited by 16
“In [19] Denny et al.”
Effectiveness of Feedback Based on Log File Analysis in Introductory Programming Courses
Meier, H., & Lepp, M. (2023) · Journal of Educational Computing Research · doi:10.1177/07356331221132651 · Cited by 13
“The results of the Denny et al. (2012) study show that even among the most common errors, some take a long time to fi nd. Denny et al. (2011) fi nd that students struggle with syntax errors much more than might be expected, even if they write very short pieces of code.”
BackgroundMethodRule-Based Error Classification for Analyzing Differences in Frequent Errors
Shirafuji, A., Matsumoto, T., Amin, M. F. I., & Watanobe, Y. (2023) · IEEE International Conference on Teaching, Assessment, and Learning for Engineering · doi:10.1109/tale56641.2023.10398341 · Cited by 15
“Several prior works used compiler error messages to analyze errors [15], [16], [21], [22].”
BackgroundMethodExperience Report: Identifying common misconceptions and errors of novice programmers with ChatGPT
Fwa, H. L. (2024) · IEEE/ACM International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1145/3639474.3640059 · Cited by 14
“In these studies, researchers have focused on detecting different types of errors -syntax [7], semantic [11] and logical errors [9].”
MacNeil, S., Rogalska, M., Leinonen, J., Denny, P. C., Hellas, A., & Crosland, X. (2024) · ACM Virtual Global Computing Education Conference (SIGCSE Virtual) · doi:10.1145/3649165.3690100 · Cited by 20
“In general, there are differences in the frequency of programming errors [42, 49] and the time that it takes to fix such errors [8, 11].”
Self-citationToward Human-Quantum Computer Interaction: Interface Techniques for Usable Quantum Computing
Kim, H., Jeng, M., & Smith, K. N. (2025) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3706598.3713370 · Cited by 14
“Research in PL for QC can beneft from HCI methods, such as analyzing patterns in programming (e.g., [19, 68]), demonstrating them using diverse use cases (e.g., [30, 60]), and operating user studies (e.g., [13, 43, 44]).”
A study of build inflation in 30 million CPAN builds on 13 Perl versions and 10 operating systems
Zolfagharinia, M., Adams, B., & Guéhéneuc, Y. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09709-6 · Cited by 14
“Denny et al. (2012) investigated compilation errors in short snippets of Java code and showed that 48% of the builds failed due to compilation errors.”
BackgroundEstey, A., Kennedy, A. R., & Coady, Y. (2016) · Western Canadian Conference on Computing Education · doi:10.1145/2910925.2910944 · Cited by 13
How type errors were fixed and what students did?
Wu, B., & Chen, S. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133929 · Cited by 13
“There have been some efforts to collect relevant information about errors made by students [Chambers et al. 2012; Denny et al. 2012; Fenwick Jr et al. 2009; Hage and van Keeken 2009; Tirronen et al. 2015].”
BackgroundTowards Assessing the Readability of Programming Error Messages
Becker, B. A., Denny, P. C., Prather, J. E., Pettit, R., Nix, R., & Mooney, C. (2021) · Australasian Computing Education Conference · doi:10.1145/3441636.3442320 · Cited by 15
“It is no secret among programming educators that error messages cause substantial usability issues [17].”
BackgroundSelf-citationFinding and correcting syntax errors using recurrent neural networksPreprint
Santos, E. A., Campbell, J. C., Hindle, A., & Amaral, J. N. (2017) · doi:10.7287/peerj.preprints.3123v1 · Cited by 13
“More recently, Denny et al. (Denny et al., 2012) categorized common syntax errors that novices make by the error messages the compiler generates and how long it takes for the programmer to fix them.”
BackgroundChen, M., Li, Y., & O’Rourke, E. (2024) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3632620.3671094 · Cited by 13
“Simple errors Getting a simple error Novices often make simple syntax errors and take a long time to fix them [13] Taking a long time to fix a simple error”
Kumar, S. S., Lones, M. A., Maarek, M., & Zantout, H. (2024) · International Workshop on Large Language Models for Code (LLM4Code) · doi:10.1145/3643795.3648380 · Cited by 14
“Research studies [9] have also highlighted that students spend a considerable amount of time resolving errors in Java code and this highlights the need for specific instructor support.”
BackgroundCLACER: A Deep Learning-based Compilation Error Classification Method for Novice Students’ Programs
Li, Z., Sun, F., Wang, H., Ding, Y., Yong, L., & Chen, X. (2021) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac51774.2021.00022 · Cited by 17
“Compared to experienced programmers, it is obvious that the compilation errors are more confusing and time-consuming to fix for the novice students [11].”
BackgroundCommon Logic Errors for Programming Learners: A Three-decade Literature Survey
Alzahrani, N., & Vahid, F. (2021) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--36814 · Cited by 18
Syntax and Stack Overflow: A Methodology for Extracting a Corpus of Syntax Errors and Fixes
Wong, A. W., Salimi, A., Chowdhury, S., & Hindle, A. (2019) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2019.00048 · Cited by 16
“Syntax errors stymie novice and expert developers alike [1, 2].”
BackgroundCategorization of Frequent Errors in Solution Codes Created by Novice Programmers
Rahman, M. M., Kawabayashi, S., & Watanobe, Y. (2021) · SHS Web of Conferences · doi:10.1051/shsconf/202110204014 · Cited by 13
“A similar work was reported [3] where students’ ability to resolve syntax errors was examined.”
BackgroundCaton, S. J., Russell, S., & Becker, B. A. (2022) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3478431.3499419 · Cited by 14
“We recognize, however, that some errors will need more time for students to process than others [14].”
BackgroundTeaching Programming Error Message Understanding
Bouvier, D. J., Lovellette, E., Santos, E. A., Becker, B. A., Dasigi, V. G., Forden, J., Glebova, O., Joshi, S., Kurkovsky, S., & Russell, S. (2024) · doi:10.1145/3598579.3689377 · Cited by 10
“Thesefrequentlyinadequatemessagespresentabarrier toprogress and are often a source of discouragement, particularly for students relying on them as a primary source of information for correcting mistakes [7, 10, 14, 23].”
Geng, C., Xu, W., Xu, Y., Pientka, B., & Si, X. (2023) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3545945.3569882 · Cited by 12
“Denny et al. [9] also study various syntax error frequencies and how long students spend fixing common syntax errors.”
BackgroundRepairNet: Contextual Sequence-to-Sequence Network for Automated Program Repair
Abhinav, K., Sharvani, V., Dubey, A., D’Souza, M., Bhardwaj, N., Jain, S., & Arora, V. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-78292-4_1 · Cited by 12
Jegede, P. O., Olajubu, E. A., Ejidokun, A. O., & Elesemoyo, I. O. (2019) · Journal of Information Technology Education Innovations in Practice · doi:10.28945/4322 · Cited by 11
A replication study on the intuitiveness of programming language syntax
Lappi, V., Tirronen, V., & Itkonen, J. (2023) · Software Quality Journal · doi:10.1007/s11219-023-09631-7 · Cited by 8
Non-restricted Access to Model Solutions: A Good Idea?
Nygren, H., Leinonen, J., & Hellas, A. (2019) · Proceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3304221.3319768 · Cited by 7
“One of the particular characteristics in programming is that programming languages are typically highly vulnerable to even small mistakes, and a simple typo can take a significant amount of time to fix [2, 9].”
BackgroundMase, M., & Nel, L. (2022) · Communications in computer and information science · doi:10.1007/978-3-030-95003-3_7 · Cited by 13
Seq2Parse: neurosymbolic parse error repair
Sakkas, G., Endres, M., Guo, P. J., Weimer, W. R., & Jhala, R. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3563330 · Cited by 8
“One might imagine that parse (or syntax) errors are usually easier to locate and repair than other algorithmic or runtime errors [Denny et al. 2012].”
BackgroundDesigning for Novice Debuggers: A Pilot Study on an AI-Assisted Debugging Tool
Kurniawan, O., Chandra, E., POSKITT, C. M., Noller, Y., Choo, K. T. W., & Jégourel, C. (2025) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3769994.3769997 · Cited by 7
“Although most compilers and interpreters generate error messages that provide information about these errors, many novice programmers struggle to interpret and fix them [6].”
Metadata
- Authors
- Denny, P., Luxton-Reilly, A., & Tempero, E.
- Affiliations
- University of Auckland (NZ)
- Venue
- Proceedings of the 17th ACM annual conference on Innovation and technology in computer science education
- Publisher
- ACM
- Published
- 2012-07-03
- Pages
- 75-80
- OpenAlex
- W2009908982
- Cited by
- 144
- References
- 13
- Citations by year
- 2026: 1 · 2025: 6 · 2024: 14 · 2023: 16 · 2022: 15 · 2021: 13 · 2020: 15 · 2019: 17 · 2018: 8 · 2017: 10 · 2016: 7 · 2015: 8 · 2014: 9 · 2013: 5
- FWCI
- 4.86
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) (publishedVersion)
- ResearchSpace (University of Auckland) (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Social Sciences › Education › Educational Robotics and Engineering
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Keywords
- syntactic errors, programming education, novice programmers, student ability differences, error types, student productivity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.