Page 88 - DCAP310_INTRODUCTION_TO_ARTIFICIAL_INTELLIGENCE_AND_EXPERT_SYSTEMS
P. 88
Introduction to Artificial Intelligence & Expert Systems
Notes The data and functions are represented as s – expressions which can be either atoms or
lists.
The prog function is similar to let in that the first arguments following it are a list of local
variables where each element is either a variable name or a list containing a variable
name and its initial value.
PROLOG is a logical and a declarative programming language. The name itself, PROLOG,
is short for Programming in Logic.
5.8 Keywords
Artificial Intelligence: It is a major tool for exploring and building computer programs.
Predicates: It is a function that tests their arguments for some specific condition.
Processing Sequences: It is similar to processing lists.
PROLOG: It refers to interpreted language.
Setf: It is an assignment function.
5.9 Review Questions
1. Explain LISP.
2. What do you understand by Prolog?
3. Define predicate and conditional.
4. Discuss Prolog as a Relational Language.
5. Explain with the help of example how Prolog clauses use comma sequences.
6. Write brief note on Property Lists and Arrays.
Answers: Self Assessment
1. False 2. True
3. False 4. True
5. False 6. True
7. True 8. False
9. False 10. True
11. True 12. False
13. True 14. False
15. False 16. True
17. True 18. False
82 LOVELY PROFESSIONAL UNIVERSITY