8.3Functionality of Imperative Languages231fifth-generation computer. A PROLOG program is made up of three typesof statements. One type declares facts about objects and their relation-ships with and to each other. Another type defines rules about objects andtheir relationships. A third type then asks questions about the objects andtheir relationships.7LISP and PROLOG are both used in artificial intelligence applicationsdescribed in Chapter 13. As you can see, programs in these languages havelittle resemblance to the von Neumann architecture reflected in languagesin the imperative paradigm.The fourth paradigm is theobject-orientedparadigm. The object-oriented view is one of a world of interacting objects. Each object hasresponsibility for its own actions. In the imperative paradigm, data objectsare considered passive and are acted upon by the program. In the object-oriented paradigm, objects are active. Objects and the code that manipu-
This is the end of the preview.
access the rest of the document.