| Professor: | Belinda Thom ("B" for short) |
|
|
| E-mail: | Belinda_Thom@hmc.edu | ||
| Office: | Olin 1241 | ||
| Phone: | 607-9662 | ||
| My Office Hours: (1241 Olin) | M 10:15-11:15 PM Tu 4:30-6 PM W 4:30-6 PM Th (no colloq) 4:30-6 PM Th (colloq) 8-9 PM F 4-5 PM | ||
| Graders: | Mark Nelson James Darpinian Victoria Krafft Brian Merdian |
| |
| Grader Office Hours: | Sun 9-10 PM (LAC: Baker Room) W 7:30-9 PM (M. Nelson's suite) | ||
| Course Home-page: | www.cs.hmc.edu/courses/2003/fall/cs140 | ||
| Course Mail Lists: | cs-140-l@hmc.edu, math-168-l@hmc.edu. Note: to use this list, you must use your subscriber email address. |
Within the A to D range, my grading scheme will be relatively linear. However, if your lack-of-participation lies above the following thresholds, you risk not passing this class:
The thresholds given above are with respect to passing the class. The best way to improve your grade beyond this minimal level is to aggressively maximize your performance on homeworks. I am very happy to guide you as you work through your solutions, and this is a great reason to come to my Office Hours! In the past, students who have done well have often used this strategy. Another great way to improve your grade is to do extra credit (EC) problems. Note that EC grading will be especially strict. Again, using office hours to maximize the return you get on this effort is a great idea. Another way to get EC credit is to put in a reasonable amount of effort into every homework (i.e. don't miss any), in which case I will drop your two lowest grades when calculating your homework average.
There should be no collaboration on any exam. All parties, including off-campus students, are expected to follow the Harvey Mudd Honor code.
There is another section of this class being taught at Pomona college. We will be running separate classes; for this class, use my office hours.
Homework (HW) Notes: As they become available, assignments are posted here. The "H" part of a homework link provides a postscript file, and the "W" part of the link provides a tex file, which will make it easier for you to Latex your solutions. I encourage you to use Latex to writeup solutions -- although you are by no means required to do so -- because it is a very valuable skill. Should you initially need help in this endeavor, contact one of the graders or myself for assistance. You can compile Latex code on turing.
Topics that are itemized after a "HW" number that are displayed in bold italics correspond to tasks that
require you to write code. For these parts of HWs, your grade will be almost entirely based
upon turning in working code. Be sure to plan ahead in these cases; debugging effort can be hard to predict
in advance.
| Week | Lec | Tuesday | Homework | Lec | Thursday | Homework | |
|---|---|---|---|---|---|---|---|
| 9/1 | 1 | Introduction | HW 1a: Logs, Induction, Extra Credit (EC) | 2 | Asymptotic Notation | HW 1b: Growth, Rank, Stock Market, (EC) | |
| 9/8 | 3 | Recurrence Relations: Sorting | HW 2a: Divide-n-conquer! (EC) | 4 | More Sorting Analysis, Lower Bounds | HW 2b: Heaps, Various Sort Analyses, Lower Bounds | |
| 9/15 | 5 | Linear Sort, Order Stats | HW 3a: Variable Length Sort, Oil of Olay | 7 | Dynamic Prog. (DP) | HW 3b: Monotonic Subseq, Skiing, (EC) | |
| 9/22 | 7 | More on DP | HW 4a: Load Balance | 8 | Greed | HW 4b: DP_change, LCS, Greed (EC) | |
| 9/29 | 9 | DP and Greed | HW 5a: Party Fun! | 10 | Amortization Abstract Data Types (ADTs) |
HW 5b: Counters, Arrays, Stacks, Trees | |
| 10/6 | 11 | More ADTs: Balanced Trees | Study for MT | 12 | Midterm Review | MT #1 | |
| 10/13 | 13 | More Balanced Trees, Graph Data Structures | HW 7a: Amortized Heap, Review | 14 | Graph Algs: BFS, DFS, TopSort | HW 7b: Cycle Detection, Diams | |
| 10/20 | no class: fall recess | 15 | More Graph Algs: Shortest Paths, Floyd-Warshall and Bellman-Ford | HW 8b: FW, Neg. Cost Cycle Detection, Network Reliabilty | |||
| 10/27 | 16 | More Graph Algs: Dijkstra | HW 9a: Prove Dijk. | 17 | Johnson | HW 9b: Get-rich, On-board Navig., Johnson | |
| 11/3 | 18 | MST: Prim | HW 10a: MST: Divide-n-Conquer | 19 | MST: Kruskall, Union-Find | HW 10b: Integer Weights, Baruvka | |
| 11/10 | 20 | NW-Flow | HW 11a: Network Flow Proofs | 21 | More NW-Flow | HW 11b: Greed is Good, Unicycle Games, NASA | |
| 11/17 | 22 | Linear Programming | MT 2 Review Guide | Review | MT #2 | ||
| 11/24 | 23 | NP-Completeness (NPC) | none | n/a | no class: Thanksgiving | ||
| 12/1 | 24 | More NPC | HW 12a: Hit Set, Complexity Games | 25 | And more NPC | HW 12b: Kernel, ILP, Spam, 2-SAT | |
| 12/8 | 26 | Approximation Algs. | HW 13a: Network Reliability | 27 | More on Approximation Algs | None | |
| 12/16 | no class: finals week Final Study Guide | ||||||