Cosc 341
Cosc 341
CHUKA UNIVERSITY
UNIVERSITY EXAMINATIONS
SECTION A
a) A CASE based Reasoning system is one example of a Knowledge Based System. Draw the
life cycle diagram of a CASE based reasoner and use to explain how such systems work.
[6 Marks]
b) Sophia the humanoid social robot has become among the most recognizable robots.
Page 1 of 4
COSC 341
ii. Referencing Sophia, identify any three reasons why social robots are importance in
the modern world. [3 Marks]
c) A burger is food. Pizza as well is food and a sandwich is food too. While a sandwich can be
taken for lunch, Pizza is best suited for dinner. However anything is a meal if at all it is food.
Create a prolog knowledge base of the given knowledge. [6 Marks]
SECTION B
a) Marcus Brutus and Julius Ceaser are reknown figures from Ancient Roman history. The
following is a fragment of knowledge from their history. “Marcus was a man. Marcus was a
Pompeian. All Pompeians were Romans. Caesar was a ruler. Marcus tried to assassinate
Caesar. All men are persons. The height of Marcus was 72”.
ii. Convert the semantic network in i) above into a prolog knowledge base [8 Marks]
b) Assuming you are developing an ecommerce website, explain how Stemming and
Lemmatization would influence the site. [2 Marks]
ii. Referencing the NLTK library, write a program that takes in an input string, performs
word tokenization and displays the output. [4 Marks]
Page 2 of 4
COSC 341
i. Identify the three types of machine learning and briefly describe each type
[6 Marks]
ii. Discuss any four broad application areas of Machine Learning [4 Marks]
b) By use of an example differentiate between proposition logic and predicate logic as methods
of knowledge representation. [6 Marks]
c) Acquiring knowledge from experts is not an easy task. Identify any four reasons why this is
so. [4 Marks]
a) Describe Searle’s Chinese room experiment and consequently discuss how it affects
Artificial Intelligence research. [8 Marks]
“IF a person has $10,000 to invest and she has a college degree, THEN she should invest
in securities. IF a person’s annual income is at least $40,000 and she has a college degree,
THEN she should invest in growth stocks. IF a person is younger than 30 and she is
investing in securities, THEN she should invest in growth stocks. IF a person is younger
than 30 and older than 22, THEN she has a college degree. IF a person wants to invest in
a growth stock, THEN the stock should be IBM.”
Assuming a certain person has $10,000 and is aged 25 years, let a rule based Artificial
Intelligence system advice the investor whether or not to invest in IBM stock by use of:
a) Allan Turing is considered among the fathers of Artificial Intelligence. Describe any two
reasons why he is considered as such. [6 Marks]
i. Term [2 Marks]
Page 3 of 4
COSC 341
Page 4 of 4