






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Course Questions
(a) [1 point] How many homeworks are you allowed to drop?
(b) [1 point] What is the penalty for submitting late homework?
(c) [1 point] What percentage of your course grade is devoted to discussion section partic- ipation?
(d) [2 points] Circle the sources of information that you are not allowed to use while working on CS173 homework. i. The CS173 website. ii. Discussions with your friend Sarah who took CS173 last semester. iii. A textbook (other than the course text by Ensley and Crawley). iv. A brainstorming session with Josh, who is also taking CS173. v. A draft of the homework solutions that Josh produced after the brainstorming ses- sion. vi. Your section leader. vii. Wikipedia (a freely available online encyclopedia).
Which of the following is equivalent to the statement “In every class Albert takes, some student that has not showered and is stinky sits next to Albert.”
(a) ∃y ∈ B, ∀x ∈ A, R(x, y) ∨ P (x) (b) ∃y ∈ B, ∀x ∈ A, R(y, x) ∨ P (x) (c) ∀y ∈ B, ∃x ∈ A, if R(x, y) then ¬Q(x) (d) ∃y ∈ B, ∀x ∈ A, R(x, y) ∨ P (x) ∨ ¬Q(x)
(e) ∃y ∈ B, ∀x ∈ A, R(y, x) ∨ P (x) ∨ ¬Q(x) (f) ∀y ∈ B, ∃x ∈ A, R(y, x) ∧ P (x) ∧ ¬Q(x) (g) ∀y ∈ B, ∃x ∈ A, R(x, y) ∧ P (x) ∧ ¬Q(x) (h) None of the above.
(a) (4, { 1 , π}) (b) (∅, 2 , π) (c) ({ 4 , 5 }, 2 , e) (d) ({ 4 }, 3 , π) (e) None of the above.
(a) All honest politicians are people. (b) Some dishonest person is not a politi- cian. (c) Some honest person is not a politician. (d) Every politician is honest.
(e) No politician is honest. (f) There is an honest politician. (g) There is a dishonest politician. (h) None of the above.
Short Answer
Write your solutions in the space provided.
(a) Every proof by induction is an argument that there can be no (2 words). (b) A proof by induction consists of three parts: the introduction (e.g. “The proof is by induction on n.”), the (2 words), and the (2 words). (c) The (2 words) allows us to assume that theorem holds for all smaller inputs than the one we are presently considering.
(a) B ∩ C
(b) C − A
(c) (B ∩ D) × (A ∩ C ∩ D)
(d) P(D ∩ C ∩ A) ∪ P((D ∩ C) − A)
Long Answer (15 points each)
Write your solutions in the space provided. (If you run out of room, you may continue your answer on another page, but please tell us where to look!)
∑^ n
k=
2 k^ = 2n+1^ − 1.
(scratch paper)