Artificial Intelligence (CS607)
Assignment # 03
Total marks = 20
Please carefully read the following instructions before attempting the assignment.
RULES FOR MARKING
It should be clear that your assignment would not get any credit if:
The assignment is submitted after the due date.
The submitted assignment does not open or the file is corrupt.
Strict action will be taken if the submitted solution is copied from any other student or the internet.
You should consult the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in Doc or Docx format.
Any other formats like scan images, Pdf, Zip, Rar, Ppt and Bmp, etc will not be accepted.
The objective of this assignment is to;
Learn and practice basic understanding of working in CLIPS IDE.
Basic understanding of Fuzzy Inference process with its rules.
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignments in the last hour of the deadline. It is recommended to upload the solution file at least two days before its closing date.
If you find any mistake or confusion in the assignment (Question statement), please consult with your instructor before the deadline. After the deadline, no queries will be entertained in this regard.
For any query, feel free to email at:
Questions No. 01 10 Marks
You are required to write two rules one for input read and the second for input checking using CLIPS IDE.
Rule no 1:
In rule one, you are required to take input (subject name) from the user by displaying this message on the screen “Enter your subject”.
Rule no 2:
In the second rule, you are required to mention subject names “artificial intelligence”, “operating system” and “compiler construction” and check that your entered subject from the first rule matches with the mentioned subjects by displaying this message on the screen.
“Your entered subject is true”.
You are required to run the rule and display the output. Take screenshot of your CLIPS IDE and send otherwise your marks will be zero.
Question No. 2 10 Marks
You are required to think about the associated genuine factors from regular day to day proceedings:
- Room temperature measured in Fahrenheit or Celsius.
- A waiter tip depends upon a meal in the restaurant.
- News channel depends upon how much you are interested in watching it.
- A cricket ball’s speed is measured in kilometers per hour.
- The room light is estimated in what tone is on.
For each situation, propose a fuzzy variable relating to these genuine factors.