TY - GEN
T1 - Cognitive-Aware Generative AI System for Intelligent Code Debugging and Programming Instruction
AU - Zhang, Yingying
AU - Li, Xudong
AU - Liu, Runze
AU - Huang, Xuefei
AU - Sheng, Hao
AU - Yang, Da
AU - Li, Ying
AU - Zhu, Tongyu
AU - Zhu, Haogang
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - This study proposes a generative AI-based system for programming error detection and heuristic correction, aiming to address instruction challenges in programming courses and promote a cognitive science-oriented transformation in programming education. Technically, the system adopts a three-dimensional collaborative mechanism - static analysis, dynamic tracing, and large model inference - to overcome traditional one-dimensional detection methods and accurately identify students' cognitive blind spots. Pedagogically, it pioneers a chain-of-thought heuristic strategy that guides students through a progressive hint sequence of "error attribution, logic reconstruction, and optimization validation,"fostering a complete cognitive process from "requirement analysis"to "algorithm design"and "code implementation."Equipped with a dynamic cognitive support engine, the system generates personalized feedback strategies based on learner profiling, achieving a shift from mechanical error correction to cognitive restructuring. Experimental validation demonstrates that the framework effectively promotes knowledge internalization and skill enhancement. Future developments will extend to the creation of visualization training modules for complex programming paradigms such as recursion and concurrency, continuously advancing the intelligent transformation of programming education.
AB - This study proposes a generative AI-based system for programming error detection and heuristic correction, aiming to address instruction challenges in programming courses and promote a cognitive science-oriented transformation in programming education. Technically, the system adopts a three-dimensional collaborative mechanism - static analysis, dynamic tracing, and large model inference - to overcome traditional one-dimensional detection methods and accurately identify students' cognitive blind spots. Pedagogically, it pioneers a chain-of-thought heuristic strategy that guides students through a progressive hint sequence of "error attribution, logic reconstruction, and optimization validation,"fostering a complete cognitive process from "requirement analysis"to "algorithm design"and "code implementation."Equipped with a dynamic cognitive support engine, the system generates personalized feedback strategies based on learner profiling, achieving a shift from mechanical error correction to cognitive restructuring. Experimental validation demonstrates that the framework effectively promotes knowledge internalization and skill enhancement. Future developments will extend to the creation of visualization training modules for complex programming paradigms such as recursion and concurrency, continuously advancing the intelligent transformation of programming education.
KW - Error detection
KW - Generative AI
KW - Heuristic correction
KW - Personalized feedback
KW - Programming education
UR - https://www.scopus.com/pages/publications/105033213766
U2 - 10.1109/TALE66047.2025.11346746
DO - 10.1109/TALE66047.2025.11346746
M3 - 会议稿件
AN - SCOPUS:105033213766
T3 - TALE 2025 - 2025 IEEE International Conference on Teaching, Assessment, and Learning for Engineering, Proceedings
BT - TALE 2025 - 2025 IEEE International Conference on Teaching, Assessment, and Learning for Engineering, Proceedings
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 14th International Conference on Teaching, Assessment, and Learning for Engineering, TALE 2025
Y2 - 4 December 2025 through 7 December 2025
ER -