Teaching Programming Languages by Two Teachers: Instructor and ChatGPT
Alireza Kavianpour · 2024
Teaching Programming Languages by Two Teachers: Instructor and ChatGPTThis paper discusses how an instructor can enhance teaching an undergraduate programming course, specifically C++ programming language, utilizing Artificial Intelligence (AI) tools, such as ChatGPT.The teaching experience and a collection of data from a C++ programming course, with and without ChatGPT, will be analyzed.Several guidelines to use AI tools more efficiently for a programming course will be presented.In this programming course, homework assignments were modified to address the use of ChatGPT.Most undergraduate engineering students must take this programming course with Calculus course as a prerequisite.A neurological study has shown that "curiosity makes people more receptive for learning, and that as we learn, we enjoy the sensation of learning".That is exactly what the author noticed among students in discovering the use of this new tool.Overall, based on the author's experiences, most students were curious to learn more about this new tool.As a result, they were more engaged in writing codes.The author has warned students that scientific advances can both help and hurt and AI is no exception.Students highly welcomed this new tool and were eager to use it in a positive way in the other courses to enhance their learning.