CS/MATH 111, "Discrete Structures" Spring 2019 |
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 Gradescope.
Homework assignments can be done individually or in groups of two (strongly recommended). Each group submits the assignment (in pdf) on Gradescope (one per group) and iLearn (individually). Both students will receive the same credit (unless requested otherwise). If a student fails to submit the assignment on iLearn and/or Gradescope, he/she receives a "0".
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: Monday, June 10, 07:00PM-9:30PM, Materials Sci and Engineering 104. The final is comprehensive.
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%, Attendance 2%. 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 by the end of Week 1. Without the signed statement, your Quiz 1 will not be considered complete.
Lectures |
Week 1 |
Monday, April 1
Wednesday, April 3 Friday, April 5 THINGS TO DO during the first week |
Review:
logic, sets, functions, relations,
basic summation formulas, important numbers, sequences, approximations, number theory basics, proofs, proofs by induction
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, 4.1, 4.7, 5.2 - 5.7, 14.2, 14.4, 14.12, 14.15 Asymptotic notation Reading: Section 14.7 Recommended exercises: 5.2 - 5.7, 14.12, 14.26 |
Week 2 |
Monday, April 8 , Quiz 1 (30 minutes)
Wednesday, April 10 Friday, April 12 |
Number theory and cryptography
Reading: Chapter 14 Recommended exercises: class problems Review: 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 |
Monday, April 15
Wednesday, April 17 Homework 1 is due April 17. Friday, April 19 |
Turing's code
The RSA cryptosystem RSA: correctness, security, efficiency Famous open (and solved) problems in number theory Reading: Chapter 9 Recommended exercises: 9.28, 9.31, 9.36, 9.37, 9.50, 9.58, 9.70, 9.79, 9.83 |
Week 4 |
Monday, April 22,
Wednesday, April 24, Quiz 2 (30 minutes) Friday, April 26 |
Linear recurrence equations (homogeneous)
Linear recurrence equations (non-homogeneous) Reading: Chapter 22 |
Week 5 |
Monday, April 29
Wednesday, May 1 Friday, May 3 Homework 2 is due May 4 (11:59am). |
Linear recurrence equations (non-homogeneous)
Divide-and-conquer recurrences Inclusion-Exclusion Integer partitions Reading: Chapter 22 |
Week 6 |
Monday, May 6
Wednesday, May 8 Friday, May 10 Quiz 3 (30 minutes) |
Graphs
Euler tours Reading: Chapter 12. |
Week 7 |
Monday, May 13
Wednesday, May 15 Homework 3 is due May 15. Friday, May 17 |
Hamiltonian cycles,
Dirac's theorem, Ore's theorem
Graph coloring, coloring graphs with maximum degree D Reading: Chapter 12. |
Week 8 |
Monday, May 20
Wednesday, May 22 Friday, May 24 Homework 4 is due May 25. |
Bipartite graphs: matchings, Hall's Theorem.
Trees Planar graphs Reading: Chapter 12. |
Week 9 |
Monday, May 27 Memorial Day -- no class.
Wednesday, May 29 Quiz 4 (30 minutes) Friday, May 31 |
Planar graphs: Kuratowski's theorem.
Euler's formula/inequality for planar graphs. The 4-Color Theorem. Coloring planar graphs with 6 and 5 colors. Reading: Chapter 13. |
Week 10 |
Monday, June 3
Wednesday, June 5 Extra credit quiz (15 minutes). Homework 5 is due June 5 (no extension). Friday, June 7 |
Adjacency matrices and matrix multiplication
Trees. Binary trees. Applications (lower bound for comparison sorting). Reading: Section 10.3 Review |
Homework Assignments |
LaTeX and Homework help.
Quizzes |
Final |
Other Books |
Useful Links |