Instructor: Alicia M. Grubb

Course meeting times: MWF 10:50AM - 12:05PM (Stoddard G2)

Student Hours: Mondays 2:00-3:00PM, Tuesdays 3:30-4:30PM, Fridays 4:00-5:15PM (Ford 355)

Student Appointments: Book at: https://tinyurl.com/grubb-app

Lab Instructor: David Marshall

Lab sections: Wednesday 1:20-3:10, Wednesday 3:20-5:10, Thursday 1:20-3:10, Thursday 3:20-5:10 (FORD 241)

Pedagogical Partner: Mariah White

Teaching Assistants: Sakina Ali, Olivia DeMeo, Ellen Dong, Ali Eshghi, Jessica Keast, Annika Miller, Phuong Phan, and Neamat Sabry TA Hours Schedule


First Spring Term - Learning At Smith

Welcome & First Program…Variables, Types, Input/Print (Week 1)

Notes

Conditionals, Operators, and User Input (Week 2)

Notes

Python Files: OneCard-Data-Table

User Input, String, main() (Week 3)

Notes and bonus notes and slides on errors and code readability.

Python Files: Strings Examples

Debugging Exercise: Connect-Four-Broken

Loops and Random (Week 4)

Notes and external loop resource

Python Files: Simple while loops. and Random coin flip.

Handout Answers: while loops and for loops.

Recursion / Data Storage (Week 7)

Recursion notes and slides.

Python Files: factorial, sum, recursive list of lists, towers of hanoi.


Spring Break - End of Part 1

Second Spring Term - Learning Remotely

Syllabus Update

Videos listed below as MIT-OpenCourseWare are provided from the following course:
“Ana Bell, Eric Grimson, and John Guttag. 6.0001 Introduction to Computer Science and Programming in Python.
Fall 2016. Massachusetts Institute of Technology: MIT OpenCourseWare, https://ocw.mit.edu.
License: Creative Commons BY-NC-SA.”

A. Classes and Object Oriented Programming

Note: If you are planning to pursue further courses in CS at Smith, this is the most important topic to learn deeply from the second half of the course. I recommend focusing on this topic.

Classes/OOP notes

Examples: Dice Class Example, Dice Game Example, Cash Register Starter, Cash Register Answer, Simple Dog Class, Dachshund/RobotDog/CurlyHairedDachshund, Dog with Collar, 2D/3D Point Class with Assert

External YouTube Videos: MIT-OpenCourseWare

E. Data Storage

Data storage notes.

F. Prototyping

Prototyping notes

G. Review & Practice Problems

Practice Problems

Answers: Q3, Q4, and Q5.