Exam 2: The Concept of Object Orientation
UML models are not compatible with object-oriented languages.
False
Give an example of encapsulation in the real world.
Driving a car needs a minimum amount of skill and attention, but you may serenely ignore how the engine works and how the wheels of the car respond to the signal of the steering wheel to turn left or right. In other words, encapsulation makes complexity manageable and safe. Without it, we would be overwhelmed with so many details that we cannot hope to control.
What is the difference between encapsulation and information hiding?
The concept of information hiding is closely related to encapsulation. Together, encapsulation and information hiding turn an object into a black box. Information hiding not only conceals the complexity of the inner workings of an objects, but also protects them from careless, malicious, or unauthorized interference. Encapsulation packages data and processes into one unit and information hiding conceals them.
Features, properties, or characteristics of an object are represented by its ________.
In procedural languages, the basic building blocks of a program are ________.
A Symphony is an instance of Classical Music that descends from Music which, in turn, is a child of Art..
From UML perspective, ________ view reflects the logical view of the system.
"Instance" is used instead of the term "object" when the purpose is to emphasize the relationship between the object and the class.
Virtual objects embody the same concepts as real objects, but are created from concepts instead of giving rise to them.
Explain the difference between multiple and simple inheritance and provide one example for each.
Object-oriented analysis relies on the ________ of information systems.
How do business classes differ from utility classes? Provide one example for each.
"The employee name is Richard Smith and he checks the inventory periodically." In this sentence, "Richard Smith" is the ________ of attribute "name"
Design develops the results of analysis into a(n) ________ model for building the system.
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)