<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS607 Assignment 2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1929/cs607-assignment-2-solution-and-discussion">CS607 Assignment 2 Solution and Discussion</a></p>
<p dir="auto">Assignment No. 02<br />
Semester: Fall 2020<br />
CS607: Artificial Intelligence<br />
Total Marks: 20</p>
<p dir="auto">Due Date:16-12-20</p>
<p dir="auto">Instructions<br />
It should be clear that your assignment will not get any credit if:<br />
	The assignment is submitted after due date.<br />
	The submitted assignment does not open or file is corrupt.<br />
	Solution is copied from any other source.<br />
Objective<br />
The objective of this assignment is to;<br />
	To learn creating graph from information.<br />
	To learn how to convert the expression to conjunctive normal form.<br />
Assignment</p>
<p dir="auto">Question No. 1                                       Marks 10</p>
<p dir="auto">Convert the following expression to conjunctive normal form, write all the equivalence rules that you will use to convert.</p>
<p dir="auto">Question No. 2                                       Marks 10</p>
<p dir="auto">Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.<br />
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.<br />
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.</p>
]]></description><link>https://community.secnto.com//topic/2182/cs607-assignment-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 23:22:58 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/2182.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Feb 2021 07:16:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS607 Assignment 2 Solution and Discussion on Tue, 09 Feb 2021 07:19:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zaasmi" aria-label="Profile: zaasmi">@<bdi>zaasmi</bdi></a> said in <a href="/post/6462">CS607 Assignment 2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Question No. 2                                       Marks 10<br />
Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.<br />
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.<br />
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.</p>
</blockquote>
<p dir="auto"><img src="https://i.imgur.com/hVsaaUW.png" alt="35058d0e-1fd0-4068-bc61-79ab25eb6056-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/HpQh5Ji.png" alt="c3159e96-2ea5-42a1-9f26-06874d030aad-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://i.imgur.com/xwg9oKR.png" alt="01890f1e-a011-4236-b03a-bd494313f520-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a href="https://www.softpedia.com/get/Programming/Other-Programming-Files/CLIPS.shtml" target="_blank" rel="noopener noreferrer nofollow ugc">You can download CLIPS IDE from this link</a></p>
]]></description><link>https://community.secnto.com//post/6464</link><guid isPermaLink="true">https://community.secnto.com//post/6464</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Tue, 09 Feb 2021 07:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to CS607 Assignment 2 Solution and Discussion on Tue, 09 Feb 2021 07:17:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zaasmi" aria-label="Profile: zaasmi">@<bdi>zaasmi</bdi></a> said in <a href="/post/6462">CS607 Assignment 2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Question No. 1                                       Marks 10<br />
Convert the following expression to conjunctive normal form, write all the equivalence rules that you will use to convert.</p>
</blockquote>
<pre><code>a)	¬((¬p→¬q)∧¬r)
b)	(p→q)→(¬r∧q)

(a)
~((~p -&gt; ~q) ∧ ~r) ≡ ~((~~p v ~q) ∧ ~r)         [definition]
			≡ ~((p v ~q) ∧ ~r)                  [double negation]
			≡ ~(p v ~q) ∧ ~~r                  [DeMorgan’s]
			≡ ~(p v ~q) v r                         [double negation]
			≡ (~p ∧ ~~q) v r                      [DeMorgan’s]
			≡ (~p ∧ q) v r                            [double negation]
			≡ (~p v r) ∧ (q v r)                   [distributive]

(b)
(p -&gt; q) -&gt; (~r ∧ q) ≡ ~(p -&gt; q) v (~r ∧ q)     [definition]
			≡ ~(~p v q) v (~r ∧ q)     [definition]
			≡ (~~p ∧  q) v (~r ∧ q)    [DeMorgan’s]
			≡ (p ∧ ~q) v (~r ∧ q)       [double negation]
                                   ≡ (~p v q) ∧ (r v ~q)       [complementation]


</code></pre>
]]></description><link>https://community.secnto.com//post/6463</link><guid isPermaLink="true">https://community.secnto.com//post/6463</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Tue, 09 Feb 2021 07:17:25 GMT</pubDate></item></channel></rss>