AI TUTORIAL : 1
Q-1: WAP to
simulate medical diagnosis system.
Q-2: Define
Facts:
X
is female.
Y
is male.
X
is parent of Y.
Derive relation for
mother, father, sister, brother, grandmother, grandfather and grandchild.
Q-3: Write a program to perform this task.
raj
likes car hot_rod.
ram
likes car lemon.
raj and
ram can only buy car if it is ready for sale.
Define
predicates and appropriate rules.
Q-4: Write a prolog program to check
wheather person X can eat food Y or not if X likes Y ,X is available & Y is
eatble.
Q-5: Add User interaction in medical
diagnosis system.