• Media type: E-Article
  • Title: Python CS1 as preparation for C++ CS2
  • Contributor: Enbody, Richard J.; Punch, William F.; McCullen, Mark
  • imprint: Association for Computing Machinery (ACM), 2009
  • Published in: ACM SIGCSE Bulletin
  • Language: English
  • DOI: 10.1145/1539024.1508907
  • ISSN: 0097-8418
  • Keywords: General Earth and Planetary Sciences ; General Environmental Science
  • Origination:
  • Footnote:
  • Description: <jats:p>How suitable is a Python-based CS1 course as preparation for a C++-based CS2 course? After fifteen years of using C++ for both CS1 and CS2, the Computer Science Department at Michigan State University changed the CS1 course to Python. This paper examines the impact of that change on the second course in the sequence, CS2, which kept C++ as its primary language. We report results on a CS2 class which had a mixture of students who had used either C++ or Python from our CS1 course. The CS2 class covered the same topics as previously, though with some changes, and even gave the same final exam as a previous offering. Independent samples t-tests were used to compare students from the Python group with students from the non-Python group on three outcomes: final exam grade, programming projects scores, and final grade for the course. The main result was that there were no significant differences between the groups for all three outcomes. In addition, multiple regression analysis showed that students' past performance (overall GPA) in the University predicted final grades, final exam scores, and programming project scores for the course, but there was no effect of the programming language feature: Python or non-Python. We feel this shows that the Python-based CS1 course prepared students for the C++-based CS2 course as well as the C++-based CS1 course did---while exposing them to a different, powerful and useful language.</jats:p>