Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS 381 Final Exam - December, 2004 - Prof. Shunichi Toida, Exams of Discrete Structures and Graph Theory

The final exam for cs 381 course in december 2004. The exam covers various topics in discrete mathematics and logic, including set theory, predicate logic, and graph theory. It includes multiple-choice questions, proof-based questions, and translation exercises.

Typology: Exams

Pre 2010

Uploaded on 02/12/2009

koofers-user-swf-1
koofers-user-swf-1 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 381 Final Exam
December, 2004
1. Find the contrapositive of each of the following statements in English: [9]
(a) Every picture is faded if it is old.
(b) Errors will be introduced only if the program is modified.
(c) Sufficient water is necessary for healthy plants.
2. Negate the following statements in English. Give a form other than simply
putting ”not” or ”it is not the case that” in front: [9]
(a) Every picture is either old or faded.
(b) Every picture is faded if it is old.
(c) Some farmer grows only corn.
3. If |A|and |B|for sets A and B, what are the value of the following
quantities ? [12]
(a) |A×B|
(b) |A2|
(c) Max |AB|
(d) Min |AB|
pf3
pf4

Partial preview of the text

Download CS 381 Final Exam - December, 2004 - Prof. Shunichi Toida and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

CS 381 Final Exam

December, 2004

  1. Find the contrapositive of each of the following statements in English: [9] (a) Every picture is faded if it is old.

(b) Errors will be introduced only if the program is modified.

(c) Sufficient water is necessary for healthy plants.

  1. Negate the following statements in English. Give a form other than simply putting ”not” or ”it is not the case that” in front: [9] (a) Every picture is either old or faded.

(b) Every picture is faded if it is old.

(c) Some farmer grows only corn.

  1. If | A | and | B | for sets A and B, what are the value of the following quantities? [12] (a) | A × B | (b) | A^2 | (c) Max | A ∩ B | (d) Min | A ∪ B |
  1. Translate the following sentences into wffs of predicate logic using the given predicates. The universe is the set of people.[9] J(x): x is a judge. L(x): x is a lawyer. W (x): x is a woman. A(x, y): x admires y.

(a) All judges admire only judges.

(b) All woman lawyers admire some judge.

(c) Some woman admires no lawyer.

  1. Prove that if A ∪ B = A − B, then B = ∅. [10]
  1. Prove or disprove that R^2 is transitive if R is transitive. [10]
  2. Given the partition { 1 , 2 , 3 } and { 4 , 5 }of the set { 1 , 2 , 3 , 4 , 5 }, answer the following questions: [6] (a) List the ordered pairs in the equivalence relation defined by the partition.

(b) Find [1].

  1. For the poset { 1 , 2 , 3 , 5 , 6 , 12 } with the relation x divides y, answer the following questions: [15] (a) Draw the Hasse diagram

(b) Find maximal elements. (c) Find the maximum element. (d) Find minimal elements. (e) Find the minimum element.