Systematically Thinking about the Complexity of Code Structuring Exercises at Introductory Level
By: Georgiana Haldeman, Peter Ohmann, Paul Denny
Potential Business Impact:
Teaches coding by breaking down hard problems.
Decomposition and abstraction is an essential component of computational thinking, yet it is not always emphasized in introductory programming courses. In addition, as generative AI further reduces the focus on syntax and increases the importance of higher-level code reasoning, there is renewed opportunity to teach DA explicitly. In this paper, we introduce a framework for systematically assessing the complexity of code structuring tasks, where students must identify and separate meaningful abstractions within existing, unstructured code. The framework defines three dimensions of task complexity, each with multiple levels: repetition, code pattern, and data dependency. To support practical use, we provide example tasks mapped to these levels and offer an interactive tool for generating and exploring DA problems. The framework is designed to support the development of educational tasks that build students' skills with DA in the procedural paradigm.
Similar Papers
Assessing Problem Decomposition in CS1 for the GenAI Era
Computers and Society
Teaches beginners how to break down big coding problems.
A Survey of Deep Learning Models for Structural Code Understanding
Software Engineering
Helps computers understand computer code better.
What is digital about abstraction?
Computers and Society
Organizes computer code to control how we use tech.