Assignment No. 02
Semester: Fall 2020
CS607: Artificial Intelligence
Total Marks: 20
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
Solution is copied from any other source.
The objective of this assignment is to;
To learn creating graph from information.
To learn how to convert the expression to conjunctive normal form.
Question No. 1 Marks 10
Convert the following expression to conjunctive normal form, write all the equivalence rules that you will use to convert.
Question No. 2 Marks 10
Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.
Also write a rule with name “is-student-passed” where you will set condition on cgpa, if cgpa will be 3.5 or 3.7 then student will be passed. Write the code for this rule and run this rule.
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.