Developing an AI-Driven NC Programming Assistant: A Productive Failure Approach in CNC Education

The integration of artificial intelligence (AI) into engineering and technology education offers new possibilities for enhancing student learning and feedback delivery. In machining, where accuracy and logic are essential, AI can serve as a powerful support tool. This paper presents the NC Programming Assistant, an application that combines rule-based logic and generative AI to help students write and debug numerical control (NC) programs. The assistant provides real-time, context-specific feedback on errors such as syntax issues and safety violations, enabling students to revise their work and strengthen their programming skills. Grounded in the Productive Failure Model, the assistant is designed not only to correct errors but also to encourage learners to engage in trial, failure, and reflection. The tool was deployed in a machining course, where its impact was evaluated through surveys, usage data, and statistical analysis. Results showed improvements in student confidence, debugging ability, and comprehension. By providing immediate and personalized feedback, the assistant addresses common instructional challenges in technical education and demonstrates how theory-informed AI tools can enhance learning outcomes in skill-based disciplines.

Authors

Institutions

Publication Details

Published
2025-05-02
DOI
https://doi.org/10.1109/sieds65500.2025.11021219
Citations
1
Primary Topic
Manufacturing Process and Optimization
Type
article
Field-Weighted Citation Impact
1.24
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Developing an AI-Driven NC Programming Assistant: A Productive Failure Approach in CNC Education

Chien Hwa Chong, Nico O. Aspra
1 citations
Manufacturing Process and Optimization
1.24
article

Developing an AI-Driven NC Programming Assistant: A Productive Failure Approach in CNC Education

Chien Hwa Chong, Nico O. Aspra
article en
1 citations

Abstract

The integration of artificial intelligence (AI) into engineering and technology education offers new possibilities for enhancing student learning and feedback delivery. In machining, where accuracy and logic are essential, AI can serve as a powerful support tool. This paper presents the NC Programming Assistant, an application that combines rule-based logic and generative AI to help students write and debug numerical control (NC) programs. The assistant provides real-time, context-specific feedback on errors such as syntax issues and safety violations, enabling students to revise their work and strengthen their programming skills. Grounded in the Productive Failure Model, the assistant is designed not only to correct errors but also to encourage learners to engage in trial, failure, and reflection. The tool was deployed in a machining course, where its impact was evaluated through surveys, usage data, and statistical analysis. Results showed improvements in student confidence, debugging ability, and comprehension. By providing immediate and personalized feedback, the assistant addresses common instructional challenges in technical education and demonstrates how theory-informed AI tools can enhance learning outcomes in skill-based disciplines.

University of Nottingham Malaysia Campus (MY), Batangas State University (PH)
Decent work and economic growth
Openalex Percentile: Top 19%
Manufacturing Process and Optimization
1.24
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.