A Gentle Introduction to Programming Using Python
January IAP 2011
Topics
- Introduction
- Conditionals, loops
- Defining functions
- Strings, lists, list comprehensions
- Recursion
- Tuples, dictionaries, common Python mistakes
- Classes
- More about classes
- Inheritance
- More review
- Questions and applications
Readings
- If you have trouble accessing the textbook, or don’t want to download the whole PDF, try the individual chapters:
- The lectures stick with the order of the textbook for the most part, but not always.
- Readings are from How to Think Like a Computer Scientist unless otherwise noted.
- LEC #: 1 · READINGS: Chapters 1 and 2, section 4.12
- LEC #: 2 · READINGS: Sections 4.1, 4.2, 4.4-4.7, and 6.1-6.2
- Chapter 3, appendix A, sections 6.5-6.9
- Chapters 7 and 8
- LEC #: 5 · READINGS: Chapters 9 and 10
- Chapters 12-14 (read chapter 14 well; get through at least section 14.6)
- LEC #: 7 · READINGS: Finish chapters 12-14; read chapter 16
- For the final week, make sure you know and understand chapters 12-14 and 16.
January IAP 2008
This course will provide a gentle introduction to programming using Python™ for highly motivated students with little or no prior experience in programming computers. The course will focus on planning and organizing programs, as well as the grammar of the Python programming language. Lectures will be interactive featuring in-class exercises with lots of support from the course staff. This course is offered during the Independent Activities Period (IAP), which is a special 4-week term at MIT that runs from the first week of January until the end of the month.
Readings
- The lectures stick with the order of the textbook for the most part, but not always.
January IAP 2007 · Multicore Programming Primer
The course serves as an introductory course in parallel programming. It offers a series of lectures on parallel programming concepts as well as a group project providing hands-on experience with parallel programming. The students will have the unique opportunity to use the cutting-edge PLAYSTATION 3 development platform as they learn how to design and implement exciting applications for multicore architectures. At the end of the course, students will have an understanding of: - Fundamental design philosophies that multicore architectures address. - Parallel programming philosophies and emerging best practices. This course is offered during the Independent Activities Period (IAP), which is a special 4-week term at MIT that runs from the first week of January until the end of the month. The course can be tailored to a normal semester time line. Acknowledgements The course instructors are extremely grateful to {{% resource_link "ee4d70a0-2d0e-40e7-bebb-1f304fdd9cfb" "Sony" %}}, {{% resource_link "b0073b49-edd7-4c6e-878d-a4607038a655" "IBM" %}}, and {{% resource_link "20c3dac4-dbbd-4448-bfda-50c0279d24d6" "Toshiba" %}} for their support.
Sources
- Course catalogue ↗Historical OpenCourseWare
- MIT OpenCourseWare ↗January IAP 2011
- MIT OCW calendar ↗
- MIT OCW syllabus ↗
- MIT OCW readings ↗
- MIT OCW syllabus ↗
- MIT OCW readings ↗
- MIT OpenCourseWare ↗January IAP 2007
- MIT OCW syllabus ↗
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.