Date post: | 09-Apr-2018 |
Category: |
Documents |
Upload: | majidvacom |
View: | 220 times |
Download: | 0 times |
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 1/13
CS607-Artificial IntelligenceFinal Term Paper
SEMESTER FALL 2005www. vujannat.ning .com
a) (5 marks) You are given the following statements:
Z U Y
Y X V
V
U
→∧
→→
¬
).(4
).(3
.2
.1
Prove E usin g resolution refutation. Show all steps. ¬
b) (3+3+5 marks) The family tree below represents the relationships of a family:
A B
F
CD
GE
H
The dotted circles correspond to female family members, while the solid circles correspond tomale 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.
In a predicate logic representation of a family, we have the following predicate format:Spouse (Symbol a, Symbol b) Arguments: a is the spouse of bMother (Symbol a, Symbol b): Arguments: a is the mother of bGender (Symbol a, Symbol b: Female/Male): b is the gender of a
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 2/13
(i) What constants would you define corresponding to the tree given?(ii) What predicates would you define for the above tree.
(iii) Give formulae using existential and universal quantifiers for the followingrelationships (You can use defined predicates in subsequent formulae, e.g. you canuse the predicate father in the defining the formula daughter). All the predicates taketwo arguments read as (arg1, arg2): arg1 is the <> of arg2a. Fatherb. Husbandc. Step-Fatherd. Maternal Aunt (Khaala)e. Maternal Grand Father (Naana)f. Grand Child, by song. Paternal Aunt (Phopho)
c) (3+3+3 Marks) Define the following terms. Give examples to support your definitions:
2. Operator:
3. Static Evaluation
Question2Waist 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.
(i) Clearly write your GA steps.
(ii) Identify the initial population, fitness function, mutation andcrossover steps.
(iii) Can w e find the solution word w ith only using crossoveroperation? Support your answer w ith arguments?
Q#4
a) (5 marks) List and explain briefly the 5 steps of fuzzy inference.
b) (10 marks) Given the fuzzy system below, perform the inference graphically just like Matlabfor 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 inthe inference.
Q#5
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 3/13
Consider the graph showing a road map for distances between cities. The values on the edges arethe 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 solutionusing the A* procedure considering A as the initial node, J as the destination node, and 12 as thebound value. Eliminate the bounded subtree(s) from your solutions and only show the resultanttree.
AB
E
C
D
F
J
G
H6 2
132
3
82
2
1
8
6
1
3
27
1
0
5
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 4/13
WWW.VU jannat.ning .C OM
Connecting VU Students
Final Fall 2007Artificial Intelligence –CS607
Q#1 Fuzzy system in the inherence method. 15 marks
Rule 1 Newspaper is simple, but does not cover all newspaper is below averageRule 2 Newspaper is harder to understand, but newspaper is averageRule 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 marks1-Is a computer vision possible without AI techniques?2-Is here AI brain exists?3-Intelligence increases by age? Write comments .
Q#3 10 marksProve E by using of PONENS, TOLENS, INTRODUCTION, ELIMINATION Methods
(AvB) (C^-D)-E DAvB
Prove E by using Refutation Method.(A vE) (-D)
-E D
Q# 4 15 marksFind S and G and Candidate Elimination Method .
D A B C YES/NOD1 G I W 1D2 F I W 1D3 F J V 0D4 G K V 1D5 F K W 1
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 5/13
vujannat.ning .Com Connecting VU Students
values each if we are using conjunctive (AND) logic.a
stion No. 2 Marks : 3
(iv) Candidate Eliminati (iii) Learning has converged to the single concept (?, X, ?, ?).
(ii) (P, X, M, T) is the final concept.
hierarchy of all concepts of the partic(i
ch one of the following is the correct interpretation of the state of learning?
a Answer the following by giving argu S = {(?, X, ?, ?)},G At the end of a Can Question No. 1
Final Term Examination – Spring 2006 Time Allowed: 150 Minutes
Marks : 1
didate Elimination run, the sets G and S are given as:
= {(?, X, ?, ?)},
ments in support of your answers.
) Are these sets possible together?
b) Whi
) All concepts between (?, X, ?, ?) and (P, X, M, ?) inclusive, in the generalizationular problem.
on will not converge in learning i.e. would fail.
(v) G and S are empty.
Que
) How many hypothesis (concepts) are possible if we have two attributes that can take 7
b) If we are using “?” and “ Φ ” (phi) as two values then reduce the number we will get inpart “ a” as much as possible.
CS607
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 6/13
a) Show that the robot will stop using forward and backw
ii. Thless th
i. There is a wall in front of robot at the distance of 10 meters.ere are two big hurdles in left and right
se e know the following facts,
Then move backward
AND In right directionAND Distance of object in front
n 50 metersIf In left direction the distance of front object is less thethe distance of front object is less then 50 m
Then move rightR
ule III If In left direction the distance of
Then move leftR
ule II If In right direction the
Then look right or leftR
ule I If Distance of object in fro
Robot Motion Guidance System
uild some preliminary rules for “ Rob
Question No. 4 Marks :
a) Solve the above Inference problem using the following inference rules: Modus PonenModus Tolens, And-Introduction and And-Elimination.
have to prove Ze
s,
b) Solve the same Inference problem above using resolution refutation. Show all steps.
1
Suppose we want to b ot Motion Guidance System ”
nt is less than 15 meters
distance of front object is less then 50 meters
front object is less then 50 meters
Rule IVeters
is less than 15 meters
Suppo w
directions of robot at the distances of an 50 meters.
ard chaining.b) Implement this expert system using CLIPS code.
W
Suppose we have the following:
Marks : 3Question No. 3
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 7/13
CS607- Artificial IntelligenceMidterm 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 AIcourse
i. Modus Ponens, Modus Tolens, AndElimination and AndIntroduction We know thatif a person hates studying, they waste time watching movies. We also know that if aperson does not hate studying and attends VU lectures, they will get a good grade in theAI course. There is a student who does not waste time watching movies and attends VUlectures, 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 betterstrategy in practical theorem provers? (6 marks). Early man discovers fire in a
simplified chemistry world:
. • IF dry stones strike each other
. • Then a spark is produced
. • Conclusion
. • When there is a spark, dry leaves and oxygen is present in theatmosphere, then there is fire.. • Encode the problem using propositions and rules.. • One day, early man Fred rubbed dry stones together near a bunch of dryleaves (of coarse there was oxygen, or Fred would not be alive).
•Prove using resolution refutation that Fred created a fire. (5+5+5 marks). Discussthe three strategies of problem solving briefly. Give examples to support your argumentin each case.
i. Blind/UnInformed Searchesii. Informed/Heuristic Searchesiii. 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 whichthe static evaluation has to be computed.
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 8/13
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 9/13
vu jannat.ning.com
Apply the Depth First Search on the tree given below to reach to the goal F(Highlighted)
Question No. 1 Marks : 10
**WARNING: Please note that Virtual University takes seriousnote of unfair means. Anyone found involved in cheating will getan `F` grade in this course.
c . Write all steps, missing steps may lead to deduction ofmarks.
b . If you believe that some essential piece of information ismissing, make an appropriate assumption and use it to solve
the problem.
a . If you think that there is something wrong with any of thequestions, attempt it to the best of your understanding.
2. Do not ask any questions about the contents of thisexamination from anyone.
1. Attempt all questions. Marks are written adjacent to eachquestion.
Please read the following instructions carefully beforeattempting any of the questions:
Time Allow ed: 90 Minutes Mid Term Examination – Spring 2006
CS607 Artificial Intelligence
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 10/13
Question No. 4 Marks : 10
Resolution refutation.i. Modus Ponens, Modus Tolens, And-Elimination and And-Introduction
We know that if a person hates cooking, he waste time watching movies. We alsoknow that if a person does not hate cooking and reads a lot of cook books, he willmake a great healthy meal everyday. Ali does not waste time watching movies andreads a lot of cook books, prove that Ali will make great healthy meals everyday,using
Y=x makes a great healthy meal everydayX=x reads a lot of cook booksV=x wastes time watching moviesU=x hates cooking
Suppose,
Question No. 3 Marks : 10
Describe how CNF (Conjunctive Normal Form) helps us in getting truth values of thelogical expressions in an efficient way.
Gives the short answer of the following:
Question No. 2 Marks : 5
Show all the steps you will perform using the table, showing the nodes in Open andVisited queue.
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 11/13
Question No. 14 Marks : 12
Question No. 13 Marks : 10
Question No. 12 Marks : 2
Question No. 11 Marks : 2
Question No. 10 Marks : 11
Question No. 9 Marks : 6
Question No. 8 Marks : 6
Question No. 7 Marks : 5
Question No. 6 Marks : 5
Question No. 5 Marks : 5
Show at least two iterations (or few if the solution is found in fewer than twoiterations). Clearly show your working for each step. Use both crossover andmutation. 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.
[1 6] [2 7]
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.
(x, y) : {(3,8) (7, 10)}
Given the two points in the x, y plane represented by (x, y) pairs as under
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 12/13
Question No. 27 Marks : 10
Question No. 26 Marks : 2
Question No. 25 Marks : 2
Question No. 24 Marks : 11
Question No. 23 Marks : 6
Question No. 22 Marks : 6
Question No. 21 Marks : 5
Question No. 20 Marks : 5
Question No. 19 Marks : 5
Question No. 18 Marks : 2
Question No. 17 Marks : 5
Question No. 16 Marks : 2
Question No. 15 Marks : 2
8/8/2019 Cs607 Collection of Old Papers
http://slidepdf.com/reader/full/cs607-collection-of-old-papers 13/13
Question No. 33 Marks : 12
Question No. 32 Marks : 10
Question No. 31 Marks : 2
Question No. 30 Marks : 2
Question No. 29 Marks : 11
Question No. 28 Marks : 12