The East African University (Teau) : School of Computer Science and It
The East African University (Teau) : School of Computer Science and It
INSTRUCTIONS
1. The Paper is made up of FIVE (5) Questions, question ONE is compulsory plus any other
TWO questions.
2. Credit is given for legibility, clarity of expressions and use of relevant illustrations.
3. Clearly write your registration number on each answer sheet used.
QUESTION ONE
A→C
D→E
B∧C→F
EVF→G
i. Backward chaining [5mks]
ii. Forward chaining [5mks]
c. Show the validity of the following statements using truth tables [10mks]
i. (P v ¬P) ∧ (¬Q ∧ R)
ii. Q → (R → (¬Q ∧ P))
iii. R ∧ ((P → ¬R) ∧ (¬P → ¬R))
iv. P → (Q ∧ R)
v. P v (R → ¬Q)
QUESTION TWO
a. Using the diagram below, describe how the goal (G) is reached from A using the stated
search strategies [10mks]
6 E
5
B 8
3
8 3
A D F H
6 10 2
5
6
C
5
7
3 G
0
i. Depth first search
ii. A* search
b. Define the following terms [6mks]
i. Intelligent agent
ii. Knowledge
iii. Knowledge based system
c. State the four tasks of a knowledge engineer [4mks]
QUESTION THREE
QUESTION FOUR
a. Given the following propositional logic sentences, prove it is raining using inference rules [5mks]
b. State and explain any four components of a knowledge based system [4mks]
c. Describe each of the following knowledge acquisition methods [8mks]
d. Outline three types of knowledge based systems [3mks]
QUESTION FIVE