Assignment 2
Assignment 2
(Karachi Campus)
Department of Computer Engineering
ASSIGNMENT#02 – Fall 2019
a. Use rules of inference to show that the hypotheses “If interest rates drop, the housing
market will improve,” “Either the discount rate will drop or the housing market will not
improve,” and “Interest rates will drop” imply the conclusion “The discount rate will drop.”
i. Ahmed, a student in this class, knows how to write programs in JAVA. Everyone
who knows how to write programs in JAVA can get a high-paying job. Therefore,
someone in this class can get a high-paying job.
ii. If it snows today, the university will close. The university is not closed today.
Therefore, it did not snow today.
c. For each of these collections of premises, what relevant conclusion or conclusions can be
drawn? Explain the rules of inference used to obtain each conclusion from the premises.
i. “Every student has an Internet account.” “Hamid does not have an Internet
account.” “Madiha has an Internet account.”
ii. “If I eat spicy foods, then I get unwell.” “I get unwell if the food is stale.” “I did
not get unwell.”
**********************************