(d)
Give two reasons why the development team have chosen to use an expert system shell for their expert system, rather than using a high level language. • • •
(e)
2PS
will cut down development time since no need to plan/code/test inference engine and user interface (1 mark) since the shell is independent of knowledge base it is versatile/can be used for different domains (1 mark) accept any other valid
When searching a knowledge base, depth-first or breadth-first searches may be used. (i)
By using the diagram below
P T
S
R
B
X
A
give the order of nodes visited in: A
a depth-first search;
1KU
B
a breadth-first search.
1KU
(ii)
Explain the difference between the memory requirements for these two types of searches.
(i)
A
PTSBRXA (accept the path with repeated nodes, PTSTBTPRXRA)
B
PTRSBXA
Page 27
3PS