100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
Previously searched by you
CS/MATH 1019 Discrete Math for Computer Science MATH 1019 Winter 2024 First Midterm Exam Questions with Verified Solutions | 100% Pass | Graded A+ |£11.91
Add to cart
York University
CS/MATH 1019 Discrete Math for Computer Science
CS/MATH 1019 Exam
Course Title and Number: CS/MATH 1019 Discrete Math for CS
Exam Date: Midterm and Final Exam 2024- 2025
Instructor: [Insert Instructor’s Name]
Student Name: [Insert Student’s Name]
Student ID: [Insert Student ID]
Examination
180 minutes
Instructions:
1. Read each question carefully.
2. Answer all questions.
3. Use the provided answer sheet to mark your responses.
4. Ensure all answers are final before submitting the exam.
5. Please answer each question below and click Submit when you have
completed the Exam.
6. This test has a time limit, The test will save and submit automatically
when the time expires
7. This is Exam which will assess your knowledge on the course Learning
Resources.
Good Luck!
Downloaded by Jack mah
(mungaidavid2000@gmail.com)
, lOMoARcPSD|46692070
CS/MATH 1019 Discrete Math for Computer
Science
MATH 1019 Winter 2024 First Midterm Exam
Questions with Verified Solutions | 100% Pass |
Graded A+ |
York University
Math 1019 Winter 2022
First Midterm Exam Solutions
Question 1. (12 points) Decide whether the proposition (¬q ' r) x (q x (r ( F)) is satisfiable.
Prove your answer. Hint: You don’t have to write the entire truth table.
Solution. If q is true and r is false then ¬q ' r is false and q x (r ( F) is also false,
therefore (¬q ' r) x (q x (r ( F)) is true. Therefore (¬q ' r) x (q x (r ( F)) is
satisfiable.
□
2
Question 2. (8+8=16 points)
(a) Use a sequence of logical equivalences to show that (p ' T) → (q ( r) is logically
equivalent to (¬q ' ¬r) → ¬p. (Do not use truth tables.)
(b) Prove that ∀x(P (x) ( Q(x)) is NOT logically equivalent to ∀xP (x) ( ∀xQ(x).
Solution. (a) (Using truth tables is a wrong solution.)
(p ' T) → (q ( r) ≡ p → (q ( r) logical equiv. p ' T ≡ p
≡ ¬(q ( r) → ¬p logical equiv. p → q ≡ ¬q → ¬p
≡ (¬q ' ¬r) → ¬p de Morgan law
(b) We need to find a domain and interpretations of P (x) and Q(x) such that the given proposi-
tions have different truth values. For example, let the domain be the set of integers, P (x) is the state-
ment “x is an even integer” and Q(x) is the statement “x is an odd integer”. Then ∀x(P (x) (
Q(x)) states that “every integer is even or odd” which is true. However, ∀xP (x) ( ∀xQ(x)
states that “every integer is even or every integer is odd” which is clearly false. Therefore
∀x(P (x) ( Q(x)) is not logically equivalent to ∀xP (x) ( ∀xQ(x).
□
Downloaded by Jack mah
(mungaidavid2000@gmail.com)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller YourAssignmentHandlers. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £11.91. You're not tied to anything after your purchase.