Labs


Pre Lab

The pre lab is made available on Saturday night before each week's lab. Reviewing the pre lab is optional, but highly recommended. Understanding and being comfortable with the material in the pre lab will ensure that you get the most out of your time in the lab.

Updated December 3rd — Lab 13 is also on recursion, and uses the same pre lab as Lab 12, available here.


Lab Details

There will be 13 labs assigned over the course of the semester; your best 10 scores will be used to compute your lab average. All lab sessions are led by TAs. To receive credit for attending the lab and completing the lab assignment, your work must be verified by your TA.

You must attend your assigned lab section, and the lab assignment must be completed during the assigned lab time.
If missing a lab is absolutely unavoidable, consult the FAQ for instructions on what to do.

During the lab, your TA will explain the lab assignment, provide assistance as needed, and record your successful completion of the assignment.

Lab assignments are graded on a scale from 0 to 10 at the discretion of the TAs.

ScoreDescription
10Successfully completed the lab assignment
8Made a good attempt to complete the lab assignment
5Attended the lab, but made little or no effort to complete the assignment
0Did not attend the lab, or arrived more than 15 minutes late

If you made a good attempt to complete a lab assignment within the allotted time, but were unable to finish it, you may complete the assignment on your own and show it to your TA to have the grade changed from an 8 to a 9. This must be done within one week of the original lab date.

To request that a lab grade be changed from an 8 to a 9, you must show the completed assignment to your TA before your next lab session. For the final lab of the semester, you must show the completed lab to your TA no later than the last day of classes.


Lab Exercises

Lab Topic Week
Lab 01 Hello World! (online lab) Sep 2 - Sep 8, 2016
Lab 02 Basic Debugging Sep 12 - Sep 15, 2016
Lab 03 A Simple Program Sep 19 - Sep 22, 2016
Lab 04 Conditionals & Decisions Sep 26 - Sep 29, 2016
Lab 05 While Loops Oct 3 - Oct 6, 2016
Lab 06 For Loops Oct 10 - Oct 13, 2016
Lab 07 Lists (online lab) Oct 17 - Oct 20, 2016
Lab 08 Functions Oct 24 - Oct 27, 2016
Lab 09 Advanced Debugging Oct 31 - Nov 3, 2016
Lab 10 Strings and File I/O Nov 7 - Nov 10, 2016
Lab 11 Dictionaries Nov 14 - Nov 17, 2016
No Lab (Thanksgiving) Nov 21 - Nov 24, 2016
Lab 12 Recursion Nov 28 - Dec 1, 2016
Lab 13 More Recursion Dec 5 - Dec 8, 2016