Professional Documents
Culture Documents
Assignment - 2
10812548.
RB1805A03.
Ans.1. To check whether a particular argument is valid or not, we have to construct a truth table
incorporating all possible values existing and if the tautology occurs then that argument is valid. In this
example :
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.
Ans.3. Declarative representation – It is the representation of knowledge which exists but its use or its
application is not known. When a program uses it, it will declares the right application of the knowledge
and put it into use.
Procedural representation – It is one in which the control information that is necessary to use the
knowledge is considered to be embedded in the knowledge itself and to use procedural representation
we need to augment it with an interpreter that follow the instruction given in the knowledge.
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
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).
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.