Practice Assignment: Classic Logic and Syllogism
Practice Assignment: Classic Logic and Syllogism
Practice Assignment: Classic Logic and Syllogism
_____________________________________________________________________________________
This assignment has 2points (weightage) in your class participation.
There could be any question based on this assignment, so each student must do it on his own.
Avoid copying others, you can seek help from others, but learn and practice.
Assignment submission deadline is Tuesday 10th March 2020.
No late submissions would be accepted for any reason(s).
_____________________________________________________________________________________________
Five men with different nationalities and with different jobs live in the consecutive houses on a street. The houses
are painted in different colors. The men have different pets and have different favorite drinks. Determine who owns
a zebra and whose favorite drink is mineral water. Given these clues:
Make a table where the rows represent the men and columns represent the color of their houses, their jobs, their
pets, and their favorite drinks. Use logical reasoning to determine correct entries in the table, then determine the
values of zebra owner and person whose favorite drink is mineral water.
2. A Puzzle:
The following puzzle, titled “Malice and Alice,” is from George J. Summers’ Logical Deduction Puzzles.
Alice, Alice’s husband, their son, their daughter, and Alice’s brother were involved in a murder. One of the five killed
one of the other four. The following facts refer to the five people mentioned:
1. A man and a woman were together in a bar at the time of the murder.
2. The victim and the killer were together on a beach at the time of the murder.
3. One of Alice’s two children was alone at the time of the murder.
4. Alice and her husband were not together at the time of the murder.
5. The victim’s twin was not the killer.
6. The killer was younger than the victim.
Which one of the five was the victim?
(a) Begin by translating the five specifications into propositional formulas using four propositional variables:
L::= file system locked, Q::= new messages are queued, B::= new messages are sent to the message
buffer, N::= system functioning normally.
(b) Demonstrate that this set of specifications is satisfiable by describing a single truth assignment for the
variables L, Q, B, N and verifying that under this assignment, all the specifications are true.
(c) Argue that the assignment determined in part (b) is the only one that does the job.