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-appLab 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
Syllabus/Course Package: The course package, including syllabus, is available here.
Slack: The course slack is available here.
Python: You should install Thonny.
Moodle: For submissions and grades see here.
Programming training groups: Submit your application to join a training group here. Deadline February 3rd.
Lab Feedback: Review your performance in lab here.
The Learning Quest (Extra Credit): Review the assignment description here and submit you weekly reports of how your participated in the learning quest here. March 28th notes on updated learning quests.
Anonymous: Course Feedback Form and Inbox (Micro-aggression)
Cheat Sheets: Wk1-3: Variables, Strings
Notes and bonus notes and slides on errors and code readability.
Python Files: Strings Examples
Debugging Exercise: Connect-Four-Broken
Notes and external loop resource
Python Files: Simple while
loops. and Random coin flip.
Handout Answers: while
loops and for
loops.
Functions Notes and Code Reuse and Test 1 Notes
Python Files: random with seed, simple functions, happy birthday function, passing option parameters (Emphasize), calling a function in another function
List/Dictionary Notes, and extra notes
Python Files: playing with lists and friends, pass by reference example
Recursion notes and slides.
Python Files: factorial, sum, recursive list of lists, towers of hanoi.
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.”
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.
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
Graphics/Interactions notes and graphics.py. Graphics library (see graphics.py and html/pdf references).
Examples: Graphics Intro, Initial Moving Ball, Bouncing Ball, Keyboard Input Ball, Windows Ball Move Test.
Examples: horizontal.txt, File read/readlines/readline, File read/write, Exception Intro, Exception Demo.
Sorting notes and simple sort handout
Examples: Code for sorting handout, and sorting methods with doc strings.