Beyond Syntax and Tracing: A Multidimensional Diagnostic Framework for Novice Code Comprehension
Resumo
Understanding code is a major challenge for beginning programming students, especially as Large Language Models (LLMs) have made code generation easier than understanding. Despite the availability of various assessment instruments, many approaches still analyze this skill through isolated tasks and results based solely on correct answers or grades. To address this problem, this work proposes the Three-Dimensional Comprehension (3DC) model, a multidimensional approach to diagnosing code comprehension. To operationalize the model, the LIFC process was developed, integrating multiple assessment instruments and tasks to collect and triangulate evidence generated by students during program reading and interpretation activities. The proposal also defines the LOAD diagnostic profiles, which represent different comprehension patterns observed among beginning students. Preliminary results indicate that integrating multiple pieces of evidence enables the identification of specific difficulties that traditional assessments based solely on final performance cannot adequately capture. Thus, the 3DC model seeks to support more detailed diagnoses and more targeted pedagogical interventions in introductory programming education.
Palavras-chave:
Code Comprehension, Introductory Programming, Multidimensional Diagnosis
Referências
Andersen-Kiel, N. and Linos, P. P. (2024). Using ChatGPT in Undergraduate Computer Science and Software Engineering Courses: A Students' Perspective. In 2024 IEEE Frontiers in Education Conference (FIE), pages 1–9.
Banweer, K. and Trytten, D. A. (2024). WIP: Code Insight: Combining Code Reading and Debugging Practices for Active Learning in Entry-Level Computer Science Courses. In 2024 IEEE Frontiers in Education Conference (FIE), pages 1–5.
Cavalcanti, V. and Andrade, W. L. (2025). Code Comprehension for Novice Students: Teaching, Assessment, Tools, and Challenges. In 2025 IEEE Frontiers in Education Conference (FIE), pages 1–9.
Feitelson, D. G. (2021). Considerations and Pitfalls in Controlled Experiments on Code Comprehension. In Proceedings of the 29th IEEE/ACM International Conference on Program Comprehension (ICPC), pages 106–117. IEEE.
Hannebauer, C., Hesenius, M., and Gruhn, V. (2018). [Journal First] Does Syntax Highlighting Help Programming Novices? In 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE), pages 704–704.
Izu, C. and Mirolo, C. (2020). Comparing Small Programs for Equivalence: A Code Comprehension Task for Novice Programmers. In Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education, ITiCSE '20, page 466–472, New York, NY, USA. Association for Computing Machinery.
Kallia, M. (2023). The Search for Meaning: Inferential Strategic Reading Comprehension in Programming. In Proceedings of the 2023 ACM Conference on International Computing Education Research - Volume 1, ICER '23, page 1–14, New York, NY, USA. Association for Computing Machinery.
Lehtinen, T., Seppälä, O., and Korhonen, A. (2023). Automated Questions About Learners' Own Code Help to Detect Fragile Prerequisite Knowledge. In Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1, ITiCSE 2023, page 505–511, New York, NY, USA. Association for Computing Machinery.
Lister, R., Adams, E. S., Fitzgerald, S., Fone, W., Hamer, J., Lindholm, M., McCartney, R., Moström, J. E., Sanders, K., Seppälä, O., Simon, B., and Thomas, L. (2004). A multinational study of reading and tracing skills in novice programmers. In Working Group Reports from ITiCSE on Innovation and Technology in Computer Science Education, ITiCSE-WGR '04, page 119–150, New York, NY, USA. Association for Computing Machinery.
Pennington, N. (1987). Stimulus structures and mental representations in expert comprehension of computer programs. Cognitive Psychology, 19(3):295–341.
Schulte, C. (2008). Block Model: an educational model of program comprehension as a tool for a scholarly approach to teaching. In Proceedings of the Fourth International Workshop on Computing Education Research, ICER '08, page 149–160, New York, NY, USA. Association for Computing Machinery.
Shneiderman, B. and Mayer, R. (1979). Syntactic/semantic interactions in programmer behavior: A model and experimental results. International Journal of Computer; Information Sciences, 8(3):219–238.
Szabo, C. (2015). Novice Code Understanding Strategies during a Software Maintenance Assignment. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, volume 2, pages 276–284.
Teague, D. and Lister, R. (2014). Programming: reading, writing and reversing. In Proceedings of the 2014 Conference on Innovation & Technology in Computer Science Education, ITiCSE '14, page 285–290, New York, NY, USA. Association for Computing Machinery.
Wilson, D., Sarwar, S., and Najjar, N. (2024). Notional Machines for Inclusive Learning. In 2024 IEEE Frontiers in Education Conference (FIE), pages 1–9.
Wyrich, M., Bogner, J., and Wagner, S. (2023). 40 Years of Designing Code Comprehension Experiments: A Systematic Mapping Study. ACM Comput. Surv., 56(4).
Zavala, L. and Mendoza, B. (2017). Precursor skills to writing code. J. Comput. Sci. Coll., 32(3):149–156.
Banweer, K. and Trytten, D. A. (2024). WIP: Code Insight: Combining Code Reading and Debugging Practices for Active Learning in Entry-Level Computer Science Courses. In 2024 IEEE Frontiers in Education Conference (FIE), pages 1–5.
Cavalcanti, V. and Andrade, W. L. (2025). Code Comprehension for Novice Students: Teaching, Assessment, Tools, and Challenges. In 2025 IEEE Frontiers in Education Conference (FIE), pages 1–9.
Feitelson, D. G. (2021). Considerations and Pitfalls in Controlled Experiments on Code Comprehension. In Proceedings of the 29th IEEE/ACM International Conference on Program Comprehension (ICPC), pages 106–117. IEEE.
Hannebauer, C., Hesenius, M., and Gruhn, V. (2018). [Journal First] Does Syntax Highlighting Help Programming Novices? In 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE), pages 704–704.
Izu, C. and Mirolo, C. (2020). Comparing Small Programs for Equivalence: A Code Comprehension Task for Novice Programmers. In Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education, ITiCSE '20, page 466–472, New York, NY, USA. Association for Computing Machinery.
Kallia, M. (2023). The Search for Meaning: Inferential Strategic Reading Comprehension in Programming. In Proceedings of the 2023 ACM Conference on International Computing Education Research - Volume 1, ICER '23, page 1–14, New York, NY, USA. Association for Computing Machinery.
Lehtinen, T., Seppälä, O., and Korhonen, A. (2023). Automated Questions About Learners' Own Code Help to Detect Fragile Prerequisite Knowledge. In Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1, ITiCSE 2023, page 505–511, New York, NY, USA. Association for Computing Machinery.
Lister, R., Adams, E. S., Fitzgerald, S., Fone, W., Hamer, J., Lindholm, M., McCartney, R., Moström, J. E., Sanders, K., Seppälä, O., Simon, B., and Thomas, L. (2004). A multinational study of reading and tracing skills in novice programmers. In Working Group Reports from ITiCSE on Innovation and Technology in Computer Science Education, ITiCSE-WGR '04, page 119–150, New York, NY, USA. Association for Computing Machinery.
Pennington, N. (1987). Stimulus structures and mental representations in expert comprehension of computer programs. Cognitive Psychology, 19(3):295–341.
Schulte, C. (2008). Block Model: an educational model of program comprehension as a tool for a scholarly approach to teaching. In Proceedings of the Fourth International Workshop on Computing Education Research, ICER '08, page 149–160, New York, NY, USA. Association for Computing Machinery.
Shneiderman, B. and Mayer, R. (1979). Syntactic/semantic interactions in programmer behavior: A model and experimental results. International Journal of Computer; Information Sciences, 8(3):219–238.
Szabo, C. (2015). Novice Code Understanding Strategies during a Software Maintenance Assignment. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, volume 2, pages 276–284.
Teague, D. and Lister, R. (2014). Programming: reading, writing and reversing. In Proceedings of the 2014 Conference on Innovation & Technology in Computer Science Education, ITiCSE '14, page 285–290, New York, NY, USA. Association for Computing Machinery.
Wilson, D., Sarwar, S., and Najjar, N. (2024). Notional Machines for Inclusive Learning. In 2024 IEEE Frontiers in Education Conference (FIE), pages 1–9.
Wyrich, M., Bogner, J., and Wagner, S. (2023). 40 Years of Designing Code Comprehension Experiments: A Systematic Mapping Study. ACM Comput. Surv., 56(4).
Zavala, L. and Mendoza, B. (2017). Precursor skills to writing code. J. Comput. Sci. Coll., 32(3):149–156.
Publicado
05/10/2026
Como Citar
CAVALCANTI, Valéria; ANDRADE, Wilkerson L..
Beyond Syntax and Tracing: A Multidimensional Diagnostic Framework for Novice Code Comprehension. In: SIMPÓSIO BRASILEIRO DE INFORMÁTICA NA EDUCAÇÃO (SBIE), 37. , 2026, Goiânia/GO.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2026
.
p. 190-203.
DOI: https://doi.org/10.5753/sbie.2026.26889.
