Knowledge Component-Driven Alignment of CS1 Textbooks and Exercises
Abstract
We present a reproducible pipeline that aligns CS1 textbook sections with problems from a public dataset via a Knowledge Component (KC) -a single conceptual skill required for problem solving- ontology. It assigns KCs to sections and problems, respects the prerequisite order to avoid inserting problems too early, and generates tips for not-yet-taught concepts. We evaluate three KC assignment strategies: embedding-only, embedding with a Large Language Model (LLM) tie-breaker, and direct LLM assignment. We find direct assignment matches or exceeds human annotators. Our results show that constrained LLMs can enrich CS1 textbooks with curriculum-aware practice problems.
Fields of Study & Subjects
Teaching and Learning Programming
Intelligent Tutoring Systems and Adaptive Learning
Software Engineering Research
Publication details
- Journal / source
- ACM Technical Symposium on Computer Science Education (SIGCSE)
- Pages
- 1533–1534
- Publication date
- 13 February 2026
- Language
- EN