This post summarizes feedback I received from my awesome students after teaching COGS 18 : Introduction to Python this past Spring quarter at UCSD. While this was my first time teaching the course, it was developed and taught once previously by grad student extraordinaire, Tom Donoghue.
This course is required of all cognitive science majors and is meant to be a true introduction to programming. No prior programming experience is expected or required. I do not expect students to leave this course being master programmers, but I do expect them to be able to read, write, and understand code.
We spent the first 7 weeks of the quarter learning basic programming concepts before becoming a project-focused class. For the last 3 weeks of the quarter we focused on using code to solve a problem or build something (each student completes their own individual final project) and lectures focus on debugging and how to write good code.
More specifically, I set out with six course objectives:
- Program at an introductory level in the Python programming language
- Read basic Python programs, recognizing the structures they use and be able to explain how they work
- Solve basic problems using programmatic solutions
- Write and debug small Python programs
- Execute Python programs on your local computer, using notebooks and the command line
- Describe and implement best practices in Python, keeping in mind that programming is done by and for humans
At the end of the course, I solicited feedback. In this post I’ll focus on two really important questions about how they were feeling with the course content:
- How comfortable are you with programming in Python?
- Check all that apply: After COGS18, which of the following skills do you feel you possess?
I had 272 students in COGS 18 this past Spring and got responses from 195 on this survey (Response Rate = 71.7%). The survey was optional, but students did receive extra credit for their response.
How comfortable are you with programming in Python?
In response to this question, the students were guided to respond on a scale from 1 to 5, where 1 was “What’s Python?” and 5 was “I could teach an intro Python Class!”
The vast majority of students fell somewhere in the middle, which was promising to see! But, that didn’t give me a very granular understanding of what contributed to this level of comfort with Python Programming.
Check all that apply: After COGS18, which of the following skills do you feel you possess?
The skills I asked about were the course objectives I had listed on the course syllabus and had set out to teach throughout the quarter. Students were asked to check all that apply and were also given the option of “None of the Above.” These data1 are summarized here:
It was great to see that almost 90% of students felt they could program at an Intro level, as that’s my main goal. But, of course I think this number can be even higher going forward!
What I love about asking students about their feelings of achieving the course objectives is I get to see where I should focus my attention the next time I teach this course. During the quarter, I sensed that students struggled in the last few weeks of the course when we focused on best practices in Python and using the command line (rather than Jupyter notebooks). I also had a feeling throughout the quarter that I could have taught debugging better and done more live coding. So, fingers crossed I can increase all these numbers this Fall when I teach the course again. And, specifically, I’m going to work improve how effectively I teach the last few weeks of the course!
I did forget to shuffle the order when presenting these options to students, so there could be a bias toward the first few course objectives listed above as all students saw them in the numbered order above…and could have gotten tired of reading all options, but that would underestimate percentage, so I’m comfortable that these are lower bounds.↩