Labs are designed to give you some time with your classmates and a TA to practice some of the programming ideas shown in class in a collaborative manner. Working together is approved here (although you must still submit your own copy of your work). Sometimes, exercises in lab will help you solve the next programming assignment. And as you meet other students in lab, you might find study partners for the exams!
Each lab will be posted here for your reference along with sample answers after the labs are all over. Labs participation counts for 5% of your grade. Each lab is scored as follows:
You MUST go to the lab listed on your semester schedule in order to get any credit for the lab. Students should not ask for alternate accommodations (e.g. can I go to a different lab because I need to go somewhere later?).
You are expected to go to lab every week. However, sometimes things happen, so we drop your two lowest lab scores. Again, please do not ask for a makeup or ask to attend a different lab. If you miss a lab, you are responsible for understanding the material you missed.
Two short lab exams will be given (see schedule below) that will test your ability to write simple Python functions given a limited amount of time and resources. No makeups will be allowed except as allowed in the official course policy. You cannot drop a lab exam; you must attend those exam weeks.
Links to labs will be posted here once they're released:
WEEK | LAB | DATE | TOPIC |
1 | LAB 1 | Thu., Jan 18 | Basics: directories, files, Autolab |
2 | LAB 2 | Thu., Jan. 25 | Entering a Python function, testing and submitting |
3 | LAB 3 | Thu., Feb. 1 | Using the if statements and loops |
4 | LAB 4 | Thu., Feb. 8 | Computing with lists |
5 | LAB 5 | Thu., Feb. 15 | Debugging code |
6 | LAB 6 | Thu., Feb. 22 | Exploring recursion |
7 | LAB 7 | Thu., Mar. 1 | Hashing |
8 | LAB EXAM #1 | Thu., Mar. 8 | |
No lab (Spring Break) | Thu., Mar. 15 | ||
9 | LAB 8 | Thu., Mar. 22 | Using random numbers |
10 | LAB 9 | Thu., Mar. 29 | Introduction to graphics |
11 | LAB 10 | Thu., Apr. 5 | Programming a simple game |
12 | LAB 11 | Thu., Apr. 12 | Images as Lists |
13 | No lab (Carnival) | Thu., Apr. 19 | |
14 | LAB 12 | Thu., Apr. 26 | Introduction to files |
15 | LAB EXAM #2 | Thu., May 3 |