



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A practice midterm for a discrete mathematics course, covering topics such as set operations, logical identities, rules of inference, and multiple-choice questions on sets, functions, and number systems. It includes problems on set theory, propositional logic, and basic number theory, providing a comprehensive review of the course material. The practice exam is designed to help students prepare for the actual midterm by testing their understanding of key concepts and problem-solving skills. It also includes questions on functions, summations, and complexity analysis, offering a broad assessment of the student's knowledge in discrete mathematics. Useful for students to test their knowledge and improve their problem-solving abilities.
Typology: Exercises
1 / 7
This page cannot be seen from the preview
Don't miss anything!




First Name Family Name
Student Signature Student Number
Name of your TA Zahra H.
Question Points Score
1 0
2 0
3 0
4 0
Total: 0
(b) Let f : A → B, and let S and T be subsets of A. Show that f (S ∪ T) = f (S) ∪ f (T).
(b) The following argument is valid. True or False?
((p → q) ∧ ¬p) → ¬q.
(a) Consider the set {x ∈ R |x^2 + 2 x ≤ 3 }, find the values of x that satisfy the inequality x^2 + 2 x ≤ 3. A. [−3, 1] B. [−1, 4] C. {−1, 0, 2, 3, 4} D. {−3, −2, −1, 0, 1} (b) Let N and Z be set of natural numbers and integers respectively. Find Z \ Z −. A. Z + B. R C. Q D. N
(c) Consider the inveritble function, g : A → B, and an identity function, iA : A → A, such that iA(x) = x, ∀x ∈ A. Find the composition g ◦ g−^1. A. iA : A → A B. gA : A → A C. gB : B → A D. iB : B → B
(d) Let S = {−1, 0, 2, 5, 6} and f (x) = ⌊x/5⌋. Find f (S). A. { 0 } B. {0, 1, 2} C. {−1, 0, 1} D. { 1 }
(e) Find
p∈S
( 2 p + 1 ),
where S = {p ∈ R |p is odd and p ≤ 10 }. A. 38 B. 13, 923 C. 210 D. 55
(f) What is the complexity of the matrix-vector product of a n × n matrix and a n × 1 vector? A. n^2 B. n C. n^3 D. n!
This page has been left blank on purpose. You may use it for rough work only. Nothing written here will be graded. DO NOT DETACH THIS PAGE!