Professional Documents
Culture Documents
Intelligence
Assignment - 2
10812548.
RB1805A03.
X->Y says that if Paul lives in Dublin then Paul lives in Ireland which should be true
(already given)
T T T T T
F T T T T
F F T F T
It is clear from the above truth table that If Paul lives in Dublin, he lives in
Ireland. Paul lives in Ireland. Therefore Paul lives in Dublin.
T F F 3
F T F 1
F F T 2
If Box 1 is true then definitely gold is not in it and in another two. Box 3 says
that gold is in Box 2 which is false. Therefore, gold has to be in Box 3.
If Box 2 is true then Box 1 says that gold is not present in it which is
absolutely false. Therefore, gold is in Box 1.
If Box 3 is true then it says that gold is in Box 2 which will be definitely
true.
The real difference between the declarative and the procedure view of knowledge
lies in where control information resides.
T T F F T T F F F
T F F T T F F F F
F T T F T F T F F
F F T T F F F F F
T T F F F T
T F F T T F
F T T F T T
F F T T T T
T T F T T T T
T F F T F F F
F T T T T T F
F F T F T F F
T T T F T T T
T T F F T F F
T F T T F T T
T F F T F T T
F T T F F T T
F T F F F T T
F F T T F T T
F F F T F T T
Hence the above one is satisfiable.
T T T T F F
T F F T F T
F T F T F T
F F F F T T
a. ~P V Q & R S U & Q
(((~P) V( Q & R)) S ) (U & Q)
b. P &~Q V P U ~ R
((P &(~Q) )V P) (U (~ R))
c. Q V P V ~R & S ~U & P R
((Q V P) V ((~R) & S)) ( ((~U )& P) R)
2. Food (Pizza).
3. Food (Apple)
6. food (Chicken).
7. for all x, Eats(Mary, x) -> Eats(Ana, x)
From 7 & 1, it is concluded that Ana eats all kinds of foods (since she eats all
food which Mary eats who in turn likes and eats all kinds of foods). Therefore, from
2&3&5 Ana eats pizza,Apple & Chicken.
From 1 it is concluded that Mary likes all kinds of food. From 4 it is deducted that
anything which is eaten is food. As from 5 John eats chicken therefore chicken is a
kind a food. Therefore, from 1,5 &6 Mary likes chicken.