Weekly Lab Exercises
The lab exercises will be posted here weekly. The work in lab will lead into and be part of the week's project. Labs will also count significantly towards participation.
Lab Instructor Information
Prof. Bruce A. Maxwell
Office hours: Knock
The learning goals for the lecture and lab are the same -- both are meant to work together to accomplish the goals for the course as a whole. They are:
- Students can read a simple program and correctly identify its behavior
- Students can convert a problem statement into a working program that solves the problem.
- Students understand abstraction and can break down a program into appropriate procedural and object-oriented components
- Students can generate an approximate model of computer memory and describe how an algorithm affects its contents.
- Students can communicate the result of their work and describe an algorithm.
Lab Exercise 1: Equipping yourself for the projects
Lab Exercise 2: Python, functions, and parameters
Lab Exercise 3: Loops, conditionals, and command-line arguments
Lab Exercise 4: Images
Lab Exercise 5: Lists
Lab Exercise 6: Animations
Lab Exercise 7: Grammars, Files and Interpreters
Lab Exercise 8: Classes
Lab Exercise 9: Dictionaries and Inheritance
Lab Exercise 10: Not Quite Straight Lines
Lab Exercise 11: 3D Turtle