Sie sind auf Seite 1von 2

Assignment #1

Answer the following.

1. Provide 1 tautology and 1 contradiction expression with their respective proof.

1. For each of these pairs of sets, determine whether (A) the first is a subset of the second, (B)
the second is a subset of the first, or (3) neither is a subset of the other. Write only the letter
of the correct answer.

1.1 the set of airline flights from New York to New Delhi, the set of nonstop airline flights
from New York to New Delhi
1.2 the set of people who speak English, the set of people who speak Chinese
1.3 the set of flying squirrels, the set of living creatures that can fly
1.4 the set of people who speak English, the set of people who speak English with an
Australian accent
1.5the set of fruits, the set of citrus fruits
1.6 the set of students studying discrete mathematics, the set of students studying
data structures

2. Determine whether each of these statements is TRUE or FALSE


2.1 0
2.2 {0}
2.3 {0}
2.4 {0}
2.5 {0} {0}
2.6 {0} {0}
2.7 {} {}

3. What is the cardinality of each of these sets?

a.
b. {}
c. {, {}}
d. {, {}, {, {}}}

4. Translate the given English statements into a logical expression using the logical connectives.

a. You can access the Internet from campus only if you are a computer science major or you
are not a freshman.
b. You are eligible to be President of the U.S.A. only if you are at least 35 years old, were
born in the U.S.A, or at the time of your birth both of your parents were citizens, and you
have lived at least 14 years in the country.
c. You can graduate only if you have completed the requirements of your major and you do
not owe money to the university and you do not have an overdue library book.

5. Is (pr) q (r q) p? Justify your answer.

6. Are the given expressions logically equivalent? Provide the proof. r <-> ~ q -> p ~r
-> ~ q v p

7. Let A = {x: x is a negative integer less than 120} and its given subsets
A0 = {x: x is a negative integer and 151 > x }
A1 = {x: x is a negative integer and x = x + 9}
A2 = {x: x is a negative even integer less than 120}
A3 = {x: x is a negative even integer and 120 > x }
A4 = {x: x is a negative even integer and 120 x 120}
A5 = {x: x is a negative integer and 120 > x }
A6 = {x: x is a negative integer and 120 > x 151}
A7 = {x: x is a negative odd integer and 120 > x }
A8 = {x: x is a negative integer and 151 x }

Find the partition sets of A.

8. Among a group of 165 students, 8 are taking SAD, Data Structures, and OOP; 33 are taking
SAD and Data Structures; 20 are taking SAD and OOP; 24 are taking Data Structures and
OOP; 79 are taking SAD; 83 are taking Data Structures; and 63 are taking OOP. How many
students did not take any of the subjects mentioned? Show your solution (use VENN
diagram).

9. PMI. Prove that the statement is true using PMI. 2 + 2 2 + 23 + . + 2n = 2n+1 2


10.Let A be the set of integers having n number of elements where n is the value obtained
from item #4. How many are the subsets of A ?

11.Radix conversion. (3 points each)


a. 288 = ______ 2
b. 23.A16 = _______ 8
c. 18.2510 = ____ 2
d. 7.18 = ______10

Das könnte Ihnen auch gefallen