2013 March 31,
CS 202-00, Carleton College, Winter 2013
Prof. Joshua R. Davis, , Goodsell 204, x4473
When you first study computer science, you focus on creating algorithms and getting the computer to execute them (CS 111). As you continue studying CS, you might practice creating algorithms more (CS 201), or you might delve into how the computer hardware executes those algorithms (CS 208). If you've worked hard, you emerge from this study with a deep understanding of how to solve problems through programming. That's great, but you probably still can't solve these common computing problems:
Good solutions to these problems require more than just algorithmic thinking and programming knowledge. They require math. In this course, we learn a variety of neat mathematical concepts and facts, that computer scientists use routinely. More importantly, we learn how to prove new facts, so that we are not merely users of math, but creators of math. That's a key step in becoming a computer scientist. The official prerequisites for this course are CS 111 and Math 111 (Calculus I), but you will find that this course is extremely different both of those courses.
Our class meets in CMC 319 during period 5A (MW 1:50-3:00, F 2:20-3:20). My office hours are MWF 6A and Thu 2:20-3:20. You can also schedule an appointment with me. The course materials are as follows.
Final grades (A, B, C, etc.) are assigned according to an approximate curving process. By this I mean that there are no predetermined percentages (90%, 80%, 70%, etc.) required for specific grades. The following elements contribute to the final grade.
You are expected to spend at least 10 hours per week on this course outside class. Some students need to spend more than 10 hours. If you find yourself spending more than, say, 15 hours, then talk to me.
You are encouraged to work with others on all assignments. Work together to figure out the proofs/problems/programs, but write/type them up separately, in your own words. You may not copy someone else's work or allow them to copy yours. Presenting someone else's work as your own is an act of Academic Dishonesty. If Carleton College finds you to not to have upheld its Academic Honesty standards in this course, then you will receive an F for this course.
Writing is not just for English and history majors. Written and oral communication skills are essential to every academic discipline, and are highly prized by employers. In this course, your written work is evaluated both for correctness and for presentation. I do not require you to learn the typesetting system LaTeX, but you may find that it speeds up your homework writing. Talk to me if you're interested.
How much work should you show? The answer is simple: Compose your solutions as if the intended audience is your fellow students. By doing so, you show enough detail that your grader can ascertain whether you yourself understand the material. Your solutions should also be self-explanatory. If a classmate were to read one of your solutions, then she or he should be able to understand what the problem was and how you solved it.
When handing in multiple pages of paper, staple them into a single packet, in the correct order. Packets that are not stapled are unacceptable. I will not accept packets that are not stapled. Is there a stapler in the classroom? Often not, so staple ahead of time. Is a paper clip okay? No.
Computer files should be submitted in plain text (.txt), PDF (.pdf), or Python (.py) formats only, unless otherwise specified. In particular, Microsoft Word documents are unacceptable. Fortunately, you can "print" any document to PDF easily.
Depending on time constraints in any given week, perhaps not all of your homework is graded; in order to ensure full credit, do all of the assigned problems.
During the term, you have one free pass to hand in an assignment late. Instead of handing in the assignment, send me e-mail, by the due date, declaring that you are using your late pass. You assignment is now due when the next assignment is due. When you submit your late work, mark it "Late Pass Used" prominently at the top. Once you have used your late pass, no late assignments are accepted, except in extreme circumstances that are truly beyond your control.
If some medical condition affects your participation in class or your taking of exams, let me know in the first week of class. You may need to make official arrangements with the Office of Disability Services.
Because of our textbook situation and my desire to customize our schedule to the students, this schedule has been filled in as we've gone along. Readings marked "DLN" are from David Liben-Nowell's book, while those marked "KHR" are from Kenneth H. Rosen's book.
|F 1/04||01||introduction||Assignment A||01|
|M 1/07||02||propositional logic||Assignment B||04||DLN 3.1-3.3|
|W 1/09||03||predicate logic||3.114, 3.126, 3.135, 3.156, 3.158, 3.190||07||DLN 3.4-3.7|
|F 1/11||04||proofs||4.199, 4.211, 4.213, 4.240, 4.241, 4.248||07||DLN 4.1-4.3|
|M 1/14||05||induction||Assignment E||07||DLN 5.1-5.2|
|W 1/16||06||in-class work||Assignment F: problems B, D, E only||10|
|F 1/18||07||structural induction||Assignment G||10||DLN 5.4|
|M 1/21||08||asymptotics||Quiz||09||DLN 6.1-6.3|
|W 1/23||09||algorithm analysis||Assignment H||12|
|F 1/25||10||recurrence relations||DLN 6.4|
|M 1/28||11||matrices, error correction||finish lab (A-N)||15||DLN 2.4.2||Matrices|
|W 1/30||12||error correction||DLN 4.7|
|F 2/01||13||EXAM A|
|M 2/04||MIDTERM BREAK|
|W 2/06||14||number theory||4.1: 4, 13ab, 30, 35, 37, 38, 41||18||KHR 4.1|
|F 2/08||15||number theory||4.2: 2c, 4c, 21a, 31, 33||18||KHR 4.2|
|M 2/11||16||number theory||Assignment L||18||KHR 4.3|
|W 2/13||17||number theory|
|F 2/15||18||RSA cryptosystem||Assignment M||21||KHR 4.6||from Ars Technica|
|M 2/18||19||combinatorics||Assignment N||21||DLN 9.1-9.2|
|W 2/20||20||combinatorics||Assignment O||24||DLN 9.3-9.4|
|F 2/22||21||probability||7.1: 18, 23, 24b, 37, 40||24||KHR 7.1|
|M 2/25||22||probability||7.2: 3, 5, 13, 16||24||KHR 7.2|
|W 2/27||23||Bayesian spam filtering||Assignment R||26||KHR 7.3|
|F 3/01||24||expected value, game theory||Assignment S||26||KHR 7.4|
|M 3/04||25||graphs||DLN 11.1-11.2|
|W 3/06||26||graphs||Assignment T||28||DLN 11.3|
|F 3/08||27||EXAM B|
|M 3/11||28||graphs||Assignment U||DLN 11.5||Path Finding|
|S 3/16||FINAL EXAM 8:30AM-11:00AM|