Monday 14 January 2013

Chapter 2: Introduction to Object Orientation.


True-False Questions

1.      The term object refers to an entity that encapsulates data and behavior.

Answer: True                    Page Reference:  32                           Difficulty:  Easy


2.      The state of an object is defined by the values of its methods.

Answer: False                   Page Reference:  34                           Difficulty:  Easy


3.      The property of an object that makes it distinct from other objects with the same state is called its signature.

Answer: False                   Page Reference:  36                           Difficulty:  Moderate


4.      Polymorphism refers to attributes that can have multiple values.

Answer: False                   Page Reference:  37                           Difficulty:  Moderate


5.      Polymorphic operations have identical signatures.

Answer: True                    Page Reference:  37                           Difficulty:  Moderate


6.      A component is an object’s interface.

Answer: False                   Page Reference:  38                           Difficulty:  Moderate


7.      Aggregation is a form of inheritance.

Answer: False                   Page Reference:  39                           Difficulty:  Moderate


8.      The relationship between a DVD and its constituent parts is a composition.

Answer: True                    Page Reference:  39                           Difficulty:  Moderate


9.      UML2 consists of eleven types of diagrams.

Answer: True                    Page Reference:  41                           Difficulty:  Moderate


10.  A communication diagram captures time-ordering of sequences of interactions in a system.

Answer: False                   Page Reference:  41                           Difficulty:  Moderate

No comments:

Post a Comment