COS3761 Assignment 2 2023 (ANSWERS)
ASSIGNMENT 2
Please note that this is a written assignment. You need to prepare and submit a document in Word or PDF
format.
Predicates
D(x) x is a degree
M(x, y) x is a major subject of y
L(x, y) x loves y
H(x, y) x hates y
T(x, y) x takes y
Consta...
Translation: There exists a degree x such that x is a major subject of Information Systems.
Question 1.2:
∀x (L(x, c) → T(x, c) ∧ M(c, x))
Translation: For all x, if x loves Computer Science, then x takes it as a major subject of a
degree.
Question 1.3:
∀x (L(x, c) → ¬H(x, i))
Translation: For all x, if x loves Computer Science, then x does not necessarily hate
Information Systems.
Question 1.4:
∃x (T(x, i) ⊕ T(x, c))
Translation: There exists an x such that either x takes Information Systems or x takes
Computer Science, but not both.
(Note: The symbol "⊕" represents exclusive OR, which means one of the statements is
true, but not both.)
Question 1.5:
∃x ∃y (T(x, y) ∧ H(x, y))
Translation: There exist x and y such that x takes y as a subject and x hates y.
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 or Stuvia-credit 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 itsbesttutors. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $2.85. You're not tied to anything after your purchase.