Work

Hierarchical Instruction for C++ Programming Through RAG-Based Intelligent Tutoring

Year: 2026
Type: article
Abstract: C++ programming, with its high level of abstraction, strict syntax, and complex debugging, often diminishes students' motivation. To address this, the authors propose a teaching reform that uses a retrieval-augmented generation (RAG)-based intelligent tutoring system (ITS) and a hierarchical instructional approach. The system integrates (a) textbook-based RAG for multi-turn, knowledge-oriented question answering, (b) personalized assessment, and (c) targeted instructional support. RAG aligns responses with course content by retrieving relevant segments from instructional materials and providing adaptive feedback to student queries. Acting as a learning assistant, the ITS provides step-by-step guidance, promotes active thinking, and encourages continuous exploration. Learning activities demonstrate improvements in students' enthusiasm, persistence, and mastery of object-oriented concepts. This study highlights a novel integration of AI-driven methods and pedagogical strategies in programming education.
Language: English
Open Access status: gold
Estimated APC paid: $2,500
OpenAlex ID: W7236858775
FWCI:
Cites: 18
Cited by:
Related to: 10