Jul 2026· Annual Conference on Innovation and Technology in Computer Science Education· pp. 443-449· 0 citations· 48 references
Computer Science
TL;DR
This paper empirically study how different algorithmic implementations of the same underlying task affect students' ability to reason about good abstractions through method extraction, and shows that interleaved functional composition is more difficult to decompose.
Abstract
Program decomposition is a core skill in computer science that overlaps with program comprehension, refactoring, and design. Decomposition takes many forms, with one common task at the introductory level being the identification and extraction of meaningful abstraction into separate functions. However, there is limited empirical evidence about how the algorithmic structuring of code affects the difficulty of producing a meaningful decomposition. In this paper, we empirically study how different algorithmic implementations of the same underlying task affect students' ability to reason about good abstractions through method extraction. Grounded in a recent framework on code structuring, we design three functionally equivalent versions of the same task that differ only in how two latent functional patterns relate to each other: sequentially, hierarchically, or interleaved. Using a large-scale controlled study with 994 introductory programming students, we examine students' effort in decomposing the programs, the approaches they adopt, and their perceptions of whether the resulting decomposition improves readability and understanding. Our results show that interleaved functional composition is more difficult to decompose, providing initial empirical support for the framework's hypothesized ordering of composition pattern difficulty. Students also perceive their decompositions of the interleaved version to be less easy to read and understand. We also find that students describe many different approaches of decomposing, and we discuss several implications for teaching and future research.
These findings position inline comments as model-sensitive latent semantic prompts, with implications for AI-in-the-loop development and design of comment conventions for AI-assisted maintenance.
Angela N. Johnson· Frontiers in Artificial Inte...· 0 citations
It is demonstrated that models and code achieve comparable overall correctness, and thus models alone may be sufficient in model-centric scenarios where access to code is limited or unavailable, and a consistent structure-behavior comprehension gap is revealed.
Iris Reinhartz-Berger, Monique Snoeck· Journal of Software and Syst...· 0 citations
This work introduces a facet-based perspective that distinguishes between analytical skills, abstraction, and critical evaluation and proposes a method to guide researchers from research goals to concrete tasks and study design, including considerations for question formulation and response formats.
Luisa Bartl, Marvin Wyrich, Sven Apel et al.· 0 citations
The focus is shifted from individual constructs to recurring configurations of constructs, and abstract notation engineering is proposed as a language-agnostic method for replacing such configurations with higher-level, semantically transparent constructs.
Amine Abbad-Andaloussi, D. Schütt, Kasper Solhøj Jørgensen et al.· arXiv.org· 0 citations
This study empirically evaluates whether cost-efficient Large Language Models (LLMs) can be trusted to generate enterprise code to a written specification. Three models (Gemini Flash 3, GPT-5.4 mini and Claude Haiku 4.5) were asked to solve 992 algorithmic problems as Java Spring Boot service methods conforming to a ma...
Evidence is found that keyword-based argument passing is less defect-prone than positional argument passing, and this is not affected by size-related confounding factors.
Cyrine Zid, M. D. Di Penta, F. Khomh et al.· Empirical Software Engineeri...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.