Class 18: Review for Exam 2
Exam 2 Practice Problems
Exam 2 Preparation
Practice Problems for Exam 2
By popular request, here are some practice problems for preparing to Exam 2: [PDF]
We won’t be providing written solutions to these problems, but are happy to answer questions about them (including during office hours). If you would like any particular problems to be included in the review class (Monday), let us know.
PS4 Grades Posted
The grades for PS4 are now posted in Assignments on Collab. You will find your grades, comments, and an attached pdf of solutions with PS2 assignment Our grading policy for PS4 was the same as for PS1, PS2, and PS3, but we reserve the right to change this policy for future assignments. To calculate your grade we first computed the following: five_count = the count of problems for which you earned a 5 or above sum = the sum of the scores earned on all problems non_star_count = the number of non-starred problems in the assignent score_by_fives = five_count / non_star_count score_by_average = sum / non_star_count That policy was:Preparing for Exam 2
Exam 2 will be Wednesday, 6 November at the normal class time in the normal classroom. We will aim to start the exam right at 3:30pm, so you will benefit from arriving early for class Wednesday to be settled and ready to start the exam. Exam 2 will cover material from Classes 1-16 (through 28 October) (so the new material introduced on Rice’s Theorem in Class 17 is not covered in this exam), Problem Sets 1-6 (comments for PS4 and PS5 are now available in collab, sorry it has taken so long to get the grading done for these, but you can see our solutions and comments in collab now; we will post comments for Problem Set 6 on Sunday afternoon), and the textbook chapters 0-6 and parts of 8 (8.Class 17: Rice's Theorem
TCS Chapter 8: Universaility and Uncomputability
Class 16: Reductions
TCS Chapter 8: Universaility and Uncomputability
Problem Set 6
Problem Set 6: Dodge Duck Dip Dive Decide
Problem Set 6 is available here: ps6.pdf (you will also need the ps6.zip file). It is due on Friday, 1 November at 4:19pm.
These is no Jupyter part for PS6, so your submission can be just one ps6.pdf
file.
This assignment covers Turing Machines from Chapter 6, and undecidability (including the halting problem, reductions, and Rice’s theorem) from Chapter 8.