Skip to main content

Decoding Student Error in Programming: An Iterative Approach to Understanding Mental Models

  • Conference paper
  • First Online:
Learning and Collaboration Technologies (HCII 2023)

Abstract

In computer programming education, despite yearly changes in teaching methodologies, students still struggle to grasp the concepts. When they advance to more complex projects, gaps in their basic knowledge become evident. It seems that the knowledge they learn in the first course is forgotten or not well understood. This proposal aims to explore students’ mental models of computer programming concepts to better understand and identify any misconceptions. An iterative methodology is proposed to identify, test, analyse and evidence students’ erroneous mental models in programming. Characterising these mental models is a first step to deepen our understanding and designing strategies to help students improve them. The proposed methodology is exemplified in detail through an undergoing use case at the University of Alicante, and some early results are discussed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Almadhoun, E., Parham-Mocello, J.: Exploratory study on accuracy of students’ mental models of a singly linked list. In: 2021 IEEE Frontiers in Education Conference (FIE), pp. 1–9 (2021). https://doi.org/10.1109/FIE49875.2021.9637318. ISSN 2377-634X

  2. Chao, J., Feldon, D.F., Cohoon, J.P.: Dynamic mental model construction: a knowledge in pieces-based explanation for computing students’ erratic performance on recursion. J. Learn. Sci. 27(3), 431–473 (2018). https://doi.org/10.1080/10508406.2017.1392309

  3. Figueiredo, J., García-Peñalvo, F.J.: Design science research applied to difficulties of teaching and learning initial programming. Universal Access in the Information Society (2022). https://doi.org/10.1007/s10209-022-00941-4

  4. Gallego-Durán, F.J., Villagra-Arnedo, C.J., Compañ Rosique, P., Real-Fernández, A.: Memoria de trabajo o hábitos de sueño, qué influye más en las habilidades de programación? In: Actas de las XXVIII Jornadas sobre Enseñanza Universitaria de la Informática, vol. 7, pp. 271–278. Asociación de Enseñantes Universitarios de la Informática (AENUI), Valencia (2022). https://aenui.org/actas/pdf/JENUI_2022_035.pdf

  5. Ginat, D., Shifroni, E.: Teaching recursion in a procedural environment-how much should we emphasize the computing model? In: The Proceedings of the Thirtieth SIGCSE Technical Symposium on Computer Science Education, New Orleans, Louisiana, USA, pp. 127–131. ACM (1999). https://doi.org/10.1145/299649.299718. https://dl.acm.org/doi/10.1145/299649.299718

  6. Gunion, K., Milford, T., Stege, U.: Curing recursion aversion. ACM SIGCSE Bull. 41(3), 124–128 (2009). https://doi.org/10.1145/1595496.1562919. https://dl.acm.org/doi/10.1145/1595496.1562919

  7. Henry, J., Dumas, B.: Developing an assessment to profile students based on their understanding of the variable programming concept. In: Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education, ITiCSE 2020, pp. 33–39. Association for Computing Machinery, New York (2020). https://doi.org/10.1145/3341525.3387400

  8. Javed, N., Zeeshan, F.: LMC + scratch: a recipe to construct a mental model of program execution. In: English, R., Stewart, C. (eds.) 6th Conference on Computing Education Practice, CEP 2022, pp. 33–36. Association for Computing Machinery, New York (2022). https://dl.acm.org/doi/proceedings/10.1145/3498343

  9. Law, R.: Introducing novice programmers to functions and recursion using computer games. In: European Conference on Games Based Learning, pp. 325–334. Academic Conferences International Limited, Reading (2018)

    Google Scholar 

  10. Mazumder, S.F., Pérez-Quiñones, M.A.: Eliciting a novice programmer’s mental model of arrays. In: Proceedings of the 52nd ACM Technical Symposium on Computer Science Education, SIGCSE 2021, p. 1302. Association for Computing Machinery, New York (2021). https://doi.org/10.1145/3408877.3439647

  11. Pirolli, P.L., Anderson, J.R.: The role of mental models in learning to program. Technical report, N/A (1984). https://eric.ed.gov/?id=ED265177. eRIC Number: ED265177

  12. Solomon, A., Pradeep, V., Li, S., Guzdial, M.: The role of gestures in learning computer sciences: (abstract only). In: Proceedings of the 49th ACM Technical Symposium on Computer Science Education, SIGCSE 2018, p. 1100. Association for Computing Machinery, New York (2018). https://doi.org/10.1145/3159450.3162316

  13. Tiam-Lee, T.J., Sumi, K.: Analyzing facial expressions and hand gestures in filipino students’ programming sessions. In: 2017 International Conference on Culture and Computing (Culture and Computing), Kyoto, pp. 75–81. IEEE (2017). https://doi.org/10.1109/Culture.and.Computing.2017.12. http://ieeexplore.ieee.org/document/8227348/

  14. Walker, M.P.: Sleep, memory and emotion. In: Progress in Brain Research, vol. 185, pp. 49–68. Elsevier (2010). https://doi.org/10.1016/B978-0-444-53702-7.00004-X. https://linkinghub.elsevier.com/retrieve/pii/B978044453702700004X

  15. Wu, C.C., Dale, N.B., Bethel, L.J.: Conceptual models and cognitive learning styles in teaching recursion. In: Proceedings of the Twenty-Ninth SIGCSE Technical Symposium on Computer Science Education - SIGCSE 1998, Atlanta, Georgia, United States, pp. 292–296. ACM Press (1998). https://doi.org/10.1145/273133.274315. http://portal.acm.org/citation.cfm?doid=273133.274315

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rafael Molina-Carmona .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gallego-Durán, F.J. et al. (2023). Decoding Student Error in Programming: An Iterative Approach to Understanding Mental Models. In: Zaphiris, P., Ioannou, A. (eds) Learning and Collaboration Technologies. HCII 2023. Lecture Notes in Computer Science, vol 14040. Springer, Cham. https://doi.org/10.1007/978-3-031-34411-4_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34411-4_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34410-7

  • Online ISBN: 978-3-031-34411-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics