[UW Logo]

CS 245: Logic and Computation, Winter 2016

David R. Cheriton School of Computer Science

Contents: General Info, Time and Place, Personnel, Announcements, Course Work, Assignments, Resources, Lectures, Tutorials, University Policies


Piazza for announcements and questions.

Learn for marks and assignment solutions.

General Information

Time and Place


Tutorials: General Office Hours (changes for specific weeks will be posted on Piazza):


Instructor: Lila Kari , DC3132, x 33336, lila "at" uwaterloo.ca

Support Coordinator: Ahmed Hajyasien, ahajyasien

The Support Coordinator handles much of the administrative paperwork for all sections. See the Support Coordinator regarding

Do not submit requests for changes of section to the Support Coordinator (nor to an instructor). If Quest does not allow you to make a change yourself, contact a CS advisor.

Instructional Assistants: (lead tutorials and hold tutor office hours in the Consulting Centre)


Please see Piazza for questions and announcements.

Course Work


Midterm: The midterm will be Thursday, February 25, 4:30-6:20pm, Rooms DWE 1501/2527/3522/3522A. The midterm will cover all the material up to reading week. You will be given the handouts on propositional calculus laws (logical equivalences) and natural deduction.

Exam: Final exam TBA. The exam covers the whole course.


The work you hand in must be your own. Acknowledge any sources you have used. You may discuss the assignment questions verbally with others, but you should come away from these discussions with no written or electronic records. Write your solutions in your own words, from your own head.

Assignments are due Tuesdays, at 10:00 am, in the drop box near MC 4065. No late assignments are allowed, but note that you can skip one assignment without penalty since we only count the best 8 of 9.

Pick-up times for assignments will be announced on Piazza. Solutions will be posted on LEARN.

# Released Due
1 [pdf] Mon. Jan.11 Tue. Jan. 19, 10:00am
2 [pdf] Mon. Jan.18 Tue. Jan. 26, 10:00am
3 [pdf] Mon. Jan. 25 Tue. Feb.2 , 10:00am For Q2, use truth tables and DNFs to find the logical formula for each output
4 [pdf] Mon. Feb. 1 Tue. Feb.9, 10:00am


Books: Handouts:


Here is a list of the topics covered in each lecture, with the corresponding text book sections, and the lecture notes from class.

L01 Tu Jan  6 Notes Introduction. [H&R] 1.1 [Niss] Ch. 1 and 2.
L02 Th Jan  8 Notes, page 1-20 Truth tables, well-formed formulas. [H&R] 1.1 [Niss] 3.1 - 3.4
L03 Tu Jan  12 Notes, page 21-37 Propositional calculus, syntax
[H&R], 1.3, 1.4.2
     Notes, pages 1-11 Propositional calculus, semantics [H&R] 1.4.1
L04 Th Jan  14 Notes, pages 12-37 Proving argument validity [H&R] 1.5.1
     Notes, pages 1-17 Propositional calculus, laws, normal forms [H&R] 1.5.1, part of 1.5.2
L05 Tu Jan  19 Notes, pages 18-26 Disjunctive normal form, conjunctive normal form [H&R] 1.5.2
    Notes, pages 1-21 Adequate set of connectives
L06 Thu Jan  21 Notes, pages 22-56 Logic gates, circuits, analysis and simplificaton of code
L07 Tue Jan  26 Notes, pages 1-29 Formal (natural) deduction [H&R] 1.2 (with different notation)
L08 Thu Jan  28 Notes, pages 30-48 Formal (natural) deduction - soundness and completeness [H&R] 1.2 (with different notation)
L09 Tue Feb.  2 Notes, pages 49-54 Soundness and completeness [H&R] 1.2 (with different notation)
Notes, pages 1-31 Resolution for propositional calculus
L10 Thu Feb.  4 Notes, pages 32-37 Davis Putnam Procedure, DPP, Soundness and completeness
DPP Exercise


Here is some tutorial material (no guarantee this is precisely what's covered).

T01 Fri Jan  8 Notes
T02 Fri Jan  15 Notes
T03 Fri Jan  22 Notes
T04 Fri Jan  29 Notes
T05 Fri Feb.  5 Notes

University Policies (University required text)

This course adheres to the UW Senate's statement of academic integrity, specifically:

Academic Integrity

In order to maintain a culture of academic integrity, members of the University of Waterloo community are expected to promote honesty, trust, fairness, respect and responsibility. All members of the UW community are expected to hold to the highest standard of academic integrity in their studies, teaching, and research.

The Office of Academic Integrity's website contains detailed information on UW policy for students and faculty. This site explains why academic integrity is important and how students can avoid academic misconduct. It also identifies resources available on campus for students and faculty to help achieve academic integrity in—and out of—the classroom.


A student who believes that a decision affecting some aspect of his/her university life has been unfair or unreasonable may have grounds for initiating a grievance. Read Policy 70-Student Petitions and Grievances, Section 4.


A student is expected to know what constitutes academic integrity, to avoid committing academic offenses, and to take responsibility for his/her actions. A student who is unsure whether an action constitutes an offense, or who needs help in learning how to avoid offenses (e.g., plagiarism, cheating) or about rules for group work/collaboration should seek guidance from the course professor, academic advisor, or the Undergraduate Associate Dean. When misconduct has been found to have occurred, disciplinary penalties will be imposed under Policy 71—Student Discipline. For information on categories of offenses and types of penalties, students should refer to Policy 71—Student Discipline.

Avoiding Academic Offenses

For information on commonly misunderstood academic offenses and how to avoid them, students should refer to the Faculty of Mathematics Cheating and Student Academic Discipline Guidelines.


A student may appeal the finding and/or penalty in a decision made under Policy 70—Student Petitions and Grievances (other than regarding a petition) or Policy 71—Student Discipline if a ground for an appeal can be established. Read Policy 72—Student Appeals.

Note for students with disabilities

The Office for Persons with Disabilities (OPD), located in Needles Hall, Room 1132, collaborates with all academic departments to arrange appropriate accommodations for students with disabilities without compromising the academic integrity of the curriculum. If you require academic accommodations to lessen the impact of your disability, please register with the OPD at the beginning of each academic term.