Child classes are more generalized than their associated


1. (TCO 3) Inheritance represents what kind of relationship? 
has - a
is - a
uses - a
None of the above

2. (TCO 4) Which of the following is true about inheritance? 
Child classes are more generalized than their associated parent classes.
Inheritance demonstrates the generalization/specialization relationship.
Parent classes are more specialized than their associated child classes.
Parent classes contain more functionality than child classes.

3. (TCO 4) Select the parent class. 
Circle
Shape
Cylinder
Rectangle

4. (TCO 4) Which of the following is not a good example of a hierarchy that could be modeled by inheritance? 
Person
Even numbers
Bank account
Reptile

5. (TCO 4) Which of the following examples represent(s) the "is-a" relationship in the parent/child format? 
airplanes/jet
shapes/circle
person/student
All of the above

6. (TCO 3) Which of the following are the benefits of composition? 
Systems can be tested independently.
Systems can be built independently.
Systems can be maintained independently.
All of the above

7. (TCO 3) Which of the following is true about composition? 
Composition only includes associations; it excludes aggregations.
Associations and aggregations are types of composition.
A system should be highly dependable.
Only inheritance can be represented using UML; composition cannot be represented using UML.

8. (TCO 4) What inheritance mode is the most general one? 
Private
Default
Public
Protected 

9. (TCO 4) Composition is a means of allowing _____. 
reusability in object oriented programming
objects to communicate
identification of classes
All of the above 

10. (TCO 6) _____ is the ability to combine data and operations on that data into a single unit. 
Inheritance
Encapsulation
Polymorphism
Composition

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Child classes are more generalized than their associated
Reference No:- TGS094763

Expected delivery within 24 Hours