Cs607 Collection of Old Papers
Cs607 Collection of Old Papers
Cs607 Collection of Old Papers
1.U
2.¬V
3.(V → X ) → Y
4.(Y ∧ U ) → Z
b) (3+3+5 marks) The family tree below represents the relationships of a family:
A B
C D
E F G
The dotted circles correspond to female family members, while the solid circles correspond to
male family members. The arrows represent the parent-of relationship, e.g. A is a parent of F.
You can see that A is the father of F while B is the mother of F.
(iii) Give formulae using existential and universal quantifiers for the following
relationships (You can use defined predicates in subsequent formulae, e.g. you can
use the predicate father in the defining the formula daughter). All the predicates take
two arguments read as (arg1, arg2): arg1 is the <> of arg2
a. Father
b. Husband
c. Step-Father
d. Maternal Aunt (Khaala)
e. Maternal Grand Father (Naana)
f. Grand Child, by son
g. Paternal Aunt (Phopho)
c) (3+3+3 Marks) Define the following terms. Give examples to support your definitions:
2. Operator:
3. Static Evaluation
Question2
Waist is a fuzzy variable with universe of discourse 16 - 54 inches. The membership functions of
Waist are Fat, Medium and Thin. Draw these membership functions on three separate graphs.
Q#3
Your problem is to generate a 32-bit word containing all 1's. Formulate the solution as a GA.
b) (10 marks) Given the fuzzy system below, perform the inference graphically just like Matlab
for input A=0 and B=100. Briefly explain the steps you followed and how the output value of
variable Y is obtained in no more than 10 sentences. Clearly state any assumption that you take in
the inference.
Q#5
Consider the graph showing a road map for distances between cities. The values on the edges are
the distance between two adjacent cities. The values on the nodes are the under-estimates
(heuristics) of the remaining distance. Construct a tree from the given graph and find the solution
using the A* procedure considering A as the initial node, J as the destination node, and 12 as the
bound value. Eliminate the bounded subtree(s) from your solutions and only show the resultant
tree.
2
7
8 6 B 2 H
A
1
G
2 3
2 1
E
3 3
0
6C J
8 1
F
2
1
D
5
WWW.VUjannat.ning.COM
Connecting VU Students
Rule 1 Newspaper is simple, but does not cover all newspaper is below average
Rule 2 Newspaper is harder to understand, but newspaper is average
Rule 3 Newspaper is simple, And cover all newspaper average is above.
Draw graph and write down steps.
Note: Don’t use Matlab and just perform on exams software text area.
Q #2 15 marks
1-Is a computer vision possible without AI techniques?
2-Is here AI brain exists?
3-Intelligence increases by age? Write comments.
Q#3 10 marks
Prove E by using of PONENS, TOLENS, INTRODUCTION, ELIMINATION Methods
(AvB) Æ (C^-D)
-EÆ D
AvB
Q# 4 15 marks
Find S and G and Candidate Elimination Method.
D A B C YES/NO
D1 G I W 1
D2 F I W 1
D3 F J V 0
D4 G K V 1
D5 F K W 1
vujannat.ning.Com
Connecting VU Students
CS607
Final Term Examination – Spring 2006
Time Allowed: 150 Minutes
At the end of a Candidate Elimination run, the sets G and S are given as:
G = {(?, X, ?, ?)},
S = {(?, X, ?, ?)},
(i) All concepts between (?, X, ?, ?) and (P, X, M, ?) inclusive, in the generalization
hierarchy of all concepts of the particular problem.
(iv) Candidate Elimination will not converge in learning i.e. would fail.
a) How many hypothesis (concepts) are possible if we have two attributes that can take 7
values each if we are using conjunctive (AND) logic.
b) If we are using “?” and “Φ” (phi) as two values then reduce the number we will get in
part “a” as much as possible.
Question No. 3 Marks : 3
We have to prove Z
a) Solve the above Inference problem using the following inference rules: Modus Ponens,
Modus Tolens, And-Introduction and And-Elimination.
b) Solve the same Inference problem above using resolution refutation. Show all steps.
Suppose we want to build some preliminary rules for “Robot Motion Guidance System”
Rule II If In right direction the distance of front object is less then 50 meters
Then move left
Rule III If In left direction the distance of front object is less then 50 meters
Then move right
Rule IV If In left direction the distance of front object is less then 50 meters
AND In right direction the distance of front object is less then 50 meters
AND Distance of object in front is less than 15 meters
Then move backward
a) Show that the robot will stop using forward and backward chaining.
b) Implement this expert system using CLIPS code.
CS607- Artificial Intelligence
Midterm Fall2005
http://vujannat.ning.com
BEST SITE TO HELP STUDENTS
(7+7 marks). Let us define the following propositions: A=x hates studying B=x wastes
time watching movies C=x attends VU lectures D=x gets a good grade in the AI
course
i. Modus Ponens, Modus Tolens, AndElimination and AndIntroduction We know that
if a person hates studying, they waste time watching movies. We also know that if a
person does not hate studying and attends VU lectures, they will get a good grade in the
AI course. There is a student who does not waste time watching movies and attends VU
lectures, prove that this student will get a good grade in AI, using
ii. Resolution refutation. Also state, why do you think resolution refutation is a better
strategy in practical theorem provers? (6 marks). Early man discovers fire in a
simplified chemistry world:
•Prove using resolution refutation that Fred created a fire. (5+5+5 marks). Discuss
the three strategies of problem solving briefly. Give examples to support your argument
in each case.
i. Blind/UnInformed Searches
ii. Informed/Heuristic Searches
iii. Optimal Searches (8+2 marks). Run the Alpha Beta Procedure on the following
tree clearly indicating the pruned branches. Calculate the percentage of nodes on which
the static evaluation has to be computed.
vujannat.ning.com
Apply the Depth First Search on the tree given below to reach to the goal F
(Highlighted)
Show all the steps you will perform using the table, showing the nodes in Open and
Visited queue.
Describe how CNF (Conjunctive Normal Form) helps us in getting truth values of the
logical expressions in an efficient way.
Suppose,
We know that if a person hates cooking, he waste time watching movies. We also
know that if a person does not hate cooking and reads a lot of cook books, he will
make a great healthy meal everyday. Ali does not waste time watching movies and
reads a lot of cook books, prove that Ali will make great healthy meals everyday,
using
Find the parameters m and c for the line y = mx+c using a GA starting with the two
individuals in the initial population for [m c] as given below.
[1 6] [2 7]
Show at least two iterations (or few if the solution is found in fewer than two
iterations). Clearly show your working for each step. Use both crossover and
mutation. If you don’t get the desired result in two iterations, then output the [m c]
pair that gives the best solution after two iterations.