25-26-2-离散数学(上)-期末
目录
1. (12 points)
(1)
Let be the proposition “I will do every exercise in this book” and be the proposition “I will get an A in this course.” Express each of these as a combination of and .
-
I will get an A in this course only if I do every exercise in this book.
-
For me to get an A in this course it is necessary and sufficient that I do every exercise in this book.
-
Either I will not get an A in this course or I will not do every exercise in this book.
(2)
Express each of these mathematical statements using predicates, quantifiers, logical connectives, and mathematical operators.
-
The sum of two negative integer is negative.
-
For any integer n>0, there exists a sequence of n consecutive composite integers.
-
Every positive real number has exactly two square roots.
2. (8 points)
-
How many different truth tables of compound propositions are there that involve the propositional variables p, q and r?
-
Find a compound proposition involving the propositional variables p, q and r that is true when exactly two of p, q, and r are true and is false otherwise.
-
Finally, give the principal disjunctive normal form and the principal conjunctive normal form of this compound proposition.
3. (10 points)
Show that the premises “Some employees do not have a valid ID card” and “Every employee can access the server”, imply the conclusion “Someone who can access the server does not have a valid ID card.”
4. (6 points)
Prove that given a nonnegative integer n, there is a unique nonnegative integer m such that .
5. (4 points)
A, B and C are sets. Determine whether each of these properties is correct. [Fill in with ‘true’ or ‘false’].
-
【暂无答案】
-
【暂无答案】
-
【暂无答案】
-
【暂无答案】
6. (4 points)
Determine the types of these functions. [Fill in with ‘injection’, ‘surjection’, ‘bijection’ or ‘other’]
-
where 【暂无答案】
-
【暂无答案】
-
【暂无答案】
-
【暂无答案】
7. (4 points)
Determine whether these sets are finite, countably infinite or uncountable. [Fill in with ‘finite’, ‘countably infinite’ or ‘uncountable’].
-
all rational numbers 【暂无答案】
-
all real numbers between 0 and 1 【暂无答案】
-
【暂无答案】
-
all finite strings of characters from the English alphabet 【暂无答案】
8. (6 points)
Fill in the blank.
-
Let sets , then 【暂无答案】
-
Suppose that and , where 【暂无答案】
-
Let 0-1 Matrix 【暂无答案】
9. (8 points)
Show that if is and is , then is , where for all .
10. (8 points)
Use the construction in the proof of the Chinese remainder theorem to find all solutions to the system of congruences .
11. (8 points)
Use Fermat’s little theorem to evaluate .
12. (6 points)
Use mathematical induction to prove that 43 divides for every positive integer .
13. (8 points)
There are 42 students in a seminar, and each student can choose one or more courses from three elective subjects: Computer Science, Mathematics, Physics. Prove that at least three students have exactly the same combination of elective courses.
14. (8 points)
A fruit shop provides 3 kinds of fruits: apples, bananas, oranges. Fruits of the same type are identical. How many distinct ways to select 9 fruits if we need at least 2 bananas?