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

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.

Authors

Institutions

Publication Details

Journal
International Journal of Information and Communication Technology Education
Published
2026-11-19
DOI
https://doi.org/10.4018/ijicte.428112
Primary Topic
Intelligent Tutoring Systems and Adaptive Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Shun Wang, Lei Xi, Guang Zheng, Junping SHANG et al.
International Journal of Information and Communication Technology Education
Intelligent Tutoring Systems and Adaptive Learning
article

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

Shun Wang, Lei Xi, Guang Zheng, Junping SHANG, Yinchao Che, Yanna Ren, Xiaolei Wang
article en

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.

International Journal of Information and Communication Technology EducationVol. 22(1)
Henan Agricultural University (CN)
Intelligent Tutoring Systems and Adaptive Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon