Some Difficulties of Learning to Program
The DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.
Abstract
This article is a brief introduction to some of the issues that teachers of programming may find helpful. It starts by presenting a fairly idiosyncratic view of teaching programming which makes use of mechanistic analogies and points out some of the pitfalls. The article goes on to examine certain errors based on the misapplication of analogies as well as certain interaction errors. The main emphasis is on the notional machine both at the general level of understanding (and misunderstanding) the relationship of the terminal to the computer as such, as well as at the more specific level of understanding assignment. Notation and mistakes that poorly-designed languages can induce novices to commit are discussed.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Empirical Studies of Programming Knowledge
Soloway, E., & Ehrlich, K. (1984) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1984.5010283 · Cited by 877
Tupac, J. D. (1963) · Spartan Books · Cited by 530
Measuring computer program quality and comprehension
Shneiderman, B. (1977) · International Journal of Man-Machine Studies · doi:10.1016/s0020-7373(77)80014-x · Cited by 144
A statistical analysis of syntax errors
Ripley, G. D., & Druseikis, F. C. (1978) · Computer Languages · doi:10.1016/0096-0551(78)90041-3 · Cited by 86
Comprehension as affected by structure of problem representation
Mayer, R. E. (1976) · Memory & Cognition · doi:10.3758/bf03213171 · Cited by 81 · cited 1×
“Teaching schemes based‘ on “match box” computers and their like seem quite successful, especially in equipping the novice to solve novel problems, even if they make little difference to their ability to solve stock exercises [6,7] .”
BackgroundStructuring the programmer's task
SIME, M. E., ARBLASTER, A. T., & GREEN, T. R. G. (1977) · Journal of Occupational Psychology · doi:10.1111/j.2044-8325.1977.tb00376.x · Cited by 76
Spohrer, J., Soloway, E. M., & Pope, E. (1985) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/317456.317465 · Cited by 15
The Egg Series: Using Simple Computer Models
Statz, J. A., & Miller, L. R. (1978) · Mathematics Teacher Learning and Teaching PK-12 · doi:10.5951/mt.71.5.0459 · Cited by 2
Research works printed but not linked: 2
- Burstein M. H., 1985, “Learning by Reasoning,”
- Soloway E., 1983, Journal of Computer-based Instruction, 10, 20
Cited by
Items 601–676 of 676
Session T4G USING FACET-BASED ASSESSMENT TO UNDERSTAND INTRODUCTORY PROGRAMMING STUDENTS' KNOWLEDGE
Postner, L., & Turns, J. (2002)
The Icicle programming environment for children
Sheehan, R. J. (2005) · ResearchSpace (University of Auckland) · Cited by 2
Hybrid Teaching and Learning of Computer Programming Language
Wang, F. L., & Wong, T.-L. (2012) · IGI Global eBooks · doi:10.4018/978-1-61350-456-7.ch5.13
Programming Paradigms in the Context of the Programming Language
Kumari, S. (2016) · International Journal Of Engineering And Computer Science · doi:10.18535/ijecs/v4i11.13
Helminen, J. (2014) · Aaltodoc (Aalto University) · Cited by 1
Empirical Studies of a "Metacourse" To Enhance the Learning of BASIC.
Schwartz, S. H. (1988)
Early teaching computer science by object manipulation in 2D
Luštek, A. (2017) · Repository of the University of Ljubljana (University of Ljubljana)
Perceptions of Java – Experienced Programmers' Perspective
Benander, A. C., Benander, B. A., & Lin, M. T.-Y. (2003) · Journal of Computer Information Systems · doi:10.1080/08874417.2003.11647527
“However, in addition to the difficulty of various features of the programming language itself, there are many other factors, perhaps equally important, that are involved in the process of learning a new programming language (2, 4, 7, 10).”
BackgroundCould rapid application development tools be used as icebreakers in programming education?
Üstündağ, M. T. (2017) · Journal of Human Sciences · doi:10.14687/jhs.v14i4.5155
“…in the literature because it is not an easy process to cope with and students experience difficulties (Anastasiadou & Karakos, 2011; Baser, 2013; Du Boulay, 1986; Milne & Rowe, 2002; Mow, 2008) and is related to many factors such as self-efficacy (Ramalingam & Wiedenbeck, 1998; Yükselturk &…”
BackgroundMemory Transfer Language: an absolute learner-driven visualizer
Mselle, L. J. (2014) · INTERNATIONAL JOURNAL OF COMPUTERS & TECHNOLOGY · doi:10.24297/ijct.v13i9.2404
“All popular visualization tools are machine-based and or language specific [1, 3, 5, 6, 7, 17, 18, 19] This property, apart from being divorced from the conventional modes of presenting programming materials it denies the learner of two important cognitive advantages: firstly, the opportunity to visualize the program…”
BackgroundUsing Systematic Errors to Investigate the Developing Knowledge of Programming Language Learners.
Segal, J., Ahmad, K., & Rogers, M. (1990) · PPIG
Estudi i introducció del Pensament Computacional al mòdul de Programació de CF d'informàtica
García, J. G. (2018) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Kannan, V. (2018) · Conference on Information Technology Education · doi:10.1145/3241815.3241822
A Gray Box Interpretable Visual Debugging Approach for Deep Sequence Learning Model
Islam, M. A., Debnath, A., Sayeed, T. A., Rahman, M., Khan, M. M., Shatabda, S., & Islam, A. (2019) · IEEE Region 10 Symposium (TENSYMP) · doi:10.1109/tensymp46218.2019.8971186
“The researchers have been working to utilize the visualization approaches to teach the ML algorithms [12] while it has been proven that people can grasp the principles of an algorithm better when they are taught using visualization approaches [10][4].”
Παπαδάκης, Σ. (2018) · Ανοικτή Εκπαίδευση το περιοδικό για την Ανοικτή και εξ Αποστάσεως Εκπαίδευση και την Εκπαιδευτική Τεχνολογία · doi:10.12681/jode.19014
“…και κατανόηση των εντολών επιλογής, την διδασκαλία της αναδρομικότητας, ειδικά θέματα, όπως την μεταφορά γνώσεων από ένα προγραμματιστικό περιβάλλον σε άλλο, την εισαγωγή στον λογικό προγραμματισμό και τον παράλληλο προγραμματισμό κ.ά. (Du Boulay, 1989; Εφόπουλος, 2005; Τζιμογιάννης, 2015).”
The PTP Model: A Predictor for Computer Programming Success
Kerr, O., & Danino, N. (2018) · International Journal for Infonomics · doi:10.20533/iji.1742.4712.2018.0175
“Du Boulay [5] goes on to determine that none of these issues can be fully separated from the others, resulting in students experiencing ‘shock’ during their first encounters with programming as they attempt to”
BackgroundInfluentialCheuoua, A. H. (2019) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3287324.3293796
Pérez, P., & Ramón, J. (2006) · Repositorio de la Universidad de Oviedo (RUO) · Cited by 1
Generating Teacher Feedback through Parsons Problems
Scholten, L. (2020) · Research Repository (Delft University of Technology)
Evaluating the Effectiveness of Iteration Visualizations
Domino, M. (2020) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3328778.3372695
Jayathirtha, G. (2020) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3372782.3407113
Competency structure model for programming for the transition from school to university
Barkmin, M. (2020) · Workshop in Primary and Secondary Computing Education · doi:10.1145/3421590.3421591
“The dynamic semantics of a programming language “may be viewed as an elaboration of the properties and behavior of the notional machine” [4].”
BackgroundQualitative Evaluation of Visualizations for List-based Iteration
Domino, M., Ellis, M., & Kafura, D. G. (2024) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--37624
openHTML: assessing barriers and designing tools for learning web development
Park, T. H., & Forte, A. (2014) · iDEA - Drexel University Institutional Repository · doi:10.17918/etd-6098
Huang, L., Poitras, E., Siegel, A. A., Sampangi, R. V., & Paulovich, F. V. (2021) · Advances in analytics for learning and teaching · doi:10.1007/978-3-030-81222-5_4
Fincher, S. A., & Robins, A. V. (2019) · Cambridge University Press eBooks · doi:10.1017/9781108654555.033
The 4C/ID Model Applied to Learn Computer Programming With Python
(2020) · Advances in educational technologies and instructional design book series · doi:10.4018/978-1-7998-4096-1.ch009
JLcoding Language Tool for Early Programming Learning
Li, W., & Lu, T.-C. (2022) · Symmetry · doi:10.3390/sym14071405
Teaching and Learning to Program Instead of Teaching and Learning Programming LanguagesPreprint
Mselle, L. J. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4642337
Kiesler, N. (2023) · Springer eBooks · doi:10.1007/978-3-031-47148-3_1
Incoming CS1 Students' Misconceptions on Arrays
Mazumder, S. F., & Pérez-Quiñones, M. A. (2023) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie58773.2023.10342927 · Cited by 1
“Prior studies have found both the novices and upper-level students struggle to understand the transitions of state changes [52]–[54].”
BackgroundWork in Progress: Understanding CS1 Students’ Code Comprehension Behaviors using Multi-modal Data
Batra, R., & Atiq, S. Z. (2024) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--41125
Removing the Notional Machine Discrepancy (Doctoral Consortium)
Hoobergs, J. (2023) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3631802.3631837
“Du Boulay [2] coined the term notional machine to refer to “the general properties of the machine that one is learning to control”.”
BackgroundPellet, J., & Wang, P. (2024) · HAL
Jennings, J. (2024) · Carleton University's Institutional Repository (MacOdrum Library, Carleton University) · doi:10.22215/etd/2024-15867
Barbieri, M., Amaral, J. V., & Duran, R. (2024) · Anais do Workshop sobre Educação em Computação (WEI) · doi:10.5753/wei.2024.2325
Pamplona, S., Bravo, J., & Seoane, I. (2024) · IEEE Access · doi:10.1109/access.2024.3442440 · Cited by 2
“In computing education, a miscon-ception does not mean that the learner has a complete lack of knowledge but indicates partial knowledge [3].”
Backgroundالتكرار كوسيلة لتعليم المبتدئين: برمجة الحاسب الآلي في كليات التجارة والعلوم الإدارية
المرزوق, م. ن. (2019) · المجلة العربية للعلوم الإدارية. · doi:10.34120/ajas.v26i3.1043
Weißenrieder, F., & Scheppach, L. (2024) · Workshop in Primary and Secondary Computing Education · doi:10.1145/3677619.3678123
“For CSEd, we have explicit mentions of CLT, didactic reduction and the notional machine [4] together with aspects of heterogeneity.”
Mselle, L. J., & Kowero, O. N. (2024) · International Journal of Innovative Teaching and Learning in Higher Education · doi:10.4018/ijitlhe.356385
Mößlacher, C., Brugger, K., Angermann, T., & Bollin, A. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-73474-8_5
Künz, K. (2024) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3699538.3699578
“Building viable mental models of programming concepts plays a crucial role in programming education, yet research on identifying students’ mental models, especially among primary school students, remains limited [1, 2, 4, 6].”
Misconceptions in correct code
da Silva, E. P. (2024) · doi:10.47749/t/unicamp.2024.1408046
Visualizing the Conceptual Framework of Object Orientation for Novice Programmers
Staugaard, J., Bennedsen, J., Seidl, C., Nicolajsen, S. M., Fink, M., & Brabrand, C. (2024) · IEEE Frontiers in Education Conference (FIE) · doi:10.1109/fie61694.2024.10893141
Eremin, E. A. (2025) · Informatics in school · doi:10.32517/2221-1993-2025-24-1-53-63
Bhattarai, S., & Edwards, J. (2025) · Intermountain Engineering, Technology and Computing (IETC) · doi:10.1109/ietc64455.2025.11039464
“Students need to learn how to specify, develop, debug, and test a program, and making codes to perform a specific task can be daunting [10].”
Interest over Meaning, Enjoyment over Self-efficacy? - What Predicts Thriving Best in CS1
Pesonen, H., & Hellas, A. (2025) · Conference on United Kingdom & Ireland Computing Education Research (UKICER) · doi:10.1145/3754508.3754509
Mapcode Machines for Expressing and Tracing Iterative Algorithms
Kulindala, G., Srikanth, A., Choppella, V., & Karippayi, M. S. (2025) · ACM Global Computing Education Conference (CompEd) · doi:10.1145/3736181.3747152
Künz, K., Wacker, J., Wenzel, T., Schumacher, A., & Tsarava, K. (2025) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3769994.3770040
“Because mental models are formed early in the learning process, novices are strongly influenced by the specific representations of programming concepts in the language to which they are first exposed [12, 43, 45].”
Inverted Classroom in der Einführungsveranstaltung ProgrammierungPreprint
von Zadow, U., & Kiesler, N. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2506.10057
Formative assessment using diagrammatic code queries: engaging students with a notional machine
Himbeault, L. (2023) · Mspace (University of Manitoba)
Teaching and Assessing Programming Language Tracing
Nelson, G. L. (2021) · ResearchWorks at the University of Washington (University of Washington) · Cited by 3
Tactical troubleshooting: investigating support for end-user developers in physical computing
Booth, T. (2022) · City Research Online (City University London)
Kursuse “Objektorienteeritud programmeerimine” rühmatööde analüüs
Luude, E. (2024) · DSpace repository (University of Tartu)
Increasing Motivation of Informatics Vocational Education Students in Angola via Scratch
Pedro, L., Iturbide, J. V., & Velasco, M. P. (2025) · ACM Global Computing Education Conference (CompEd) · doi:10.1145/3736181.3747158
“Obviously, not relying on a programming language removes from the course some learning difficulties [15] (e.g., the language syntax), but other difficulties remain (e.g., a notional machine).”
Karaca-Durmuşkaya, S., & Şendurur, E. (2026) · Entertainment Computing · doi:10.1016/j.entcom.2026.101118
Hoarau, S., Declercq, C., & Ethève, A. (2026) · HAL
Isolated Detection of Misconceptions in an Adaptive Program Tracing Instrument
Bastian, M., & Mühling, A. (2026) · IEEE Transactions on Education · doi:10.1109/te.2026.3685553
Understanding Variable-Length Arrays in the C Language
Sun, Z., Rong, W., Jiang, N., Bai, Y., Li, J., & Xiong, Z. (2026) · IEEE Software · doi:10.1109/ms.2026.3692147
Suoritusmallin ja ohjelmavisualisaation suhde ohjelmoinnin alkuopetuksessa
Raivio, K. (2026) · Aaltodoc (Aalto University)
Quantifying Student Mistakes and Misconceptions of the Run-Time Memory Layout of Java Programs
Pham, M. L., & Schreib, R. (2026) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/3803400.3809331
Making Thinking Visible: Cognitive Visibility as a Translational Practice
Hei, C. T. (2026) · IGI Global eBooks · doi:10.4018/979-8-2600-1811-8.ch003
Teaching secondary school students a reflective approach to debugging
Gale, L. (2025) · Apollo (University of Cambridge) · doi:10.17863/cam.132155
What Bugs Do Prolog Students Write? An Empirical Taxonomy and Data-Driven Mutation Framework
Brancas, R., Orvalho, P., Carreira, C., Manquinho, V. M., & Martins, R. (2026) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.450.14
“This shift is a well-documented source of difficulty [12, 31, 29, 8], and the resulting errors are often different from those in mainstream languages [14].”
Teaching Loops in Scratch with a Multimodal AI Assistant Tutor
Kravvaris, D. (2026) · European Journal of Contemporary Education and E-Learning · doi:10.59324/ejceel.2026.4(4).18
DIVERSE CATEGORIES OF PROGRAMMING LEARNING ACTIVITIES COULD BE PERFORMED WITHIN STORYTELLING ALICE
Kordaki, M., & Psomos, P. (2012) · EDULEARN proceedings
Challenges of interpreting Python Tutor visualizations
Balasubramanian, N. (2024) · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign) · Cited by 2
Hangers and Straws: Designing Low-Cost Unplugged Activities for Primary-School Algorithms
Lodi, M. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-38887-2_4
Can LLMs Simulate Novice Programmers' Misconceptions?Preprint
Yeltekin, B., & Bauer, D. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.10656
“Much work has focused on assembling misconception catalogs [5], through close observation and interviews [4] or mining common errors from repositories of student code [2], including with LLMs [1] et al. [16], Zengaffinen et al. [18] finetune models to enable them to model specific student…”
Martins, M. R., & Duran, R. (2026) · Anais do Workshop de Informática na Escola · doi:10.5753/wie.2026.27810
Investigating How Quizzes Shape Problem-Solving Strategies in Elementary Programming
Quach, N. H., Ghosh, A., Su, M., Malva, L., Hooshyar, D., Nagashima, T., & Singla, A. K. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-41153-2_8
Alsaid, D. (2026) · Annual Symposium on Computer-Human Interaction in Play · doi:10.1145/3800965.3834672
A gradual and general method to understand why Functional Programming is important
O’Connor, F. A. S., López, P. E. M., & Garzón, M. (2026) · JAIIO, Jornadas Argentinas de Informática
Metadata
- Authors
- Du Boulay, B.
- Affiliations
- University of Sussex
- Venue
- Journal of Educational Computing Research
- Publisher
- SAGE Publications
- Published
- 1986-02
- Volume
- 2
- Issue
- 1
- Pages
- 57-73
- ISSN
- 0735-6331 (ISSN-L)
- 1541-4140
- OpenAlex
- W2168795140
- Cited by
- 648
- References
- 8
- Citations by year
- 2026: 11 · 2025: 18 · 2024: 35 · 2023: 47 · 2022: 20 · 2021: 28 · 2020: 45 · 2019: 69 · 2018: 34 · 2017: 30 · 2016: 36 · 2015: 24 · 2014: 33 · 2013: 23 · 2012: 18
- FWCI
- 14.14
- Type
- journal article
- Language
- en
- Open access
- closed
- Licence
- journals.sagepub.com/page/policies/text-and-data-mining-license (tdm)
- Locations
- Journal of Educational Computing Research (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Physical Sciences › Computer Science › Software › Logic, programming, and type systems
- Social Sciences › Education › Science Education and Pedagogy
- Keywords
- programming education, novice programmers, coding errors, analogies in teaching, notional machine, assignment statements, programming notation, language design
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.