CS/MATH 111, "Discrete Structures" Fall 2017 |
Schedule |
Syllabus |
Textbook: E. Lehman, T. Leighton and A. Meyer Mathematics for Computer Science.
Prerequisites: CS10, CS/MATH11, MATH 9C (or equivalents). The prerequisites are strictly enforced.
Prerequisites by topic: basic programming, logic (propositional, predicate), sets, operations on sets, sequences, relations (equivalence, partial orderings), functions, combinations, basic counting methods, elementary linear algebra (matrices, determinants), proof methods (induction, contradiction), elementary number theory.
Topics Covered:
Homework Assignments: Five homework assignments. To submit an assignment you will need to upload the pdf file into ilearn and turn-in a paper copy in class.
Homework assignments can be done individually or in groups of two (strongly recommended). Each homework will have three problems. An individual assignment consists of the first two problems. A group assignment consists of all three. Each group submits one paper with two names on it and both students will receive the same credit (unless requested otherwise).
Homework papers must be prepared with LaTeX. Handwritten assignments or assignments in Word or other word processors will not be accepted. LaTeX templates for homework assignments and other help with LaTeX will be available.
Homework papers must be well written, in grammatical English, self-contained, and aesthetically formatted. During the first week of the quarter you are required to read the homework assignment guidelines, and follow these guidelines throughout the quarter. Sloppy papers will not be graded.
Quizzes: Four 30-minute quizzes. The first "entrance" quiz will cover the prerequisite topics.
Final: Saturday, December 9, 2017, 7:00PM-10:00PM.
Attendance: Regular attendance at lectures and discussions is strongly advised. Some of the presented material may not be covered in the book or in posted lecture notes. Students are also strongly encouraged to take advantage of the office hours. In case of a conflict with regular walk-in office hours, special appointments can be arranged. Students that are at risk of failing the class may be required to attend office hours.
Grading: Quizzes 40%, Final 40%, Homeworks 20%. Course grades are expected to be determined as follows: A = 90-100%, B = 80-89%, C = 70-79%, D = 60-69%. Minor adjustments of this scale can be made at the end of the quarter.
Academic Integrity: Zero-tolerance policy on plagiarism is enforced. Cheating on homework assignments or tests will result in an F grade for the course and a disciplinary action, independently of the extent of plagiarism. You are required to print, read, and sign the academic integrity statement, and turn it in no later than Thursday, October 5 (before the quiz). Without the signed statement, your Quiz 1 will not be considered complete.
Lectures |
Week 0 |
Tuesday, September 26
No Class |
Thursday, September 28
THINGS TO DO during the first week Review: logic, sets, functions, relations, basic summation formulas, important numbers, sequences Reading: Chapters 1 - 5, Sections 9.1 - 9.4, 14.1, 14.2. Recommended exercises: 1.2, 1.5, 1.7, 3.2, 3.8, 3.21, 3.24 |
Week 1 |
Tuesday, October 3
Review (cont.): approximations, number theory basics, proofs, proofs by induction Reading: Chapters 1 - 5, Sections 9.1 - 9.4, 14.1, 14.2. Recommended exercises: 4.1, 4.7, 5.2 - 5.7, 14.2, 14.4, 14.12, 14.15 |
Thursday, October 5
Quiz 1 (30 minutes) Asymptotic notation Reading: Section 14.7 Recommended exercises: 5.2 - 5.7, 14.12, 14.26 |
Week 2 |
Tuesday, October 10
Number theory and cryptography Reading: Chapter 14 Recommended exercises: class problems Review: Gcd, Euclid's algorithm Gcd, Euclid's algorithm, |
Thursday, October 12
Homework 1 is due at 8AM. Number theory and cryptography Gcd, Euclid's algorithm, computing inverses mod p Fermat's theorems Computing powers modulo an integer Reading: Chapter 9 Recommended exercises: 9.2, 9.3, 9.4, 9.10, 9.17, 9.23, 9.24 |
Week 3 |
Tuesday, October 17
Turing's code The RSA cryptosystem Reading: Chapter 9 Recommended exercises: 9.28, 9.31, 9.36, 9.37, 9.50, 9.58, 9.70, 9.79, 9.83 |
Thursday, October 19
Quiz 2 (30 minutes) RSA: correctness, security, efficiency Famous open (and solved) problems in number theory Reading: Chapter 9 Recommended exercises: |
Week 4 |
Tuesday, October 24
Linear recurrence equations (homogeneous) Reading: Chapter 22 Recommended exercises: |
Thursday, October 26
Homework 2 is due at 8AM. Linear recurrence equations (cont.) Reading: Chapter 22 Recommended exercises: |
Week 5 |
Tuesday, October 31
Linear recurrence equations (non-homogeneous) Divide-and-conquer recurrences Reading: Chapter 22 Recommended exercises: |
Thursday, November 2
Divide-and-conquer recurrences (cont.) Inclusion-Exclusion Integer partitions Reading: Chapter 22 Recommended exercises: |
Week 6 |
Tuesday, November 7
Homework 3 is due at 8AM. Inclusion-Exclusion Integer partitions Reading: Chapter 15. |
Thursday, November 9
Quiz 3 (30 minutes). The quiz starts at the beginning of class! Graphs Euler tours Reading: Chapter 12. |
Week 7 |
Tuesday, November 14
Hamiltonian cycles, Dirac's theorem, Ore's theorem Reading: Chapter 12. |
Thursday, November 16
Homework 4 is due at 8AM. Graph coloring, coloring graphs with maximum degree D Reading: Chapter 12. |
Week 8 |
Tuesday, November 21
Quiz 4 (30 minutes) Bipartite graphs: matchings, Hall's Theorem. Reading: Chapter 12. |
Thursday, November 23
Thanksgiving Break |
Week 9 |
Tuesday, November 28
Trees Planar graphs: Kuratowski's theorem. Reading: Chapter 13. |
Thursday, November 30
Euler's formula/inequality for planar graphs. The 4-Color Theorem. Coloring planar graphs with 6 and 5 colors. Reading: Chapter 13. Recommended exercises: |
Week 10 |
Tuesday, December 5
Homework 5 is due at 8AM. Adjacency matrices and matrix multiplication Trees. Binary trees. Applications (lower bound for comparison sorting). Reading: Section 10.3 Recommended exercises: |
Thursday, December 7
Review |
Homework Assignments |
LaTeX and Homework help.
Quizzes |
Final |
Other Books |
Useful Links |