Making the Move from C to Python With Mechanical Engineering Students

Burford J Furman, Salman Ahsan, Eric Wertz · 2020 ASEE Virtual Annual Conference Content Access Proceedings · 2020

Work is underway in the Mechanical Engineering Department at San José State University to transition the first course in computer programming (ME 30 Computer Applications) and a follow-on course, ME 106 Fundamentals of Mechatronics, from C to Python.Both courses make extensive use of a microcontroller to teach the fundamentals in both subjects, and heretofore have used the C language and the Arduino platform, but now both courses have moved to Python and to the Adafruit Feather M4 Express board, which can run Python natively on its associated microcontroller.Prior to the transition to Python, ME 30 had a relatively high failure rate between about 10 -35%.Since transitioning to Python, the failure rate dropped dramatically to about 3% in the fall of 2019.The paper will outline the previous structure of the courses, explain the motivation for transitioning from C to Python, and discuss the pros and cons of the transition observed to date.

Read the paper · More papers on PaperTik