
136 Introduction to Computational Models with Python
Key Terms
models abstraction objects
collections real-world entities object state
object behavior messages attributes
operations methods functions
UML diagra m interactions method invocation
classes encapsulation information hiding
private public class specification
class implementation collaboration
8.8 EXERCISES
8.1 What are the differences between classes and o bjects? Why is an object
considered a dynamic concept? Why is the class considered a static
concept? Explain.
8.2 Explain the differences and similarities of the UML class and object
diagrams. What do these diagrams actua lly describe about an