Asee peer logo

Moving from Matlab to Python in a First-Year Engineering Programming Course: Comparison of Student Achievement and Assessment of Self-Learning

Download Paper |

Conference

2024 ASEE Annual Conference & Exposition

Location

Portland, Oregon

Publication Date

June 23, 2024

Start Date

June 23, 2024

End Date

July 12, 2024

Conference Session

Programming Education 2

Tagged Division

Computers in Education Division (COED)

Permanent URL

https://peer.asee.org/47784

Request a correction

Paper Authors

biography

Robert Scott Pierce P.E. Western Carolina University

visit author page

Robert Scott Pierce is an Associate Professor of Engineering and Technology at Western Carolina University. He received his Ph.D. in mechanical engineering from Georgia Tech in 1993. Prior to his teaching career, he spent 14 years in industry designing automated positioning equipment.

visit author page

author page

Chaitanya Borra Western Carolina University

Download Paper |

Abstract

Most engineering curricula include an introductory programming course in the first or second year. This course typically assumes no previous programming experience and is intended to help students learn the skills that they will need to solve problems in their upper-level engineering courses. Learning outcomes for this course can include data types, vector and matrix manipulation, programming structures, function definition, and programming strategy. The choice of programming language for this course varies depending on the curriculum requirements. Common choices are Python, C/C++, Java, and Matlab. At NAME OF OUR UNIVERSITY Engineering, the introductory programming course has traditionally been taught using Matlab. Matlab was selected for its relatively simple syntax, its focus on mathematical programming, and because it is widely used by faculty in upper-level courses.

In recent years, Python has become one of the most widely-used, general programming languages. A recent study published in IEEE Spectrum found that job opportunities for Python programmers exceeded those for Matlab programmers by an order of magnitude. The popularity of Python can be attributed to its relatively simple, readable syntax and the fact that Python and virtually all associated modules and packages are open-source. This open-source model has resulted in a huge base of freely-available packages in virtually every field of engineering and science.

In response to the popularity of Python, NAME OF OUR UNIVERSITY Engineering has changed from Matlab to Python in the introductory computing course. The course topics and learning goals for the course were not changed, and course lectures were only changed to reflect the change in programming language.

This paper compares student achievement between classes that took the Matlab-based version of the course and those who took the Python-based version. Students in the two versions were given very similar exam and final project problems so that their achievement of course goals can be compared. A comparison is also made of students’ self-assessment of learning as measured using responses from student course evaluations.

This work is the first phase of a longer-term project intended to assess the digital literacy of NAME OF OUR UNIVERSITY Engineering graduates. Students’ programming skills are being assessed as they progress through the four-year engineering curricula. A particular focus of this longer-term work is to determine whether students who learn Python as their first programming language are better prepared to adapt to new languages and programming platforms.

Pierce, R. S., & Borra, C. (2024, June), Moving from Matlab to Python in a First-Year Engineering Programming Course: Comparison of Student Achievement and Assessment of Self-Learning Paper presented at 2024 ASEE Annual Conference & Exposition, Portland, Oregon. https://peer.asee.org/47784

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2024 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015