Integrating AI tools like ChatGPT and Gemini into programming courses, such as the freshman-level Fundamentals of Engineering and sophomore-level Survey of Computational Methods in Engineering, provides students with invaluable support for enhancing their coding skills. One common challenge students face is the correct use of characters and punctuation, which often leads to errors and frustration. This manuscript examines how ChatGPT can help students overcome these obstacles by providing real-time feedback and guidance. In-class examples were used to evaluate the accuracy of code troubleshooting, and student surveys assessed the impact on motivation, engagement, and coding efficacy. Results show that access to AI resources not only improves students' ability to write more efficient code but also significantly enhances their overall learning experience. These tools encourage deeper engagement, fostering independence and confidence in coding. Furthermore, AI support is particularly beneficial for complex topics like loops and subroutines, where students often struggle with logic and procedure. In such cases, AI provides clear guidance, enabling students to make minor corrections efficiently, saving both time and effort. While ChatGPT has its limitations, it remains a highly valuable educational tool for students seeking to refine their coding skills and deepen their understanding of programming concepts.
The full paper will be available to logged in and registered conference attendees once the conference starts on June 22, 2025, and to all visitors after the conference ends on June 25, 2025