I intend to lead a nephew through the exercises of sequence, selection, and iteration via Python. I also intend to introduce hardware sensors for data collection. If there is a better choice (I learned via C++ and embedded opcode programming), for a high school student, I would be interested in understanding other options. I have minimal experience with Python, however, I have had success with barcode readers, databases, string processing using Python.
Which programming language best prepares high school students for a STEM college major and why? Any STEM: not necessarily a CS or even a EE major.
I would like the student to master the fundamentals:
- sequence
- selection
- iteration
- utilizing library functions
The student should master these fundamentals so that he/she can search and recognize these concepts in another language (MATLAB, Ada, C, Smalltalk, etc.)
The choice of language is important in the sense that one must consider the audience and balance the need for simplicity (from the standpoint of 14 years old) and pedagogical quality: as a stepping stone to future STEM problem-solving activities.
Reasons for my initial selection of Python include my observation that MIT is teaching statistics, which assumes fluency in Python. Other reasons include a large number of Python libraries to support Raspberry Pi sensors and boards.
If you are an instructor at the university level, please state this in your reply.