Location of Repository

A comparison of C, Matlab and Python as teaching languages in engineering

By Hans Fangohr

Abstract

We describe and compare the programming languages C, MATLAB and Python as teaching languages for engineering students. We distinguish between two distinct phases in the process of converting a given problem into a computer program that can provide a solution: (i) finding an algorithmic solution and (ii) implementing this in a particular programming language. It is argued that it is most important for the understanding of the students to perform the first step whereas the actual implementation in a programming language is of secondary importance for the learning of problem-solving techniques. We therefore suggest to chose a well-structured teaching language that provides a clear and intuitive syntax and allows students to quickly express their algorithms. In our experience in engineering computing we find that MATLAB is much better suited than C for this task but the best choice in terms of clarity and functionality of the language is provided by Python

Topics: Q1, LB2300, QA76
Publisher: Springer
Year: 2004
OAI identifier: oai:eprints.soton.ac.uk:22811
Provided by: e-Prints Soton

Suggested articles

Preview

Citations

  1. (2000). An empirical comparison of seven programming languages.
  2. (1988). D.M.: The C Programming Language.
  3. (2003). Numerical Python
  4. (2003). Python as a first programming language for everyone. In:
  5. (1995). Python tutorial. Centrum voor Wiskunde en Informatica (CWI),
  6. (2003). The Mathworks: Matlab

To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.